Hi,

I have a few legacy scripts that I'd rather not have to update, and
wondered if it was possible to somehow control the output of the hosts
that were being monitored?

The old scripts were written for version 1.0 of nagios, probably six
years ago. The format looks like this:

[1342314314] 
SERVICE;rogue;PROCS-httpd;OK;1/5;HARD;1342314216;1342314396;ACTIVE;1;1;1;1342292439;0;OK;124332003;0;540;0;0;0;1;0;0;1;0;0.00;0;1;1;1;OK
- 16 processes running with command name httpd, UID = 48 (webd)

Perhaps there's a perl module that will parse the existing format and
put each value in a variable that I can then output to the correct
format that I need?

Any ideas greatly appreciated.
Thanks,
Alex

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to