HCL Domino SNMP Agent is not available

Hello,

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 in Advance,
Prashanth

Hello

What version and distribution of linux do you use on new server ?

Because the failure looks like you linux version is not supported for SNMP.

Hello Mathias,

Thanks for the reply.

Domino 11.0.1FP1 is running on 'Linux 4.19.0-12-amd64 #1 SMP Debian 4.1'

Thanks & Regards,

Prashanth

Supported Linux OS are RedHat or SuSE ENterprise Linux or CentOS.

Because you are using Debian this seems to be the problem.

Hello Mathias,

But i am able to install and configure Domino Debian and its running without any issue. So you are saying lnsnmp is specific to OS?

Thanks & Regards.

Prashanth

Hello

To be sure this has to be clarified by looking into system logs, but the error message says, that it has a problem with this linux version.

Maybe it could be solved by changing something, but this has to ba analyzed more in detail.

But if you want to use the server in production I suggest to use a supported linux version

Hello Mathias,

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.

Thanks & Regards,

Prashanth

Hello

If you want to get it running on Debian, then you have to check the system logs and find the reason why the service is not starting.

Maybe this can be fixed.

Hello Mathias,

Thanks for the hint. Sure will check and try to check the system logs to find something that is related to Domino Lnsnmp.

Thanks & Regards,

Prashanth

Hello Mathias,

I have parallelly created a product case and looks like Domino LNSNMP will not work for any newer version of Linux OS.

The following is the link of my case with HCL

https://support.hcltechsw.com/csm?id=csm_ticket&table=sn_customerservice_case&sys_id=5eae9051db5ce850a45ad9fcd3961929&view=csp

HCL has redirected me to a idea posted requesting for LNSNMP for newer versions of OS

https://domino-ideas.hcltechsw.com/ideas/DOMINO-I-516

So i can conclude that its not issue with debian but a issue with Domino itself generic to Linux.

Thanks & Regards,

Prashanth

If you look into the last comment there, there seems to be a solution for it for systemd based system.

Did you try this out ?

Hello Mathias,

Thanks for your reply. I was off for 3 days and back to work today. I will give a try and update you back.

Thanks & Regards,

Prashanth

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?

Hello Thomas,

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.

Thanks & Regards,

Prashanth

Hello All,

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

Thanks & Regards,

Prashanth