Include extra information on service alert

Tim AtLee T.AtLee at cfertech.com
Thu Aug 30 18:17:26 CEST 2012


Hello

Mdadm on one specific host has been reporting failed disks, and falling over to the spare.  I get an event notification when this happens (Nagios no longer sees 2 devices in the U state), but I would like to include the output of cat /proc/mdstat with the email notification.

I am thinking that the best approach is to write a custom notification command to include this data, but I'm not sure if there are already hooks for this already.

I am using Nagios within OMD and CheckMK.

Thanks in advance,

Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120830/d9e4264e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list