I'm a newbie talking about Nagios, but I've been asked about its functionality. We have a Syslog system that centralizes all syslog events in one server. I've been trying to use check_logfiles, but I would need a check for each line and it is too difficult to define a pattern.
My boss would like to parse all the info that syslogs have in each line into a table, but I don't know if there's a way to do it in Nagios. As far as I know, we could develope a plugin and Nagios collects the exit status to show OK, WARNING, CRITICAL or UNKNOWN and shows a line in Status cell, right? Could I parse more info? Could you aim my search in that way? Any example doing such a thing or similar?
Thanks in advance!!!
Parsing status info into tables?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Parsing status info into tables?
Yep, here is the developers guiderpacheco wrote:s far as I know, we could develope a plugin and Nagios collects the exit status to show OK, WARNING, CRITICAL or UNKNOWN and shows a line in Status cell, right?
http://nagiosplug.sourceforge.net/devel ... lines.html