TOP LEVEL CATEGORIES
EXPLORE
Description:
A perl script that checks the CPU (or M/B) temperature with lm-sensors. Default is to check the CPU temperature but this can be changed to check any temperature returned by sensors with an argument. The plugin complies with the guidelines, for example uses -w -c -v arguments etc. It also does some basic sanity checks and has an exit 3 catchall. ############################################### # To get the Temps from each core one per line: # Be sure to edit /etc/nagios/objects/commands.cfg and change notify-service-by-email to this: # command_line /usr/bin/printf “%b” “***** Nagios *****nnNotification Type: $NOTIFICATIONTYPE$nnService: $SERVICEDESC$nHost: $HOSTALIAS$nAddress: $HOSTADDRESS$nState: $SERVICESTATE$nnDate/Time: $LONGDATETIME$nnAdditional Info:nn$SERVICEOUTPUT$n$LONGSERVICEOUTPUT$n” | /bin/mail -s “** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **” $CONTACTEMAIL$ # notice the addition of $LONGSERVICEOUTPUT$n to the end of the message. ###############################################
Current Version
1.3
Last Release Date
2011-05-18
Compatible With
Owner
Chad Columbus
License
GPL
Version 1.3 Fix degree taking up 2 digits on some OSs
You must be logged in to submit a review.
Your review has been submitted and is pending approval.
To:
From:
Your recommendation has been sent.