combining more than one status.dat file...

Ray Kiddy ray at ganymede.org
Sat Nov 20 21:41:56 CET 2010


On Nov 19, 2010, at 10:08 PM, Rutger Blom wrote:

> Hi,
> 
> I would really suggest you have a look at check_mk and multisite. This
> Nagios addon supports having multiple Nagios servers in one management
> interface.
> http://mathias-kettner.de/checkmk_multisite.html
> 
> /Rutger
> 

This seems to be a larger solution than I am seeking. I am still thinking a ten-line script that grabs some status.dat files, matches on a regex to rename services and combines the files will work.

Any reason why not?

- ray

> On Saturday, November 20, 2010, Ray Kiddy <ray at ganymede.org> wrote:
>> 
>> I have an idea on how to get a sort of distributed nagios to work. It actually seems simple. MaybeI am not seeing something. Maybe someone here knows a reason this will not work.
>> 
>> I have a nagios server here. It is watching some things in about a dozen data centers around the world. There is a nagios running in China and another one running in Ankara, as well.
>> 
>> I want to see, in one interface, how all three of these nagios servers see things. I think I should be able to take the status.dat here, take the status.dat from Ankara (with a "_tr" added to the service names), take the status.dat from China (with a "_cn" added to the names of the services), and put these all three together into the one status.dat file here. I figure I have to do it in such a way that I do not get into a race condition with the nagios server itself, but other than that, what is the problem with this?
>> 
>> I had asked for this kind of thing before. With our nagios server, we can see if the cn servers are up, but we care a lot more about whether the cn servers are up for the cn customers. It does not matter how the CN-US link is behaving. So, if the cn servers look to be down, but Ankara can see them, we know there is no problem.
>> 
>> This just seems to be a really simple way to get this. But, given the complexities of some of discussions about this stuff, I am dubious. If it was this simple, it would be documented, and even talked about, no? I am sure I am not the only one who wants this. Any thoughts?
>> 
>> thanx - ray
>> 
>> 
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> _______________________________________________
>> 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
>> 
> 
> -- 
> Rutger Blom
> Luzernvägen 14
> 227 38 LUND
> Sweden
> Tel. +46 763 46 99 44
> www.rutgerblom.com
> about.me/rutgerblom
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> 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


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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