Announcement

Collapse
No announcement yet.

Requetes OID en vue de création d'un plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • gollum123
    replied
    oid

    hello,

    sur FreeBSD:
    Error in packet
    Reason: (noSuchName) There is no such variable name in this MIB.
    Failed object: SNMPv2-MIB:ysDescr

    Error in packet
    Reason: (noSuchName) There is no such variable name in this MIB.
    Failed object: HOST-RESOURCES-MIB::hrSystemUptime

    (smpget sur FreeBSD)

    si je demande system.sysDescr.0 sur:
    Windows 2003 US
    SNMPv2-MIB:ysDescr.0 = STRING: Hardware: x86 Family 15 Model 4 Stepping 1 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)

    HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (1128451406) 130 days, 14:35:14.06

    sur FreeBSD 5.4:
    SNMPv2-MIB:ysDescr.0 = STRING: FreeBSD hfmel001.lsafrance.com 5.4-STABLE FreeBSD 5.4-STABLE #2: Thu Jun 16 23:07:48 CEST 2005 [email protected]:/usr/src/sys/i386/compile/HFMEL i386

    HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (153318183) 17 days, 17:53:01.83


    sur Catalyst 5509 + SUP IIIG:

    SNMPv2-MIB:ysDescr.0 = STRING: Cisco Systems WS-C5509
    Cisco Catalyst Operating System Software, Version 6.4(8)
    Copyright (c) 1995-2004 by Cisco Systems

    DISMAN-EVENT-MIB:ysUpTimeInstance = Timeticks: (295636681) 34 days, 5:12:46.81

    sur Pix 525:

    SNMPv2-MIB:ysDescr.0 = STRING: Cisco Cisco PIX Security Appliance Version 7.0(1)

    DISMAN-EVENT-MIB:ysUpTimeInstance = Timeticks: (112909500) 13 days, 1:38:15.00

    @+

    Leave a comment:


  • wistof
    replied
    merci,

    est qu'il existe une notion d'uptime sur les Switch Catalyst ?

    je travaille sur 'check_graph_uptime'

    j'ai trouvé 2 OID pour l'uptime, mais il ne renvoit pas la bonne info en fonction de l'os
    .1.3.6.1.2.1.1.3
    .1.3.6.1.2.1.25.1.1

    Leave a comment:


  • surcouf
    replied
    Linux:
    SNMPv2-MIB:ysObjectID.0 = OID: UCD-SNMP-MIB::linux
    SNMPv2-MIB:ysDescr = (équivalent à un uname -a)

    Cisco Catalyst 4506:
    SNMPv2-MIB:ysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.502
    SNMPv2-MIB:ysDescr.0 = STRING: Cisco Internetwork Operating System Software
    IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9K2S-M), Version 12.1(20)EW1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
    TAC Support: http://www.cisco.com/tac

    Cisco Catalyst 3500XL:
    SNMPv2-MIB:ysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.278
    SNMPv2-MIB:ysDescr.0 = STRING: Cisco Internetwork Operating System Software
    IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC9, RELEASE SOFTWARE (fc1)
    Copyright (c) 1986-2003 by cisco Systems, Inc.
    Compiled Fri 19-Sep-03 10:01 by antonino

    Windows 2000 Server:
    SNMPv2-MIB:ysObjectID.0 = OID: SNMPv2-SMI::enterprises.311.1.1.3.1.2
    SNMPv2-MIB:ysDescr.0 = STRING: Hardware: x86 Family 6 Model 11 Stepping 1 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195 Uniprocessor Free)

    Windows 2003 Server:
    SNMPv2-MIB:ysObjectID.0 = OID: SNMPv2-SMI::enterprises.311.1.1.3.1.3
    SNMPv2-MIB:ysDescr.0 = STRING: Hardware: x86 Family 15 Model 2 Stepping 5 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)

    Leave a comment:


  • wistof
    started a topic Requetes OID en vue de création d'un plugin

    Requetes OID en vue de création d'un plugin

    Hello tout le monde,

    je réfléchis sur un moyen d'identifier le type OS d'une machine, pour effectuer un traitement particulier par la suite..

    Pourriez-vous lancer un snmpget sur ces 2 OID
    .1.3.6.1.2.1.1.1
    .1.3.6.1.2.1.1.2
    et me donner le résultat ?

    je suis preneur de tout type d'OS/Distributions

    merci
Working...
X