recently we have migrated a Domino 9.0.1 server running for years on Windows to 11.0.1 FP1 on Linux. The migration and transition was smooth without any issues/hassles. But the issue is where we were not able to configure SNMP on the new 11.0.1 FP1 Linux server. Getting messages on Domino console 'HCL Domino SNMP Agent is not available'
The following are the steps we are following to configure Domino SNMP agent 1. cp /opt/hcl/domino/notes/11000100/linux/net-snmpd* /etc 2. ln -f -s /etc/net-snmpd.sh /etc/init.d/net-snmpd 3. update-rc.d net-snmpd defaults
Post this we wanted to perform the same with lnsnmp. But before that we wanted to start or check the status of lnsnmp from its original location and getting the following
root@xxxxx-210-srv:~# service lnsnmp start Job for lnsnmp.service failed because the control process exited with error code. See "systemctl status lnsnmp.service" and "journalctl -xe" for details.
root@xxxxx-210-srv:~# service lnsnmp status ● lnsnmp.service - LSB: HCL Domino SNMP Agent Loaded: loaded (/etc/init.d/lnsnmp; generated) Active: failed (Result: exit-code) since Mon 2020-11-02 12:53:04 CET; 24h ago Docs: man:systemd-sysv-generator(8) Process: 8816 ExecStart=/etc/init.d/lnsnmp start (code=exited, status=1/FAILURE)
Nov 02 12:53:04 xxxxx-210-srv systemd[1]: Starting LSB: HCL Domino SNMP Agent... Nov 02 12:53:04 xxxxx-210-srv lnsnmp[8816]: Don't know how to start/stop lnsnmp on this version of Linux. Nov 02 12:53:04 xxxxx-210-srv systemd[1]: lnsnmp.service: Control process exited, code=exited, status=1/FAILURE Nov 02 12:53:04 xxxxx-210-srv systemd[1]: lnsnmp.service: Failed with result 'exit-code'. Nov 02 12:53:04 xxxxx-210-srv systemd[1]: Failed to start LSB: HCL Domino SNMP Agent.
Thanks for the reply. Actually Debian is standard OS in the organization so if Domino lnsnmp agent is not working or not compatible then i need to find or explore alternate ways to retrieve the count of dead and pending mails from the server. may be a script.
For the dead and pending mails: Have a close look at the statistics event generators (events4.nsf). Create some for Mail.Dead, Mail.Hold, Mail.Waiting, Mail.TotalPending and/or Mail.TransferFailures (or other statistics you are interested in).
Then, for each event generator create a event handler (for "a custom event generator).
For the action method, you have a wide range of options. Perhaps "log to Unix system log" or "run program" would be a great choice for your needs?
Thanks for the reply and the tip. That looks interesting. I am first planning to get the default SNMP agent working with the workarounds provided. If i failed then i have to look for the option suggested by you.
Thank you everyone for replying to my query. Finally i got Domino SNMP monitoring working on a Debian OS. The following are the steps i followed
Created lnsnmp.service
Created lnsnmp.service script under /etc/systemd/system/ as instructed in the link https://atnotes.de/index.php/topic,61967.msg396240.html#msg396240
Start lnsnmp service and also enable it auto-start during reboot
Modify snmpd.conf under /etc/snmp/snmpd.conf as instructed in https://blog.thomashampel.com/blog/tomcat2000.nsf/dx/ibm-domino-server-monitoring-via-snmp.htm
basically adding 2 lines
systemonly included .1
smuxpeer 1.3.6.1.4.1.334.72 NotesPasswd
Enable smux module on Debian as instructed in https://administratosphere.wordpress.com/2011/05/12/net-snmp-smux-fails-on-ubuntu-a-fix/
By default smux module will be disabled on debian. so enable it in snmpd.service file located under /usr/lib/systemd/system/
Perform daemon reload
Restart both snmpd and lnsnmp services
After this snmpd service will be able to communicate with lnsnmp service over smux module
Hope it helps someone who wanted to configure Domino SNMP on non-compatible linux OS