Ad Widget

Collapse

Zabbix to replace Nagios(Moved to Zabbix Discussions and Feedback > Zabbix Help)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #1

    Zabbix to replace Nagios(Moved to Zabbix Discussions and Feedback > Zabbix Help)

    A company which we are trying to let us use Zabbix is adamant about having its events generating SNMP traps (they won't back down on this prerequisite) to their own monitoring tool.

    How shall I get this working?
    If my memory serves me right the media type script sends this arguments,
    destination = argv[1], subject = argv[2], message = argv[3]

    But is there any way using a custom media type script to pass the community + OID ?
    Some other way I'm missing?
    Last edited by zabbix_zen; 07-12-2011, 16:42.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    could you please clarify what you want to do - send traps as zabbix action operations ?

    if so, from where do you want to pass community/oid ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • zabbix_zen
      Senior Member
      • Jul 2009
      • 426

      #3
      Exactly Richlv,
      send traps as zabbix action operations.

      I'm unsure what's the best approach, ideally the Zabbix team could code this and add it as an option for the upcoming Zabbix2.0, considering both Nagios and Zenoss have this feature, which I got problems explaining why Zabbix doesn't.
      They seem adamant about allowing integration with their already deployed HP Openview ITO.

      In the meanwhile, I'm thinking about hardcoding community/OID to the Action message body,
      creating a custom media type script where those those parameters get parsed and correctly sent via snmptrap command.
      Any better idea?
      Last edited by zabbix_zen; 09-12-2011, 13:19.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        Originally posted by zabbix_zen
        I'm unsure what's the best approach, ideally the Zabbix team could code this and add it as an option for the upcoming Zabbix2.0, considering both Nagios and Zenoss have this feature, which I got problems explaining why Zabbix doesn't.
        They seem adamant about allowing integration with their already deployed HP Openview ITO.
        while there is no built-in trap sending support right now, i don't even view it as a missing feature given how easy it is to do with custom alerts (although it would be a nice feature - i created a new feature request for that at https://support.zabbix.com/browse/ZBXNEXT-1057 , feel free to vote on it )

        Originally posted by zabbix_zen
        In the meanwhile, I'm thinking about hardcoding community/OID to the Action message body,
        creating a custom media type script where those those parameters get parsed and correctly sent via snmptrap command.
        Any better idea?
        but what would be the functional problem with that ?
        Zabbix 3.0 Network Monitoring book

        Comment

        • zabbix_zen
          Senior Member
          • Jul 2009
          • 426

          #5
          Quote:
          Originally Posted by zabbix_zen
          In the meanwhile, I'm thinking about hardcoding community/OID to the Action message body,
          creating a custom media type script where those those parameters get parsed and correctly sent via snmptrap command.
          Any better idea?
          but what would be the functional problem with that ?
          There is no functional problem per se,
          I guess I just hesitated when I got asked
          'oh, we need snmptrap integration, but since Zabbix is more advanced than Nagios I'm sure it comes built-in right?'


          My current workaround relies on the Message body having the following sintax to correctly parse the needed info for the trap.

          Code:
          {TRIGGER.KEY1}
          {EVENT.DATE} {EVENT.TIME}
          Event for {PROFILE.TAG} 
          
          Host: {HOST.DNS1}    {IPADDRESS}
          Status: {STATUS} 
          Severity: {TRIGGER.SEVERITY} 
          Trigger Name: {TRIGGER.NAME}
          It's just that it would be cleaner to have Zabbix do it internally,
          I'm also unsure how important this would be decision-wise when a corporation is looking for migration to a new NMS and comparing their functionalities.

          Comment

          Working...