Ad Widget

Collapse

User Parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Clifra Jones
    Junior Member
    • Mar 2012
    • 14

    #1

    User Parameters

    I have a script that runs as a user parameter the agent logs state it is sending data back to the zabbix server but not data shows.

    Log:
    928:20120328:150401.368 Run remote command [powershell.exe -command ".'C:\Scripts\DatabaseMounted.ps1' 'BBII0103'"] Result [1] [1]...
    928:20120328:150401.368 Sending back [1]

    Item type is set to character, I've also tried Numeric (unsigned)

    Latest data show no data
    Exchange Database Mounted - BBII0101 - - - History
    Exchange Database Mounted - BBII0103 - - - History
  • frater
    Senior Member
    • Oct 2010
    • 340

    #2
    It should work with numeric.
    This function is working:



    You should put your server in debug logging and check.....
    Zabbix is very sensitive and I often need to spent (too) much time on debugging.
    • Use the 2>null
    • make sure the hostname in zabbix_agentd.conf corresponds with the name in zabbix server
    • Set UnsafeUserParameters=1
    • Try to make it as compact as possible
    Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

    Comment

    Working...