check snmp with diferent community not work

Ricardo Delgado ricardodelgadoar at yahoo.com.ar
Fri Nov 6 14:20:07 CET 2009


Hi marc

      Please, can you send me a url or example about how use and define snmp?

       I sent a email days ago with my doubts

  [Nagios-users] using snmp oid


--************* mail sent ***************--



Hi, i need use snmp to monitoring ups

i define

1.- in SERVICES_NAGIOS2.CFG


define service{
       use generic-service
       host_name my-ups
       service_description Uptime
       is_volatile 0
       check_period 24x7
       max_check_attempts 4
       normal_check_interval 8
       retry_check_interval 1
       contact_groups admins
       notification_interval 120
       notification_period 24x7
       notification_options c,r
       check_command check_snmp!.1.3.6.1.2.1.1.3.0 # OID uptime
}

in COMMANDS.CFG 

define command{
       command_name check_snmp
       command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C readonly -o $ARG1$
}

in each ups ej UPS1.CFG?


define service{
      use            generic-service     ; Name of service template to use
      host_name                       UPS1
      service_description             UPTIME   check_command                   check_snmp 
      }

       Is correct?

--*************End of mail sent ***************--

	  I’m reading the documentation from this links

http://nagios.sourceforge.net/docs/nagios-3.pdf
http://conshell.net/wiki/index.php/Using_Nagios_with_SNMP
http://nagioses.blogspot.com/2009/03/snmp.html
http://www.google.com.ar/search?hl=es&q=nagios+snmp&meta=


        Best regards


-----------------------------------

        \|||||||/
        ( @   @ )
------oOOo-( )---oOOo--------
|     Ricardo Delgado       |
|                           |
|http://delgado.homelinux.net|
|                           | 
|                           |
|                           |
|                           |
 ---------------0ooo---------
    ooo0        (   )
    (  )         ) /
     \ (        (_/
      \_)

Por Favor, no hagas Top Posting
http://es.wikipedia.org/wiki/Top-posting

Por Favor, sin formato html
http://es.wikipedia.org/wiki/Netiquette

Sin formatos propietarios.






      Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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


More information about the Users mailing list