Ad Widget

Collapse

Running a key out of Schedule

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tractorboy
    Member
    • Oct 2010
    • 98

    #1

    Running a key out of Schedule

    I need to run an item from the server that its hosted on. Is this possible?


    The background is that I am monitoring disk space on a drive, and have automated clear up if space drops below a specific level. After the clear up I would like to run an adhoc run of the space to see what is left, and not wait until the next scheduled event.

    I have tried zabbix_sender and zabbix_get but neither seemed to succeed. I suspect zabbix_sender simply because its not an active agent request.

    I did use zabbix_agent with -t and the results returned, just need to send them back to the server.


    Am I missing something?
  • eskytthe
    Senior Member
    Zabbix Certified Specialist
    • May 2011
    • 363

    #2
    zabbix_sender -z zabbixserver_name -s agentserver_name -k key -o keyvalue
    should do the job ...
    Remember to set the item as "zabbix trapper" at the zabbix server
    Hope this help you.
    Br
    Erik

    Comment

    • Tractorboy
      Member
      • Oct 2010
      • 98

      #3
      Unfortunately the space is collected by zabbix_agent and therefore I cannot use trapper.


      My issue is the data is collected regularly using vfs.fs.size[f:,free], not a trapper.

      Comment

      Working...