check_xi_service_snmp_linux_load issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

check_xi_service_snmp_linux_load issue

Post by ahmad.zuhd »

I have an issue when using the check_xi_service_snmp_linux_load check as below:

Code: Select all

Command view
$USER1$/check_snmp_load_wizard.pl -H $HOSTADDRESS$ $ARG1$

Code: Select all

$ARG$ =  -C public --v2c -w 80 -c 90 -T netsc -f
according to the help of the command check_snmp_load_wizard.pl,
netsc : cpu usage given by net-snmp (100-idle)
the problem is that a critical alarm is sent many times because the result is 100.

Is there any fix to the command or workaround?
Last edited by ahmad.zuhd on Tue Aug 06, 2013 1:43 am, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_xi_service_snmp_linux_load issue

Post by scottwilkerson »

Can you try

Code: Select all

$ARG1$ =  -C public --v2c -w 80 -c 90 -T stand -f
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_xi_service_snmp_linux_load issue

Post by abrist »

Is the system in question running at 100% load most of the time?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

Re: check_xi_service_snmp_linux_load issue

Post by ahmad.zuhd »

No its idle. As I mentioned previously this is the normal plugin output when the system is idle
Last edited by ahmad.zuhd on Tue Aug 06, 2013 1:45 am, edited 2 times in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_xi_service_snmp_linux_load issue

Post by abrist »

What was the output of Scott's command?

Code: Select all

$ARG1$ =  -C public --v2c -w 80 -c 90 -T stand -f
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

Re: check_xi_service_snmp_linux_load issue

Post by ahmad.zuhd »

It returns error of not available object. If you need the exact output I can connect to site later today and get the output.
This option is not computable with the server I'm monitoring
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_xi_service_snmp_linux_load issue

Post by scottwilkerson »

Can you send the full output you are getting with your original command
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_xi_service_snmp_linux_load issue

Post by lmiltchev »

Yes, show the exact command from the command line, along with the output of it (hide sensitive info). For example, you may have something like this:

Code: Select all

/usr/local/nagios/libexec/check_snmp_load_wizard.pl -H 192.168.x.x  -C <community> --v2c -w 80 -c 90 -T stand -f
1 CPU, load 12.0% < 80% : OK | cpu_prct_used=12%;80;90
Be sure to check out our Knowledgebase for helpful articles and solutions!
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

Re: check_xi_service_snmp_linux_load issue

Post by ahmad.zuhd »

Code: Select all

[root@nms libexec]# ./check_snmp_load_wizard.pl  -H <ip-address> -C public --v2c -w 80 -c 90 -T netsc -f
CPU used 3.0% (<80) : OK | cpu_prct_used=3%;80;90
[root@nms libexec]#
[root@nms libexec]# ./check_snmp_load_wizard.pl  -H <ip-address> -C public --v2c -w 80 -c 90 -T stand -f
Can't find CPU usage information : UNKNOWN
[root@nms libexec]# 
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_xi_service_snmp_linux_load issue

Post by lmiltchev »

It seems the check below works fine in your environment:

Code: Select all

[root@nms libexec]# ./check_snmp_load_wizard.pl  -H <ip-address> -C public --v2c -w 80 -c 90 -T netsc -f
CPU used 3.0% (<80) : OK | cpu_prct_used=3%;80;90
The load is 3.0... how often does it get 100?
the problem is that a critical alarm is sent many times because the result is 100.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked