Ad Widget

Collapse

Zabbix/SNMP/MIB help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • monolithic
    Junior Member
    • May 2009
    • 21

    #1

    Zabbix/SNMP/MIB help

    Hello all,

    This is my first post and it probably won't be my last host.

    Basically I decided to install zabbix for a learning experience and to monitor my production network as well as my disaster network. I decided to target the disaster network which is less complex (5 windows servers, 1 ESX server, 1 Solaris Sun Server, 4 HP ProCurve Switches, 1 Dell/Equallogic SAN, and 1 Watchguard Firewall).

    I built the zabbix server on solaris and after 4 entire days of I was successful (i'm a windows admin). Anyways, I was able to compile the agent and put it on the Solaris server and windows servers.

    I'm not that familiar with snmp, but this is my first question, I have the custom MIB files for the Dell SAN, Watchguard Firewall and HP Switches. And on the zabbix box i can type snmptranslate -IR -On wgPolicyStatistics and it will retrieve a .1.3.6.1.4.1.3097.4.2

    So I know that the mibs are working correctly.

    On my firewall, I have SNMP set to public community and have added the zabbix server address.

    How do I configure this on the zabbix front end to trigger? I'm not really sure what I have to do. Also do I have to create a separate trigger for each MIB function because there are a million of them? Thanks for all your help in advanced!! Looking forward to learning this great application!
  • primiparo
    Junior Member
    • Jan 2009
    • 28

    #2
    Install agent in Solaris

    Hi monolithic,

    How you install the agent (or agentd) in Solaris ?? ...i mean, you install the server in solaris, ok? but also the agent in Solaris...?
    I have to install one agent in Solaris 10, but i don“t find documentation about it. Would you please facilitate the procedure performed?

    Thanks.

    Comment

    • monolithic
      Junior Member
      • May 2009
      • 21

      #3
      Hey,

      I'm running the zabbix server on a solaris 10 vm. I also have a physical sun solaris box that I have installed the agentd on to monitor on my zabbix vm.

      Here is what I did to install the agentd on the solaris 10 physical box:

      Make sure gcc and make are installed, if not install those first
      Upload zabbix-1xx.gz to the server

      #gunzip zabbix-1xxx && tar -xvf zabbix-1xxx
      #cd /zabbix.xxx
      #mkdir /usr/local/zabbix
      #PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin
      #./configure --enable-agent --prefix=/usr/local/zabbix
      #make install
      #useradd zabbix
      #vi /etc/services
      Add the following lines:
      zabbix-agent 10050/tcp #zabbix agent
      zabbix-agent 10050/udp #zabbix agent
      zabbix-trapper 10051/tcp #zabbix trapper
      zabbix-trapper 10051/udp #zabbix trapper

      #vi /etc/zabbix/zabbix_agentd.conf
      change server to your zabbix server ip address
      change hostname to whatever the hostname of the host you want to monitor

      #/usr/local/zabbix/sbin/zabbix_agentd & (RUN THIS AS zabbix user account will not run under root)

      #tail -f /tmp/log/zabbix_agentxxx to make sure that it started.

      Then just add the host on your zabbix front end and customize items, triggers and alerts to your liking.

      goodluck and let me know if you have any troubles

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #4
        Originally posted by monolithic
        How do I configure this on the zabbix front end to trigger? I'm not really sure what I have to do. Also do I have to create a separate trigger for each MIB function because there are a million of them? Thanks for all your help in advanced!! Looking forward to learning this great application!
        Hi monolithic,

        I know you've got snmptraps enabled already using snmptrap.sh mapping to the correct host. click>

        I just wanted to say that I've played with snmptraps for some time now and personally I find snmptt (that's snmp trap translator) to provide better output, and also more reliable dealing with badly written MIBs.

        Your question: do I have to create a separate trigger for each MIB function because there are a million of them?

        Well, you don't have to do ALL of them, but 'yes' you need to choose the OIDs that are meaningful to your situation and create triggers accordingly. One by one!

        HTH
        Disclaimer: All of the above is pure speculation.

        Comment

        • monolithic
          Junior Member
          • May 2009
          • 21

          #5
          Thank you for the info! I got it working for the most part now. I was able to get the mibs for all my devices and have created 1000's of items and trigger points for my DR site. I am now successfully monitoring my hardware correctly!! I'm still having slight issues with snmp traps but i'm working on it now. Will post here what I did to resolve my issues this week.

          Comment

          • alexanderfoti
            Junior Member
            • Aug 2011
            • 17

            #6
            If you could provide the template for all of those items for the watchguard firewall, that would be amazing!

            Comment

            Working...