nagios xi check_disk unknown argument
Posted: Fri Oct 21, 2016 1:25 pm
I've downloaded your nagios xi vm, setup another host to monitor, installed nrpe on this other host. I am receiving an error when trying to monitor via nagios interface. I'm able to run it manually from both servers on the command line but not through the nagios webpage (http://<ipaddress>/nagiosxi/#). Any ideas on why this won't work?
check_nrpe!check_disk!20%!10%!/
Oct 21 12:25:08 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;10.100.11.36;Disk Usage;UNKNOWN;xi_service_notification_handler;Unknown argument
-- nagios host
[root@localhost nagios]# /usr/local/nagios/libexec/check_nrpe -H 10.100.11.36 -t 30 -c check_disk -a '20%' '10%' '/'
DISK OK - free space: / 7390 MB (84% inode=86%);| /=1375MB;7406;8332;0;9258
-- other host trying to monitor
root@d-gp2-couch-1:/etc/nagios# /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /
DISK OK - free space: / 7390 MB (84% inode=86%);| /=1375MB;7406;8332;0;9258
check_nrpe!check_disk!20%!10%!/
Oct 21 12:25:08 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;10.100.11.36;Disk Usage;UNKNOWN;xi_service_notification_handler;Unknown argument
-- nagios host
[root@localhost nagios]# /usr/local/nagios/libexec/check_nrpe -H 10.100.11.36 -t 30 -c check_disk -a '20%' '10%' '/'
DISK OK - free space: / 7390 MB (84% inode=86%);| /=1375MB;7406;8332;0;9258
-- other host trying to monitor
root@d-gp2-couch-1:/etc/nagios# /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /
DISK OK - free space: / 7390 MB (84% inode=86%);| /=1375MB;7406;8332;0;9258