Hi,
I have a problem with LLD rules.
My LLD rule discovering certificates on server by running powershell script via UserParameters.
I've tested on two servers. Schema looks like this:
Server1 (6.3.9600 Microsoft Windows Server 2012 R2 Standard x64) - Proxy1 - Zabbix Server.cert.discovery LLD running like a charm.
Server2 (6.3.9600 Microsoft Windows Server 2012 R2 Standard x64) - Proxy2 - Zabbix server. In Zabbix Server got red light and "Value should be a JSON object." message near cert.discovery LLD rule.
The scripts are identical (copy-paste).
Troubleshooting:
On Proxy2 i've got proper output with zabbix_get command.. JSON validator showing that JSON structure are Okay. I've checked output on both Proxies with vi - no hidden chars.
Powershell versions are identical on both servers (v4).
Q: What else can I chack?
TIA!
I have a problem with LLD rules.
My LLD rule discovering certificates on server by running powershell script via UserParameters.
I've tested on two servers. Schema looks like this:
Server1 (6.3.9600 Microsoft Windows Server 2012 R2 Standard x64) - Proxy1 - Zabbix Server.cert.discovery LLD running like a charm.
Server2 (6.3.9600 Microsoft Windows Server 2012 R2 Standard x64) - Proxy2 - Zabbix server. In Zabbix Server got red light and "Value should be a JSON object." message near cert.discovery LLD rule.
The scripts are identical (copy-paste).
Troubleshooting:
On Proxy2 i've got proper output with zabbix_get command.. JSON validator showing that JSON structure are Okay. I've checked output on both Proxies with vi - no hidden chars.
Powershell versions are identical on both servers (v4).
Q: What else can I chack?
TIA!