All,
I wrote a script that accepts arguments depending on the content it is
checking for. Using nagios web under the "Service Details" section of a
host I see there is a section named:
Check Command Args
(use : to separate args):
If I have a script called check_service (for example) and it accepts an
argument (-s <some string>) can I pass set this argument in the "Check
Command Args" field? My check command is generic and my hope is to let
the arguments be passed on a per host basis. This means one check
command can check this particular service and the minor variances from
one host to the next can be handled via the arguments passed to the
check_command/script.
Regards,
Harison
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null