Ad Widget

Collapse

Run a progran and capture its output in the agent side

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriel Miguez
    Junior Member
    • Nov 2012
    • 1

    #1

    Run a progran and capture its output in the agent side

    Hello, I was looking a lot for a way to run a progran/script in one of my monitoriced hosts and that the zabbix_agent captures the output and send it to the zabbix_server.

    I need to execute a little script in ubuntu, and a program in windows xp, that will send the login of the current user of a host. I want the server to send request periodicly to the agents and the agents must answer with the loggin obtained executing a script/program.

    Could someone tell me how can i do to execute and capture script's output in the agent host?
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    Not really sure what kind of information you want to collect.

    But one can define a User parameter that executes a script (See: User parameters)
    This User parameter can be used in an item with 'Text' set for the type of information and would be able to store up to 64kb of output.

    Comment

    • LenR
      Senior Member
      • Sep 2009
      • 1005

      #3
      See zabbix-sender

      Comment

      Working...