log to database

Andreas Ericsson ae at op5.se
Wed Feb 2 01:29:55 CET 2005


Dan Stromberg wrote:
> On Wed, 2005-02-02 at 01:19 +0100, Andreas Ericsson wrote:
> 
>>Sandoval, Julio wrote:
>>
>>>Thank,
>>>I´m not familiarized with developer script, but i have been looking for documentation without success
>>>
>>>I really need to have availability of a hostgroup considering down when one or more host are down. 
>>>For this i thought to turn logfile to database.
> 
> 
> You're probably better off having one -host- (OK, a pseudo-host) for the
> group of hosts you want to consider, and aggregate them using
> check_cluster or check_cluster2.  I prefer check_cluster2.
> 
> I have a web page about how to set it up at:
> 
> http://dcs.nac.uci.edu/~strombrg/nagios-check_cluster2.html
> 
> HTH.
> 

If you're using PING to determine host status you could also use 
check_icmp and simply specify all the IP's on the command line. Make 
sure to pump up your -t option accordingly.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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