Page 1 of 1

ERROR: Description/Type table : No response from remote host

Posted: Tue Dec 16, 2014 11:43 am
by dsolberg
Greetings,

I am in the tail end of migrating from our current Nagios installation to Nagios XI 2014R2.0 and having an issue with one of my commands on one of my hosts. I am using this command on our previous Nagios installation to the same server without any issues. I also have this command running to other hosts on the new Nagios without any issues.

I have deleted the imported host and service checks and have recreated them with the same result.

The service check I am attempting:
define service {
host_name mr1
service_description root
use solaris-service-dev
check_command check_storage!public!85!90!^/$!!!!
register 1
}

Which translate to the following command via the GUI:
$USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ -m $ARG4$ -f

$ARG1$ public
$ARG2$ 85
$ARG3$ 90
$ARG4$ ^/$

When I select the "Test Check Command" button, it have a positive response. But on the main Nagios XI console it reports back "ERROR: Description/Type table : No response from remote host"

If I run the following commands from the Nagios server, both by name and IP, I get positive responses as well.
snmpwalk -v2c -c public mr1
snmpwalk -v1 -c public mr1

Also if I run the following command from the server, I also get a positive response.

/usr/local/nagios/libexec #./check_snmp_storage.pl -H mr1 -C public -m "^/$" -w 85 -c 90
/: 5%used(13175MB/246581MB) (<85%) : OK

Any assistance would be appreciated.

Thanks,
Don

Re: ERROR: Description/Type table : No response from remote

Posted: Tue Dec 16, 2014 12:01 pm
by lmiltchev
Do you have the $ARG4$ value wrapped in double quotes in the CCM (Service Management)? Do you see this: "^/$" or this ^/$ in the $ARG4$ field?

Re: ERROR: Description/Type table : No response from remote

Posted: Tue Dec 16, 2014 12:07 pm
by tgriep
Try putting the quotes in for $ARG4$ in your check command. Change it to this "^/$" and see it that works for you.

Re: ERROR: Description/Type table : No response from remote

Posted: Tue Dec 16, 2014 12:18 pm
by dsolberg
OK, Major Duh... used VIP instead of physical IP. Working great now, sorry to bother.... :oops:

Re: ERROR: Description/Type table : No response from remote

Posted: Tue Dec 16, 2014 1:20 pm
by cmerchant
No worries. We'll go ahead and close this. Thanks.