Page 1 of 1

Performance graphs stop working on check_snmp_storage_wizard

Posted: Thu Mar 02, 2017 7:04 am
by spurrellian
Hi,

I've noticed that everytime we update the check_snmp_storage_wizard.pl component in Nagios XI performance graphs stop being produced.

I have to go in and manually edit the command and add -f for them to start working again.

Code: Select all

$USER1$/check_snmp_storage_wizard.pl -H $HOSTADDRESS$ $ARG1$ -f
Is this a bug with the plugin or my system? I'm using Linux SNMP config wizard 1.5.2

Thanks

Paul

Re: Performance graphs stop working on check_snmp_storage_wi

Posted: Thu Mar 02, 2017 2:05 pm
by lmiltchev
I've noticed that everytime we update the check_snmp_storage_wizard.pl component in Nagios XI performance graphs stop being produced.
Can you elaborate on that? Do you mean you are updating the check_snmp_storage_wizard.pl plugin? What is the plugin's version that you are currently using? Run the following command and show the output:

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -V
We definitely don't remove the "-f" flag from the checks... In fact, I just ran the Linus SNMP wizard and the newly created services all had "-f" added to them, with the exception of the "Linux Process" check. I am also using ver. 1.5.2 of the wizard.

Re: Performance graphs stop working on check_snmp_storage_wi

Posted: Fri Mar 03, 2017 4:14 am
by spurrellian
lmiltchev wrote:
I've noticed that everytime we update the check_snmp_storage_wizard.pl component in Nagios XI performance graphs stop being produced.
Can you elaborate on that? Do you mean you are updating the check_snmp_storage_wizard.pl plugin? .
When you run an update from 'Manage Config Wizards' - 'Check for Updates'




lmiltchev wrote:
What is the plugin's version that you are currently using? Run the following command and show the output:

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -V

Code: Select all

./check_snmp_storage version : 1.3.3

Re: Performance graphs stop working on check_snmp_storage_wi

Posted: Fri Mar 03, 2017 3:11 pm
by tgriep
Actually, when you do upgrade the Wizards, any of the commands they use are put back to default so when the wizard it run, it uses the correct command. This is what removed the -f from the command.
To fix this on existing service checks, edit the service checks and add the -f to those arguments and they will continue to work after the wizard it upgraded in the future.
FYI, if you do run the wizard now, it will add the -f option to the service check so that it why it is not used in the command.