Alert.cfg format
Comments
-
Hello,
alerting configuration is completely driven from the GUI.
Follow menu --> Alerting configuration
Cheers,
Pavel -
Thank you, Pavel.
I have set up the email group and the alert parameters and the alert log is being populated with alerts but don't the scripts need to know where to forward the mail? I have been trying to find where you would set the mail server IP address.
Regards,
Mike -
-
Hello,
I did configure my email in the mail group and it is generating alerts but I do not see where it has attempted to send anything out. The mail que for the stor2rrd user is empty as well as root's mail que but the lpar2rrd user has entries only as recent as September of 2015.
I added root as a recipient of alerts so I would expect to see something in root's mail on the local server at least. Thank you.
Regards,
Mike
-
Hi,
any related entry in system mail log?
Check where mail log is directed:
egrep "^mail" /etc/syslog.conf
mail.debug /var/log/mail rotate files 12 time 1m compress
Check output of ./load_alert.sh (it runs from crontab): 0,10,20,30,40,50 * * * * /home/lpar2rrd/dev/load_alert.sh > /home/lpar2rrd/dev/load_alert.out 2>&1
There should be noted "emailing" when an alerts is raised
-
Hi Pavel,
The sendmail daemon exits as soon as it it starts:
nohup /usr/sbin/sendmail start&
Here is the output:
sendmail: fatal: root(0): error reading input: Bad file descriptor
Here are the lastest entries in the /var/log/maillog:
Apr 28 08:06:17 stor2casmon postfix/postqueue[322]: fatal: Cannot flush mail queue - mail system is down
Apr 28 08:10:01 stor2casmon postfix/postqueue[971]: fatal: Cannot flush mail queue - mail system is down
Apr 28 08:13:20 stor2casmon postfix/sendmail[1863]: fatal: root(0): error reading input: Bad file descriptor
Apr 28 08:20:01 stor2casmon postfix/postqueue[3177]: fatal: Cannot flush mail queue - mail system is down
Apr 28 08:26:00 stor2casmon postfix/sendmail[4809]: fatal: root(0): error reading input: Bad file descriptor
Apr 28 08:30:02 stor2casmon postfix/postqueue[5575]: fatal: Cannot flush mail queue - mail system is down
I think the problem is lower down on the chain. I'll work on getting the sendmail system working first.
Thank you,
Mike -
VMware appliance has postfix installed - just enable and start it, it should work:
# as root run these commands: systemctl enable postfix.service systemctl start postfix.service
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle