Ad Widget

Collapse

SNMP SET with Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • piwi
    Junior Member
    • Oct 2013
    • 3

    #1

    SNMP SET with Zabbix

    Hi,

    is it possible to use SNMP SET commands with Zabbix?
    I have developed different SNMP compatible devices e.g. for switiching load (1-30V DC and 230V AC). Using SNMP SET command would be a great feature to turn on/off devices or perform any action on an agent.
    For example also a schedule would be possbile e.g. turn on device xx at 8.00 o'clock turn off at 20 o'clock.
    Also triggers could force a SNMP SET action to be set on an remote agent.

    Cheers,
    Piwi
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    Sure, just place a script which does the "snmpset" on your agent and call script that via an "UserParameter" in your zabbix_agentd.conf.

    Alternatively, you could use scripts in the action settings (remote command) but this will fire only when a trigger is kicking in. But obviously it is that what you want.

    Comment

    • andrea.consadori
      Member
      • Apr 2013
      • 94

      #3
      Actually with versione 2.0 there's a character size limitation ( i just have this issue...) and reading the rel notes of 2.2 i see this limit will be raise up

      Comment

      • Mary
        Junior Member
        • Aug 2015
        • 2

        #4
        SNMPSET within Zabbix

        I am trying to run an snmpset command within an Action statement.
        I specify operation type as "Remote Command", define my
        host within target list, type is "custom script", execute on
        zabbix server.

        Does anyone have a quick example of an snmpset command, within a zabbix
        action procedure, that works? I am looking to update a simple status field.

        Comment

        • BDiE8VNy
          Senior Member
          • Apr 2010
          • 680

          #5
          Originally posted by Mary
          Does anyone have a quick example of an snmpset command[...]
          I'd probably start here:
          http://www.net-snmp.org/wiki/index.php/TUT:snmpset

          Comment

          Working...