how to get the current temp in a warning message sent

Randy Paries rtparies at gmail.com
Mon Nov 19 22:28:19 CET 2007


Hello,
I have the following service:
====================================================
define service{
        use                                generic-service
        host_name                      bart
        service_description           Probe #1 Temperature
        is_volatile                        0
        check_period                   24x7
        max_check_attempts       2
        normal_check_interval      5
        retry_check_interval         1
        contact_groups                all_admins
        notification_interval           120
        notification_period             24x7
        notification_options           w,u,c,r
        check_command              check_temptraxf!/dev/ttyS0!1!74!78
        }
====================================================

when i get a warning i get the message below. Is there a way to
include the current temp in the warning?
thanks for any help

====================================================
***** Nagios  *****

Notification Type: PROBLEM

Service: Probe #1 Temperature
Host: Bart #1
Address: 192.168.0.214
State: WARNING

Date/Time: $

Additional Info:

$
====================================================

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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