I 've using Nagios XI 5.2.9 and getting strange issue with snmp checks:-
when i execute the command from bash sheel, it works fine and display result but when executed from XI, it get executed but without any result..
eg( from command shell):-
Code: Select all
id && /usr/local/nagios/libexec/check_netapp_ontap.pl -H HOST -u USER -p PASSWORD -c public -o interface_health desc
uid=500(nagios) gid=500(nagios) groups=500(nagios),501(nagcmd)
sess103/esealna004esealna004_lif1 home is sess103 but current node is sess104Command description:-
Code: Select all
$USER1$/check_netapp_ontap.pl -H $HOSTADDRESS$ -u USERNAMEXX -p $USER3$ $ARG1$ $ARG2$ $ARG3$ ; -n vhost/cluster-nodeCode: Select all
$USER1$/check_netapp_ontap.pl -H $HOSTADDRESS$ -u USERNAMEXX -p $USER3$ $ARG1$ $ARG2$ $ARG3$ ; -n vhost/cluster-node
$ARG1$= -c public, $ARG2$=-o interface_health desc Code: Select all
Netapp : LIF state Ok 18m 6s 1/3 2016-10-05 16:40:30 OK - No problems found (0 checked)To troubleshoot, can you tell me how to get what exact command XI is submitting to CORE?" sess103/esealna004esealna004_lif1 home is sess103 but current node is sess104"