Page 1 of 1

Monitoring Lotus Notes/Domino Servers

Posted: Thu May 17, 2012 8:21 am
by chagrinboy2001
Hi,

I try to monitor Lotus/Notes Domino Servers using this http://ajitabhpandey.info/2007/04/monit ... o-servers/ article.
Is someone here who tried and who can help me?

Example for the same server:

command= $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
$ARG1$= -o 1.3.6.1.4.1.334.72.1.1.9.4.0 -C public -P 2c
Return= SNMP OK - "Plentiful" ( abuot Lotus/domino memory )

and

command= $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
$ARG1$= -o 1.3.6.1.4.1.334.72.1.1.4.1 -C public -P 2c
Return=SNMP problem - No data received from host ( about Death emails )

How can I check if SNMP is ok ? What is wrong there?

Cheers,
Bogdan

Re: Monitoring Lotus Notes/Domino Servers

Posted: Thu May 17, 2012 9:25 am
by scottwilkerson
chagrinboy2001 wrote:How can I check if SNMP is ok ?
You should be able to run the following from the commandline

Code: Select all

cd /usr/local/nagios/libexec
./check_snmp -H <HOST_IP> -C <COMMUNITY_STRING> -P 2c -o sysUpTime.0
Make sure you have the correct SNMP community string or you will get the error you described

Re: Monitoring Lotus Notes/Domino Servers

Posted: Thu May 17, 2012 9:34 am
by chagrinboy2001

Code: Select all

[root@NagiosXi libexec]# ./check_snmp -H xx.xx.xxx.xx -C public -P 2c -o sysUpTime.0
SNMP OK - Timeticks: (1177426) 3:16:14.26 |
but the question remains : What is wrong between the two commands ?

Re: Monitoring Lotus Notes/Domino Servers

Posted: Thu May 17, 2012 10:16 am
by scottwilkerson
It is possible that the the server you are connecting to doesn't have that SNMP OID

You can test it with the following

Code: Select all

snmpwalk -v 2c -c public xxx.xxx.xxx.xxx 1.3.6.1.4.1.334.72.1.1.4.1

Re: Monitoring Lotus Notes/Domino Servers

Posted: Thu May 17, 2012 10:49 am
by chagrinboy2001
I tested it. It looks OK. What is this INTEGER = 6 ?

Code: Select all

[root@NagiosXi libexec]# snmpwalk -v 2c -c public xxx.xxx.xxx.xxx 1.3.6.1.4.1.334.72.1.1.4.1
SNMPv2-SMI::enterprises.334.72.1.1.4.1.0 = INTEGER: 6

Re: Monitoring Lotus Notes/Domino Servers

Posted: Thu May 17, 2012 11:54 am
by scottwilkerson
chagrinboy2001 wrote:I tested it. It looks OK. What is this INTEGER = 6 ?
This is the value that SNMP returned. This is positive, so what happens when you run

Code: Select all

/usr/local/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -o 1.3.6.1.4.1.334.72.1.1.4.1 -C public -P 2c

Re: Monitoring Lotus Notes/Domino Servers

Posted: Mon May 21, 2012 3:13 am
by chagrinboy2001

Code: Select all

SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 2c [authpriv] xxx.xxx.xxx.xxx:161  1.3.6.1.4.1.334.72.1.1.4.1

Re: Monitoring Lotus Notes/Domino Servers

Posted: Mon May 21, 2012 9:50 am
by nscott
Thats because the walk would walk the entire 1.3.6.1.4.1.334.72.1.1.4.1 tree, when you GET something you'll need to specify the OID directly, so use this command (the only changed from above is the addition of the .0 on the end of the OID):

/usr/local/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -o 1.3.6.1.4.1.334.72.1.1.4.1.0 -C public -P 2c

Re: Monitoring Lotus Notes/Domino Servers

Posted: Wed May 23, 2012 1:46 am
by chagrinboy2001
All is fine now. Thank you !

Code: Select all

[root@NagiosXi ~]# /usr/local/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -o 1.3.6.1.4.1.334.72.1.1.4.1.0 -C public -P 2c
SNMP OK - 6 | iso.3.6.1.4.1.334.72.1.1.4.1.0=6

Re: Monitoring Lotus Notes/Domino Servers

Posted: Tue Jun 19, 2012 4:05 am
by chagrinboy2001
hey again,

when I tried to add another Lotus/Domino server I found some errors. For first Lotus/Domino server all is fine , for secont not. ( the same commands )

Could you please explain me why I have received errors for some OIDs (the red lines) ?

Image

Average-hops example:

Code: Select all


[root@NagiosXi libexec]# ./check_snmp -H xxx.xxx.xxx.xxx -C public -P 2c -o 1.3.6.1.4.1.334.72.1.1.4.10.0 -l 'Average number of server hops for mail delivery' -w 10 -c 15
Average number of server hops for mail delivery problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 2c [authpriv] xxx.xxx.xxx.xxx:161  1.3.6.1.4.1.334.72.1.1.4.10.0