Hi,
On a host monitored by ZABBIX I'm trying to use a UserParameter to collect the number of SSH connections and so on.
I've added following UserParameters in the zabbix-agent.conf file:
and the following items on the server:
But for either one I get the following errors (zabbix_server.log):
I wonder if I'm missing something?
On a host monitored by ZABBIX I'm trying to use a UserParameter to collect the number of SSH connections and so on.
I've added following UserParameters in the zabbix-agent.conf file:
UserParameter=extra-checks[*],/opt/extra-checks.sh $1
UserParameter=sshCon,/opt/extra-checks.sh --sshCon
UserParameter=sshCon,/opt/extra-checks.sh --sshCon
and the following items on the server:
Description: sshConnections
Type: ZABBIX Agent
Key: sshCon
Description: sshConnections2
Type: ZABBIX Agent
Key: extra-checks[--sshCon]
Type: ZABBIX Agent
Key: sshCon
Description: sshConnections2
Type: ZABBIX Agent
Key: extra-checks[--sshCon]
But for either one I get the following errors (zabbix_server.log):
17521:20091029:145006 Item [HOST:sshCon] error: Not supported by ZABBIX agent
17521:20091029:145006 Parameter [sshCon] is not supported by agent on host [HOST] Old status [0]
17522:20091029:145013 Item [HOST:extra-checks[--sshCon]] error: Not supported by ZABBIX agent
17522:20091029:145013 Parameter [extra-checks[--sshCon]] is not supported by agent on host [HOST] Old status [0]
17521:20091029:145006 Parameter [sshCon] is not supported by agent on host [HOST] Old status [0]
17522:20091029:145013 Item [HOST:extra-checks[--sshCon]] error: Not supported by ZABBIX agent
17522:20091029:145013 Parameter [extra-checks[--sshCon]] is not supported by agent on host [HOST] Old status [0]
I wonder if I'm missing something?
Comment