Newbie: How to calculate within Nagios?

Marc Powell marc at ena.com
Wed Aug 29 21:40:58 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Zembower, Kevin
> Sent: Wednesday, August 29, 2007 1:54 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Newbie: How to calculate within Nagios?
> 


> My question is, should I just hard-code the values in the email
message
> ("Warning: the server room temperature exceeds 80 F.") or could I
> calculate within Nagios and say "Warning: the server room temperature
is
> XX F." If I can calculate within Nagios, please point out an example
in
> the documentation or other source.

Nagios can't perform calculations of any kind. Since you seem to just
want the data manipulated in your notification e-mails, the notification
script would seem to be the best place to make that substitution.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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