Ad Widget

Collapse

Soft State Change / monitoring frequency

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • otheus
    Member
    • Mar 2009
    • 53

    #1

    Soft State Change / monitoring frequency

    In an off-topic discussion of another thread, several members brought up a feature they'd like to see in Zabbix (that's in Nagios, for instance) where some kind of "soft state change" in an item will bring about an increase in polling frequency of the item until the state reverts to 'nominal'.

    I do see this as a lot of work -- moreso from the user interface side -- but I think it would be highly valuable, and would alleviate false positives. Savvy users can use savvy trigger expressions to alleviate false positives, and maybe do some tricks with the Action/Operation to run an external command to change the poll time for that item.

    But this should be built in with a simple checkbox click -- into the item itself, methinks: poll till value is zero/non-zero. Perhaps a configurable poll-time would be of some utility. Or, this could be an additional operation in the actions configuration -- poll-until-state-change. This would probably offer the greatest amount of flexibility, and be easiest from a development standpoint, but it would not be easy for the beginning user to get through this.
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    I know this may not be the answer you want, but something like that could be accomplished with the api and cli tool. trigger -> custom action -> external script to modify polling frequency via api.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • otheus
      Member
      • Mar 2009
      • 53

      #3
      Hey, that's great... I thought the API was still in dev.
      Where do I find out more about it?

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        The API is coming along quite quickly, the CLI tool I'm working on is still a little ways off, but it's getting there. If you want to look at an API implimentation or try out the CLI tool head over to http://trac.red-tux.net.
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        Working...