OK, I am trying to pull active connection information from a Cisco (ACE) Load Balancer. I really only want the # of active connections to each back-end app server. I could not get a snmp check to work as has been discussed in this fourum as the "value #2 has unknow type [81]" error and also at https://support.zabbix.com/browse/ZBX-55
So, for now I figured I just do an external script and pick off the data that way however I can not get an "external check" type item to work. Here is what I have done:
1 Verified external script directory in zabbix_server.conf file is /etc/zabbix/externalscripts is correct and all permissions are correct.
Have script named checklbload.sh with correct permissions in correct directory. Have restarted server and agent.
Here's the script code I'm using just to test::
Created item in Zabbix for Zabbix server as External Check with key as follows: checklbload.sh[] with type as Numeric (integer 64).
Here's what I see in zabbix_server.log:
824:20071010:153722 Script /etc/zabbix/externalscripts/checklbload.sh returned nothing.
824:20071010:153722 Parameter [checklbload.sh[]] is not supported by agent on host [wraith] Old status [0]
824:20071010:153722 Script /etc/zabbix/externalscripts/checklbload.sh returned nothing.
Can anybody please help me?
So, for now I figured I just do an external script and pick off the data that way however I can not get an "external check" type item to work. Here is what I have done:
1 Verified external script directory in zabbix_server.conf file is /etc/zabbix/externalscripts is correct and all permissions are correct.
Have script named checklbload.sh with correct permissions in correct directory. Have restarted server and agent.
Code:
ls -al /etc/zabbix/externalscripts total 16 drwxr-xr-x 2 zabbix root 4096 Oct 10 15:35 . drwxr-xr-x 3 root root 4096 Oct 10 12:08 .. -rwxrwx--- 1 zabbix root 21 Oct 10 14:31 checklbload.sh
Here's the script code I'm using just to test::
Code:
#!/bin/bash exit 50
Here's what I see in zabbix_server.log:
824:20071010:153722 Script /etc/zabbix/externalscripts/checklbload.sh returned nothing.
824:20071010:153722 Parameter [checklbload.sh[]] is not supported by agent on host [wraith] Old status [0]
824:20071010:153722 Script /etc/zabbix/externalscripts/checklbload.sh returned nothing.
Can anybody please help me?

Comment