Hi - I've had a request to perform a logfile check on a server 3 times a 
day, the requestor though has stated that they would like an email 
notification if the plugin runs successfully and as such the return code 
will be zero (0). To me this seems a little back to front - they want the 
email notification just for the comfort factor that something was ok in 
the early hours of the morning when no one is actually in the office to 
see the monitoring screens.

The plugin would for example run at 1:15am and check a logfile for a given 
string of text and if found return a 0 / OK STATE - if this happens we 
want an email notification to be sent out.

So does anyone know if this is possible or have done something like this 
and if so how was this done?

Thanks - Julian.

Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing
T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527
-----------------------------------------------

Consider the environment: Please don't print this e-mail unless you really need 
to.

Confidentiality:  This email and its attachments are intended for the above 
named only and may be confidential.  If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.

Viruses:  Although we have taken steps to ensure that this email and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure that they are actually 
virus-free.

Brokerage services provided by TD Direct Investing (Europe) Limited (a 
subsidiary of The Toronto-Dominion Bank).  Authorised and regulated by the 
Financial Services Authority (FSA registered number 141282), member of the 
London Stock Exchange and the PLUS market. Incorporated in England and Wales 
under registration number 2101863.  Registered office: Exchange Court, Duncombe 
Street, Leeds LS1 4AX. Banking services provided by TD Bank N.V. authorised and 
regulated by De Nederlandsche Bank and the Financial Services Authority for UK 
Business (FSA registered number 216791).  Incorporated in the Netherlands and 
registered as a branch in England and Wales under branch registration number 
BR006780.

------------------------------------------------
------------------------------------------------------------------------------
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