Ad Widget

Collapse

Using Zabbix to send snmptraps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SATux
    Junior Member
    • Dec 2006
    • 10

    #1

    Using Zabbix to send snmptraps

    Hi all,

    I have a situation where we need to send snmptraps to our command centre based on triggers from zabbix 1.1.7.

    How can I get zabbix to send snmptraps?

    Thanks
  • charles cross
    Junior Member
    • Sep 2007
    • 27

    #2
    Traps

    I think Zabbix can't make this(maybe i'm wrong), but there are several ways for making this

    From your Linux console:
    snmptrap -v1 -cpublic localhost .1.3.6.1.6.3.1.1.5.2 0 0 "" "" .1.3.6.1.4.1 s "trap12"
    where localhost is the target computer or machine. This way you're sending a trap to your server.
    There are another applications like mibbrowser that allow you sending traps.

    I don't know if this was what you wanted to know, I hope it's usefull for you.
    Bye!

    Comment

    • jmanzer
      Junior Member
      • Jun 2006
      • 16

      #3
      Any change in the status of zabbix being able to send a trap (say to a root cause analysis system like ca spectrum?).

      Isn't it possible to run a shell script on the zabbix server when a trigger flips?

      I'm using 1.6.4. How do I get alerts from zabbix to another system.

      Comment

      • bkowalewski
        Member
        • Aug 2008
        • 32

        #4
        Just write an action script. That's what I did.

        Comment

        • SATux
          Junior Member
          • Dec 2006
          • 10

          #5
          I now have a perl script that calls snmptrap and takes parameters from the command line. It is setup as an action script on zabbix.

          It work a treat!

          Regards
          C

          Comment

          • mcginny21
            Junior Member
            • Apr 2009
            • 1

            #6
            SATux can you share the pearl script you wrote for this with the forum.. I am trying to do the same thing and could use a little guidence

            Comment

            Working...