SNMP Process/CPU Check Error
Posted: Tue Nov 13, 2012 1:35 pm
I am having trouble pulling process/cpu information for a specific process. On our Linux server we have two processes that have the same name but use different arguments. We are using the check_snmp_process_wizard.pl plug-in/script and the following syntax to identify each process:
./check_snmp_process_wizard.pl -H 192.168.2.101 --v2c -C Public -f -A -n '/opt/test/bin/check/test/test -l /opt/test/bin/test/config -c test.xml' -u 195,200
This works great for up/down and memory usage but returns No data for CPU (1 lines(s)):UNKNOWN when using the CPU check.
I tried editing the my $delta_of_time_to_make_average in the script but it doesn't seem to make a difference. Is there any way to obtain CPU data for a process this way?
./check_snmp_process_wizard.pl -H 192.168.2.101 --v2c -C Public -f -A -n '/opt/test/bin/check/test/test -l /opt/test/bin/test/config -c test.xml' -u 195,200
This works great for up/down and memory usage but returns No data for CPU (1 lines(s)):UNKNOWN when using the CPU check.
I tried editing the my $delta_of_time_to_make_average in the script but it doesn't seem to make a difference. Is there any way to obtain CPU data for a process this way?