Réf. : [Nagios-users] Lotus Notes Plugin >> CHECK_VIA_SNMP

Davy Gaussen nagiosadmin at snef.fr
Tue Jun 14 19:16:06 CEST 2005


Hi,

Do you how where can I download the Mib for the OID  ?1.3.6.1.4.1.334.72.1.1
 4 ? 

Thanks
 
-------Message original-------
 
De : Thomas Jens Lauritsen
Date : 06/14/05 17:40:19
A : nagios-users at lists.sourceforge.net
Sujet : [Nagios-users] Lotus Notes Plugin >> CHECK_VIA_SNMP
 
Dear List,
 
 
There is no Domino/Notes plugin to Nagios - BUT there is a hole lot off
SNMP values you can ask for.
 
1. First enable SNMP for your OS (win2000) and then for the DOMINO server
(LNSNMP).
 
2.  Run these check_snmp in your /usr/local/nagios/libexec/ or where ever
it installed.
 
3. Remember that I have my Nagios system install on a Redhat 7.2 so the I
use an old NET-SNMP version Not SNMP v.3 or 5...
 
 
Checkcommand Example1.
 
## Dead mails in the mail.box (works also if you have mail1.box +
mail2.box) ##
../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0
-w 25:1 -c 1000:26 -l DeadMails
 
 
Checkcommand Example2.
 
## Waiting mails in the mail.box (works also if you have mail1.box +
mail2.box) ##
../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0
-w 30:15 -c 1000:31 -l WaitingMails
 
 
 
## In the service.cfg you must enter a service definition:##
 
# Service definition
define service{
        use                                     generic-service         ;
Name of service template to use
        host_name                         YOUR_SERVER_NAME
        service_description               MAILDEAD
        is_volatile                       0
        check_period                      24x7
        max_check_attempts              3
        normal_check_interval           10
        retry_check_interval              1
        contact_groups                    notes-admins
        notification_interval             120
        notification_period               24x7
        notification_options              w,u,c,r
        check_command                     check_snmp_maildead
        }
 
 
# Service definition
define service{
        use                                     generic-service         ;
Name of service template to use
        host_name                         YOUR_SERVER_NAME
        service_description               MAILWAITING
        is_volatile                        0
        check_period                      24x7
        max_check_attempts              3
        normal_check_interval           10
        retry_check_interval              1
        contact_groups                    notes-admins
        notification_interval             120
        notification_period               24x7
        notification_options              w,u,c,r
        check_command                     check_snmp_mailwaiting
        }
 
 
 
## In the checkcommands.cfg you must enter a command definition:##
 
# 'check_snmp_maildead' command definition
define command{
        command_name    check_snmp_maildead
        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -C
public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails
        }
 
 
 
# 'check_snmp_mailwaiting' command definition
define command{
        command_name    check_snmp_mailwaiting
        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -C
public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -w 30:15 -c 1000:31 -l WaitingMails
        }
 
 
 
### REAL LIFE TESTING ###
 
You can test your command check on the command shell/terminal in
/usr/local/nagios/libexec/
 
Run ./check_snmp first to see what happens - then enter:
 
../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0
-w 25:1 -c 1000:26 -l DeadMails
 
then
 
../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0
-w 30:15 -c 1000:31 -l WaitingMails
 
 
Best regards
 
Thomas Jens Lauritsen
 
 
 
 
 
 
 
 
 
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050614/6ada330d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMSTP.gif
Type: image/gif
Size: 9428 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050614/6ada330d/attachment.gif>


More information about the Users mailing list