Ad Widget

Collapse

send grepped data from zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mpasha06
    Junior Member
    • Jan 2014
    • 15

    #1

    send grepped data from zabbix

    Hi,

    I have a windows server which spikes CPU some times, I have a Powershell script to grep top running processes, but how do I send output data from zabbix.

    I am trying to below possibilities to send mail with output.

    1. Adding an Action to run the command, but not sure how to send output (Dont wan to run script in local machine and send through the local node, i have hundreds of nodes.)

    2. Trying to create UserParameter and creating an Item with and adding powershell command in Item, but still not sure how do I sen it.

    UserParameter=<key>,<command>

    Any suggestion will be great help.
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by mpasha06
    Hi,

    I have a windows server which spikes CPU some times, I have a Powershell script to grep top running processes, but how do I send output data from zabbix.

    I am trying to below possibilities to send mail with output.

    1. Adding an Action to run the command, but not sure how to send output (Dont wan to run script in local machine and send through the local node, i have hundreds of nodes.)

    2. Trying to create UserParameter and creating an Item with and adding powershell command in Item, but still not sure how do I sen it.

    UserParameter=<key>,<command>

    Any suggestion will be great help.
    you can use item system.run to run\send stuff
    what exectly do you need zabbix to send this script ?

    Comment

    Working...