Monitoring Lotus Notes/Domino Servers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
chagrinboy2001
Posts: 16
Joined: Fri Mar 09, 2012 3:17 am

Monitoring Lotus Notes/Domino Servers

Post 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
Cheers,
bb
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Lotus Notes/Domino Servers

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
chagrinboy2001
Posts: 16
Joined: Fri Mar 09, 2012 3:17 am

Re: Monitoring Lotus Notes/Domino Servers

Post 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 ?
Cheers,
bb
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Lotus Notes/Domino Servers

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
chagrinboy2001
Posts: 16
Joined: Fri Mar 09, 2012 3:17 am

Re: Monitoring Lotus Notes/Domino Servers

Post 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
Cheers,
bb
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Lotus Notes/Domino Servers

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
chagrinboy2001
Posts: 16
Joined: Fri Mar 09, 2012 3:17 am

Re: Monitoring Lotus Notes/Domino Servers

Post 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
Cheers,
bb
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Monitoring Lotus Notes/Domino Servers

Post 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
Nicholas Scott
Former Nagios employee
chagrinboy2001
Posts: 16
Joined: Fri Mar 09, 2012 3:17 am

Re: Monitoring Lotus Notes/Domino Servers

Post 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
Cheers,
bb
chagrinboy2001
Posts: 16
Joined: Fri Mar 09, 2012 3:17 am

Re: Monitoring Lotus Notes/Domino Servers

Post 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

Cheers,
bb
Locked