Adding host commands
Marc Powell
marc at ena.com
Wed Jul 7 17:53:33 CEST 2004
Per-Henrik Persson <mailto:ph at whatever.nu> wrote:
> Hi!
>
> I want to add some admin commands to the host commands list (like
> reboot server) for certain hosts. Is there an easy way or do I have
> to modify the source code? I have searched the list achives without
> success.
You can either modify the source to include them in the built in list
_or_ you can you the Host/Service extended info feature to create a
notes_url with any additional information and host/service specific
commands you feel are lacking. The latter course of action is probably
easier and more flexible in the long run.
--
Marc
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list