Manual only check and file copy

Marc Powell marc at ena.com
Wed Oct 31 20:20:26 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of aragonx at dcsnow.com
> Sent: Wednesday, October 31, 2007 2:02 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Manual only check and file copy
> 
> I would like to have two things that an administrator could do with my
> Nagios monitoring system.
> 
> 1)  I would like to be able to launch a check manually only.  I know I
can
> disable active checks then reschedule a check and disable it again.
This
> looks really ugly.  Is there another way to do this that would be more
> simple?

Leave active checks enabled but set a check_period of none (a standard
timeperiod definition).
 
> 2)  I would like to be able to copy a file to all members of a host
group.

Sounds like a job for cfengine or the like _but_, if this were a
recurring task, a custom plugin that scp'd the file then reported
success or failure using plugin guidelines might do. Set that as the
check_command in a service definition assigned to all members of the
hostgroup. Kind of like using a fork to eat ice cream though. It'll
work, but not as good as a spoon.

--
Marc 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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