Build precise queries to find exactly what you need
Press ESC to close
But the installation note needs some modification, otherwise, the email subject/body will not be correct.
Modified version: *)notify-host-by-email
command_line /usr/bin/python /usr/lib64/nagios/plugins/send_gmail.py -a $CONTACTEMAIL$ -b “***** Nagios *****nnnnnnNotification Type: $NOTIFICATIONTYPE$nnnHost: $HOSTNAME$nnnState: $HOSTSTATE$nnnAddress: $HOSTADDRESS$nnnInfo: $HOSTOUTPUT$nnnDate/Time: $LONGDATETIME$” -s “** Nagios $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **”
*) notify-service-by-email
command_line /usr/bin/python /usr/lib64/nagios/plugins/send_gmail.py -a $CONTACTEMAIL$ -b “***** Nagios *****nnnnnnNotification Type: $NOTIFICATIONTYPE$nnnService: $SERVICEDESC$nnnHost: $HOSTALIAS$nnnAddress: $HOSTADDRESS$nnnState: $SERVICESTATE$nnnDate/Time: $LONGDATETIME$nnnAdditional Info: $SERVICEOUTPUT$” -s “** Nagios $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **”
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!