From 66a875017e44cf1ce7b6ec698804836b9a9692cd Mon Sep 17 00:00:00 2001 From: slerena Date: Thu, 2 Aug 2007 08:49:25 +0000 Subject: [PATCH] 2007-08-02 Sancho Lerena * bdf_ipso/pandora_agent.conf: Some modules updated. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/ChangeLog | 4 ++++ pandora_agents/bsd-ipso/pandora_agent.conf | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 14962fa80c..299a13445f 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,7 @@ +2007-08-02 Sancho Lerena + + * bdf_ipso/pandora_agent.conf: Some modules updated. + 2007-08-01 Sancho Lerena * bsd_ipso/*: Some fixes. Added harm_mode to avoid be unpolite diff --git a/pandora_agents/bsd-ipso/pandora_agent.conf b/pandora_agents/bsd-ipso/pandora_agent.conf index 0349832092..53a1c644b3 100755 --- a/pandora_agents/bsd-ipso/pandora_agent.conf +++ b/pandora_agents/bsd-ipso/pandora_agent.conf @@ -90,7 +90,19 @@ module_end module_begin module_name load_avg module_type generic_data -module_exec uptime | tr -d "," | awk '{ print $9 }' +module_exec uptime | tr -d "," | awk '{ print $11 }' +module_end + +module_begin +module_name fwd_CPU +module_type generic_data +module_exec ps aux | grep "fwd (fw)" | grep -v grep | awk '{ print $3 }' +module_end + +module_begin +module_name nat_cache_stat +module_type generic_data +module_exec fw tab -t fwx_cache -s | tail -1 | awk '{ print $4 }' module_end