Ad Widget

Collapse

Zimbra SNMP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Datum
    Junior Member
    • Jul 2012
    • 5

    #1

    Zimbra SNMP

    Alright, so I'm working on setting up monitoring on a couple of Zimbra servers, and after much messing around I am finally able to SNMPWalk the server to obtain the following information.

    iso.3.6.1.2.1.1.1.0 = STRING: "Linux officezimmail 2.6.32-41-server #91-Ubuntu SMP Wed Jun 13 11:58:56 UTC 2012 x86_64"
    iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
    iso.3.6.1.2.1.1.3.0 = Timeticks: (19080) 0:03:10.80
    iso.3.6.1.2.1.1.4.0 = STRING: "[email protected]"
    iso.3.6.1.2.1.1.5.0 = STRING: "myserver"
    iso.3.6.1.2.1.1.6.0 = STRING: "mylocation"
    iso.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.10.3.1.1
    iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.11.3.1.1
    iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.15.2.1.1
    iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.1
    iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.2.1.49
    iso.3.6.1.2.1.1.9.1.2.6 = OID: iso.3.6.1.2.1.4
    iso.3.6.1.2.1.1.9.1.2.7 = OID: iso.3.6.1.2.1.50
    iso.3.6.1.2.1.1.9.1.2.8 = OID: iso.3.6.1.6.3.16.2.2.1
    iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The SNMP Management Architecture MIB."
    iso.3.6.1.2.1.1.9.1.3.2 = STRING: "The MIB for Message Processing and Dispatching."
    iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The management information definitions for the SNMP User-based Security Model."
    iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The MIB module for SNMPv2 entities"
    iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The MIB module for managing TCP implementations"
    iso.3.6.1.2.1.1.9.1.3.6 = STRING: "The MIB module for managing IP and ICMP implementations"
    iso.3.6.1.2.1.1.9.1.3.7 = STRING: "The MIB module for managing UDP implementations"
    iso.3.6.1.2.1.1.9.1.3.8 = STRING: "View-based Access Control Model for SNMP."
    iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.4.6 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.4.7 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.4.8 = Timeticks: (0) 0:00:00.00
    iso.3.6.1.2.1.1.9.1.4.8 = No more variables left in this MIB View (It is past the end of the MIB tree)
    root@monit:/home/jnorton# snmpwalk -Os -v 2c -c zimbra 10.10.15.70 .1.3.6.1.2.1.1.6.0
    iso.3.6.1.2.1.1.6.0 = STRING: "mylocation"
    root@monit:/home/jnorton# snmpwalk -Os -v 2c -c zimbra 10.10.15.70 .1.3.6.1.2.1.1.9.1.2.8
    iso.3.6.1.2.1.1.9.1.2.8 = OID: iso.3.6.1.6.3.16.2.2.1
    root@monit:/home/jnorton# snmpwalk -Os -v 2c -c zimbra 10.10.15.70 .1.3.6.1.2.1.1.9.1.3.1
    iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The SNMP Management Architecture MIB."

    Zimbra MIBs


    AGENTX-MIB.txt RFC1155-SMI.txt
    BRIDGE-MIB.txt RFC1213-MIB.txt
    DISMAN-EVENT-MIB.txt RFC-1215.txt
    DISMAN-SCHEDULE-MIB.txt RMON-MIB.txt
    DISMAN-SCRIPT-MIB.txt SCTP-MIB.txt
    EtherLike-MIB.txt SMUX-MIB.txt
    HCNUM-TC.txt SNMP-COMMUNITY-MIB.txt
    HOST-RESOURCES-MIB.txt SNMP-FRAMEWORK-MIB.txt
    HOST-RESOURCES-TYPES.txt SNMP-MPD-MIB.txt
    IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt SNMP-NOTIFICATION-MIB.txt
    IANAifType-MIB.txt SNMP-PROXY-MIB.txt
    IANA-LANGUAGE-MIB.txt SNMP-TARGET-MIB.txt
    IANA-RTPROTO-MIB.txt SNMP-USER-BASED-SM-MIB.txt
    IF-INVERTED-STACK-MIB.txt SNMP-USM-AES-MIB.txt
    IF-MIB.txt SNMP-USM-DH-OBJECTS-MIB.txt
    INET-ADDRESS-MIB.txt SNMPv2-CONF.txt
    IP-FORWARD-MIB.txt SNMPv2-MIB.txt
    IP-MIB.txt SNMPv2-SMI.txt
    IPV6-ICMP-MIB.txt SNMPv2-TC.txt
    IPV6-MIB.txt SNMPv2-TM.txt
    IPV6-TCP-MIB.txt SNMP-VIEW-BASED-ACM-MIB.txt
    IPV6-TC.txt TCP-MIB.txt
    IPV6-UDP-MIB.txt TRANSPORT-ADDRESS-MIB.txt
    NET-SNMP-AGENT-MIB.txt UCD-DEMO-MIB.txt
    NET-SNMP-EXAMPLES-MIB.txt UCD-DISKIO-MIB.txt
    NET-SNMP-EXTEND-MIB.txt UCD-DLMOD-MIB.txt
    NET-SNMP-MIB.txt UCD-IPFWACC-MIB.txt
    NET-SNMP-PASS-MIB.txt UCD-SNMP-MIB.txt
    NET-SNMP-TC.txt UDP-MIB.txt
    NET-SNMP-VACM-MIB.txt zimbra.mib
    NOTIFICATION-LOG-MIB.txt zimbra_traps.mib



    That's all fine and wonderful.. but I'm struggling getting anything to work on the Zabbix side of things. The Zimbra server trap/community is all setup correctly as near as I can tell.

    This server is already added to Zabbix and monitored using a custom template, however I also would like to add monitoring via the SMNP protocal as the other methods we've been using aren't as reliable.

    So I guess I'm wondering where I go from here? I have added the host with an IP and turned monitoring off as documentation says.. but I guess I'm confused as to how I define my items/triggers with the SNMP information.

    Anyone shed some light on this? (I'm continuing to read through documentation)
  • wisnu
    Junior Member
    • Jun 2016
    • 2

    #2
    Hi,
    Have you successfully monitor zimbra with zabbix?
    How do you enable snmp in zimbra?

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by Datum
      iso.3.6.1.2.1.1.1.0 = STRING: "Linux officezimmail 2.6.32-41-server #91-Ubuntu SMP Wed Jun 13 11:58:56 UTC 2012 x86_64"
      iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10

      [..]

      That's all fine and wonderful.. but I'm struggling getting anything to work on the Zabbix side of things. The Zimbra server trap/community is all setup correctly as near as I can tell.
      If snmpwalk command shows your OIDs without names and only in numerical form it mean that you MIBs are not registered in net-snmp settings.
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      Working...