Hi All

I'm sending nagios logs to a 3rd party application (Netcool) for processing, 
and there is a requirement for the IP address of the monitored device to appear 
in the ALERT and NOTIFY log lines for host and service statuses. Where would I 
adjust which fields appear in the nagios log lines?

A typical host ALERT log line on my installation looks like this:

---
Mar 17 11:51:42 nagserver nagios: HOST ALERT: <hostname-x>;UP;SOFT;2;PING OK - 
Packet loss = 0%, RTA = 260.81 ms
---

I'd like an extra field to appear after <hostname-x> indicating the IP of the 
host. If possible, I'd even like to insert  $PARENT for the host as a field 
somewhere here.

Thanks in Advance
Traiano
________________________________
NOTE: This e-mail message and all attachments thereto contain confidential 
information intended for a specific addressee and purpose. If you are not the 
addressee (a) you may not disclose, copy, distribute or take any action based 
on the contents hereof; (b) kindly inform the sender immediately and destroy 
all copies hereof. Any copying, publication or disclosure of this message, or 
part hereof, in any form whatsoever, without the sender's express written 
consent, is prohibited. No opinion expressed or implied by the sender 
necessarily constitutes the opinion of MTN. This message does not constitute a 
guarantee or proof of the facts mentioned herein. No Employee or intermediary 
is authorised to conclude a binding agreement on behalf of MTN Group Limited, 
or any of its subsidiary companies, by e-mail without the express written 
confirmation by a duly authorised representative of MTN Group Limited.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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