Fw : Re : RE [spam?] error check_snmp for UPS

nadia kheffache nadiakheffache at yahoo.fr
Thu Oct 1 10:59:17 CEST 2009


Hi Franck,
 
 I think i have a probleme with my oids, i have the mib
 file, but i dont'know how to use it to define these oid? i
 take one in the internet!
 
 but how can i use the the mib file? i use this link to
 monitor my ups:
 http://wiki.nagios.org/index.php/Howtos:snmp-apc-smart-ups
 
 please, how can i use the mib file?
 
 the snmpwalk guives me lot of information:
 
 [nagios at nagios01 libexec]$ snmpwalk -c public -v 3 -H
 UPS-onduleur1 IfranIfDescr         
                
         Configuration directives
 understood:
 
 No log handling enabled - turning on stderr logging
 
   In snmpwalk.conf and snmpwalk.local.conf:
 
     includeRequested     
    (1|yes|true|0|no|false)
 
     excludeRequested     
    (1|yes|true|0|no|false)
 
     printStatistics       
   (1|yes|true|0|no|false)
 
     dontCheckOrdering       
 (1|yes|true|0|no|false)
 
     timeResults         
     (1|yes|true|0|no|false)
 
   In snmp.conf and snmp.local.conf:
 
     doDebugging         
     (1|0)
 
     debugTokens         
     token[,token...]
 
     logTimestamp       
      (1|yes|true|0|no|false)
 
     mibdirs         
         [mib-dirs|+mib-dirs|-mib-dirs]
 
     mibs           
      
    [mib-tokens|+mib-tokens]
 
     mibfile         
         mibfile-to-read
 
     showMibErrors       
     (1|yes|true|0|no|false)
 
     strictCommentTerm       
 (1|yes|true|0|no|false)
 
     mibAllowUnderline       
 (1|yes|true|0|no|false)
 
     mibWarningLevel       
   integerValue
 
     mibReplaceWithLatest 
    (1|yes|true|0|no|false)
 
     printNumericEnums       
 (1|yes|true|0|no|false)
 
     printNumericOids     
    (1|yes|true|0|no|false)
 
     escapeQuotes       
      (1|yes|true|0|no|false)
 
     dontBreakdownOids       
 (1|yes|true|0|no|false)
 
     quickPrinting       
     (1|yes|true|0|no|false)
 
     numericTimeticks     
    (1|yes|true|0|no|false)
 
     oidOutputFormat       
   integerValue
 
     suffixPrinting       
    integerValue
 
     extendedIndex       
     (1|yes|true|0|no|false)
 
     printHexText       
      (1|yes|true|0|no|false)
 
     printValueOnly       
    (1|yes|true|0|no|false)
 
     dontPrintUnits       
    (1|yes|true|0|no|false)
 
     hexOutputLength       
   integerValue
 
     dumpPacket         
      (1|yes|true|0|no|false)
 
     reverseEncodeBER     
    (1|yes|true|0|no|false)
> 
     defaultPort         
     integerValue
 
     defCommunity       
      string
 
     noTokenWarnings       
   (1|yes|true|0|no|false)
 
     noRangeCheck       
      (1|yes|true|0|no|false)
 
     persistentDir       
     string
 
     tempFilePattern       
   string
 
     noDisplayHint       
     (1|yes|true|0|no|false)
 
     16bitIDs         
        (1|yes|true|0|no|false)
 
     clientaddr         
      string
 
     serverSendBuf       
     integerValue
 
     serverRecvBuf       
     integerValue
 
     clientSendBuf       
     integerValue
 
     clientRecvBuf       
     integerValue
 
     noPersistentLoad     
    (1|yes|true|0|no|false)
 
     noPersistentSave     
    (1|yes|true|0|no|false)
> 
    defSecurityModel     
    string
 
     defSecurityName       
   string
 
     defContext         
      string
 
     defPassphrase       
>     string
 
     defAuthPassphrase       
 string
 
     defPrivPassphrase       
 string
 
     defAuthMasterKey     
    string
 
     defPrivMasterKey     
    string
 
     defAuthLocalizedKey     
 string
 
     defPrivLocalizedKey     
 string
 
     defVersion         
      1|2c|3
 
     defAuthType         
     MD5|SHA
 
     defPrivType         
     DES|AES
 
     defSecurityLevel     
    noAuthNoPriv|authNoPriv|authPriv
 
   In snmpapp.conf and snmpapp.local.conf:
 
     engineID         
        string
 
     engineIDType       
      num
 
     engineIDNic         
     string
 
 
 
 
 --- En date de : Jeu 1.10.09, frank.bourdeau at dga.defense.gouv.fr
 <frank.bourdeau at dga.defense.gouv.fr>
 a écrit :
> 
> > De: frank.bourdeau at dga.defense.gouv.fr
> <frank.bourdeau at dga.defense.gouv.fr>
> > Objet: RE [spam?] [Nagios-users] error check_snmp for
> UPS
> > À: "nadia kheffache" <nadiakheffache at yahoo.fr>
> > Cc: nagios-users at lists.sourceforge.net
> > Date: Jeudi 1 Octobre 2009, 10h37
> > Hi,
> > 
> > Have you test with snmpwalk to see if you UPS
> onduleur
> > respond ? Is the 
> > UPS mib installed on the nagios server ?
> > 
> > Frank
> > 
> > email: frank.bourdeau at dga.defense.gouv.fr
> > fonction: administrateur systèmes et réseaux
> > tel: 0241936560 
> > fax: 0241936681
> > ETAS - BP 60036 - route de Laval - 49245 AVRILLE
> CEDEX
> > [ENVOYE PAR INTERNET]
> > 
> > 
> > 
> > nadia kheffache <nadiakheffache at yahoo.fr>
> > 
> > 01/10/2009 10:16
> > 
> > A
> > nagios-users at lists.sourceforge.net
> > cc
> > 
> > Objet
> > [spam?] [Nagios-users] error check_snmp for UPS
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Hi,
> > 
> > I wont to monitor an ups (onduleur),i use a basic
> nagios
> > plugin_snmp.
> > 
> > but i have these error, i can't get any information
> about
> > this ups.
> > 
> > can you help me please?
> > 
> > thank you
> > 
> > [nagios at nagios01 libexec]$ ./check_snmp -H
> UPS-onduleur1 -C
> > public - o 
> > .1.3.6.1.4.1.4555.1.1.1.1.6.2.1.1.17 .w 185:210 -c
> > 286:999  -l '\Input 
> > Voltage\' -u '\Volts\'
> > 
> > \Input Voltage\ problème - Pas de données reçues
> de
> > l'hôte
> > 
> > Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1
> [authpriv]
> > 
> > UPS-onduleur1:161
> > 
> > 
> > 
> > Nadia
> > 
> > 
>> > 
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry® Developer
> > Conference in SF, CA
> > is the only developer event you need to attend this
> year.
> > Jumpstart your
> > developing skills, take BlackBerry mobile applications
> to
> > market and stay 
> > ahead of the curve. Join us from November 9-12, 2009.
> > Register 
> > now!
> > http://p.sf.net/sfu/devconf
> > _______________________________________________
> > 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
> > 
> > 
> > 
> 
> 
> 
> 


      

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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