Ad Widget

Collapse

Zabbix 2.0 Remote Command on Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Geekzilla
    Junior Member
    • Jun 2012
    • 4

    #1

    Zabbix 2.0 Remote Command on Windows

    Hello Folks, I was sitting here listening to Zabbix alerts and I got a little bit tired of the beeps and alarms so I decided to try something else with the most important alerts

    To send a remote command to a Windows Machine that is connected to a set of monitors with zabbix data and play a message related to the trigger, something like "Processor Overload on Server X".

    So in order to do that im using an Action with the remote command:

    system.run['c:\wts.bat']

    This bat file runs the sound file in a folder on the remote host. Problem is that this is not working

    I tried to do by command line as a test

    linux-cxzj:~ # zabbix_get -s 172.16.0.249 -k system.run['c:\wts.bat']

    And I get the return

    C:\Windows\system32>"C:\sound\wts.wav"

    But nothing happens on the host ( which got zabbix installed with the remote command option enabled).

    So if you guys can gimme any ideas on this one I would be really thankful and I think this could be a nice tweak for the community cause sometimes you are not near a monitor and hearing is easier than reading.
  • Geekzilla
    Junior Member
    • Jun 2012
    • 4

    #2
    Little bump.... Hey guys any ideas on this ?

    Comment

    Working...