Page 3 of 3
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 4:31 pm
by jomann
rkobliski wrote:./check_ifoperstatus -k 10 -v2 -H 172.25.10.1 -C ATNI
WARNING: SNMP error: No response from remote host '172.25.10.1'
no change, what is the difference between 5 and 2014r2.7 for this command????
Did you run this on the command line?
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Wed Oct 14, 2015 7:30 am
by rkobliski
last command was run via cmd line...
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Wed Oct 14, 2015 8:24 am
by rkobliski
./check_ifoperstatus -k 10 -v2 -H 172.25.10.1 -C ATNI! <----missing exclamation from previous command but exist via web check.. check_xi_service_ifoperstatus!ATNI!!10!-v2 which fails..
OK: Interface pime (index 10) is up.
Wondering how it handles the double exclamation????? maybe needs some type of seperator..
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Wed Oct 14, 2015 3:40 pm
by hsmith
I'm a little unclear on what is happening here. Are you saying that if you run it via the command line with the !'s it works? The exclamation point is how we separate arguments in the service definition. You shouldn't need them at all when testing via command line.
Here is what I would like from you:
- The service definition of one of the checks that is failing.
- What command you ran via the command line to make it works.
- Inside of your commands.cfg, I would also like to see the check_xi_service_ifoperstatus command definition.
Thanks.
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Thu Oct 15, 2015 7:55 am
by rkobliski
Our community name ends with the Exclamation point... i had previously cut and pasted the command and missed it. Community name is ATNI!
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Thu Oct 15, 2015 9:54 am
by hsmith
Do you have those definitions I can take a look at? The exclamation point is surely going to confuse XI inside of the service definition since that's the character we use to separate arguments.
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Thu Oct 15, 2015 10:40 am
by rkobliski
i think i am going to request them change the last character to something else, don't need the aggravation. upgraded to unlimited license and just have to much to do to be stuck here.... Thank you for your support
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Thu Oct 15, 2015 10:43 am
by hsmith
All right, let us know if we can help you with anything else. Do you want me to close this topic?
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Thu Oct 15, 2015 10:46 am
by rkobliski
yes