Page 1 of 1

Error

Posted: Thu May 29, 2014 10:45 pm
by shailesh.vishe
Error: Service check command 'php check_terastation_storage.php 172.16.81.26 public 10 5' specified in service 'check_terastation_storage' for host 'BKP_NAS' not defined anywhere!

Re: Error

Posted: Fri May 30, 2014 9:28 am
by tmcdonald
You need to create a command for that php script like so:

Code: Select all

define command {
  command_name    check_terastation_storage
  command_line    /usr/bin/php /usr/local/nagios/libexec/check_terastation_storage.php 172.16.81.26 public 10 5
}
Of course change the paths according to your own environment. Then you will need to apply that command to your service as usual.

http://nagios.sourceforge.net/docs/3_0/ ... ml#command