You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And if you define the command like that you can in your host or wathever do;
define service {
use your-service-type
service_description Do something
check_command greplin_check!testservice
}
A little more convenient than declaring a command per greplin-check.
The text was updated successfully, but these errors were encountered:
Would be cool If you could document that you can do something like this;
/usr/lib/nagios/plugins/check_testservice.py
def check(args):
...
print "Ok. this works"
commands.cfg
define command{$USER1$ /check.sh $ARG1$
command_name greplin_check
command_line
}
And if you define the command like that you can in your host or wathever do;
define service {
use your-service-type
service_description Do something
check_command greplin_check!testservice
}
A little more convenient than declaring a command per greplin-check.
The text was updated successfully, but these errors were encountered: