# Fichero de configuracion base de agentes de Pandora # Base config file for Pandora agents # Version 1.1, AIX version # General Parameters # ================== server_ip pandora_server server_path /opt/pandora_server/data_in pandora_path /opt/pandora_agent temporal /opt/pandora_agent/data_out interval 300 #agent_name satellite_agent checksum 0 debug 0 # Module Definition # ================= #packets sent module_begin module_name packets_sent module_type generic_data_inc module_exec netstat -as | grep "packets sent from this host" | head -1 | awk ' { print $1 } ' module_end #packets for this host module_begin module_name packets_rcv module_type generic_data_inc module_exec netstat -as | grep "packets for this host" | head -1 | awk ' { print $1 } ' module_end #total packets received module_begin module_name packets_rcv_total module_type generic_data_inc module_exec netstat -as | grep "total packets received" | head -1 |awk ' { print $1 } ' module_end module_begin module_name process module_type generic_data module_exec ps -A | wc -l | awk '{ print $1 }' module_end module_begin module_name cpu_user module_type generic_data module_exec vmstat | tail -1 | awk '{ print $14 }' module_end module_begin module_name cpu_sys module_type generic_data module_exec vmstat | tail -1 | awk '{ print $15 }' module_end module_begin module_name disk_var_free module_type generic_data module_exec df -k | grep /var | tr -s "%" " " | awk '{ print 100 - $4 }' module_end module_begin module_name mem_free module_type generic_data module_exec vmstat | tail -1 | awk '{ print $4 }' module_end