Ok,
So after giving up on Sun's N1 management software, I would love to get some of the hardware monitoring into my zabbix deployment. I seem to be having issues with getting correct values returned by the user parameters i am creating.
Client:
Server
I have the datatype for the item set as a integer. Is the datatype info where things are getting messed up ? Would a result of "[t|1]" indicate that it is seeing my result as text ? Any ideas how I can fix this ?
FYI the test should always return a "1" unless the array fails, in which case it should be a "0". For the purpose of this, I am trying to get it to return a "1" to the zabbix server. Oh and the $5 is in free credit to grooveshark.com.
So after giving up on Sun's N1 management software, I would love to get some of the hardware monitoring into my zabbix deployment. I seem to be having issues with getting correct values returned by the user parameters i am creating.
Client:
Code:
UserParameter=hardware.raid,mpt-status | grep OPTIMAL | wc -l [root@RHL018 batch]# zabbix_agentd -t hardware.raid hardware.raid [t|1] [root@RHL018 batch]# zabbix_agentd -V ZABBIX Agent (daemon) v1.4.2 (20 August 2007) Compilation time: Oct 25 2007 20:23:31
Code:
[root@RHL012 log]# zabbix_server -V ZABBIX Server (daemon) v1.4.2 (20 August 2007) Compilation time: Oct 25 2007 00:26:29 [root@RHL012 log]# zabbix_get -s xxx.xxx.xxx.xxx -k hardware.raid 0
FYI the test should always return a "1" unless the array fails, in which case it should be a "0". For the purpose of this, I am trying to get it to return a "1" to the zabbix server. Oh and the $5 is in free credit to grooveshark.com.
...I can't get zabbix_get to do anything. It just prints a blank line no matter what I ask for.
Comment