Nagios from traces.

Chris Hartmann nagios at gnarg.org
Fri Sep 22 21:37:30 CEST 2006


Andrew Tjang wrote:
> Hello Everyone,
> 
> I am trying to get Nagios to read from traces. I'm having difficulty on
> figuring out where to begin. 
> 
> I want to do this because I don't have direct access to the machines
> i'll be monitoring. I need to periodically ship the monitored data from
> the hosts to the nagios machine, parse the files and then update nagios.
> The parsing part I think i can do fine. It's the part that involves
> modifying Nagios to read from file rather than query hosts that I need
> help with. 
> 
> I'd like to keep the same config file format, but just modify the
> monitoring sections to read from file based on those configs. Is there
> any place you could recommend that I start looking?

I don't know what traces is, but if you need to parse logs on the local
machine just write a check_... plugin which does this, returns
OK/WARNING/CRITICAL upon the parse result and returns CRITICAL if the
file is not updated since a configurable time.

> Thank you in advance for your assistance,
> -Andrew

Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list