Reading state of a contactgroup?

Andreas Ericsson ae at op5.se
Thu Sep 8 11:04:12 CEST 2005


Morten Guldager wrote:
> On 9/8/05, Sébastien Barbereau <barbereau at gmail.com> wrote:
> 
>>I think you should have a look at the "status_file" variable from your main
>>configuration file ...
> 
> 
> As far as I can tell the status_file only contains information on
> hosts and services. I need something "collected".
> My 3 contactgroup's contains multiple objects each, I need only one
> traffic light for each contactgroup, telling something about the
> "worst" condition in that particular group.
> 

Assuming the contacts in those different contactgroups are only contacts 
for the hosts they manage, the current Nagios gui will do this for you 
(but in greater detail) on the tactical overview, so why fiddle with 
extra scripts?

> 
> /Morten %-)
> ----------------------------------------------------------------------------
> 
>>On 9/8/05, Morten Guldager <morten.guldager at gmail.com> wrote: 
>>
>>>Aloha!
>>>
>>>I have divided our objects in 3 categories: unix-oper, windows-oper
>>>and network-oper.
>>>
>>>Then I have defined 3 corresponding contactgroup's.
>>>
>>>Now I would like to implement 3 "traffic light's" in our main control
>>
>>center.
>>
>>>Red     : One or more UN-acknowledged Critical errors
>>>Yellow : One or more acknowledged Critical error 
>>>Green  : No errors
>>>
>>>But I cant figure out where read the state information in nagios.
>>>Maybe it does not exists at all. (on the contactgroup level)
>>>
>>>Suggestions?
>>>
>>>--
>>>/Morten %-)
>>>
>>>
>>>------------------------------------------------------- 
>>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>
>>Practices
>>
>>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>>_______________________________________________
>>>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
>>>
>>
>> 
> 
> 
> 

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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