Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Thibow
Script qui fait ce qu'on lui demande :-)
I used this script with Centreon, and for execute it, add this line on header script:
#!/usr/bin/php
Delete your php calling in Nagios command line :
define command{
command_name check_terastation_storage
command_line $USER1$/check_terastation_storage.php $HOSTADDRESS$ $USER2$ 5 2
}
$USER1$ = Path to plugin
$USER2$ = community
5 and 2 = warning and critique value
Freindly,
I used this script with Centreon, and for execute it, add this line on header script:
#!/usr/bin/php
Delete your php calling in Nagios command line :
define command{
command_name check_terastation_storage
command_line $USER1$/check_terastation_storage.php $HOSTADDRESS$ $USER2$ 5 2
}
$USER1$ = Path to plugin
$USER2$ = community
5 and 2 = warning and critique value
Freindly,
byThibow, February 10, 2013
Hello,
This PHP script is a good idea, but you don't take to consider a cache directory.
If you want to evolve your script, add a exeption list of directory before create your hash control.
This PHP script is a good idea, but you don't take to consider a cache directory.
If you want to evolve your script, add a exeption list of directory before create your hash control.