Parsing status info into tables?
Posted: Thu Sep 06, 2012 6:29 am
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!!!
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!!!