NagiosMonitoring description:SendmailThe mail cannot be sent. What should you do? If something is wrong, it is actually easy to solve. Please refer to the following.
Nagios monitoring cannot send mail. File Permission issues found
You shoshould first check the permissions on the following files:
# Ls-l/usr/sbin/sendmail. sendmail
-R-xr-sr-x root smmsp/usr/sbin/sendmail. sendmail
# Ls-l/var/spool
Drwxrwx --- smmsp/var/spool/clientmqueue
If your permissions are mis-matched, you can modify them by doing the following:
# Chown root. smmsp/usr/sbin/sendmail. sendmail
# Chmod g + s/usr/sbin/sendmail. sendmail
# Chown smmsp. smmsp/var/spool/clientmqueue
After changing permissions, you need to restart the Sendmail service, type:
# Service sendmail restart
You can understand it. In fact, Sendmail cannot send mail, which is a good solution. I hope this article will be useful to you!
- Six Important Notes of Nagios monitoring Windows 2003 Server
- 12.10 Nagios monitoring policy
- 12.6 other Nagios monitoring servers
- 12.3.6 start the Nagios Service
- Nagios practices: Nagios skills you should know
- System Upgrade record during period 11: enterprise-level monitoring system Nagios
- Introduction to Sendmail
- Illustration: Sendmail Working Environment