Error
-
shailesh.vishe
- Posts: 1
- Joined: Thu May 29, 2014 10:40 pm
Error
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
You need to create a command for that php script like so:
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
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
}http://nagios.sourceforge.net/docs/3_0/ ... ml#command
Former Nagios employee