Hi,
I am trying to extend the agent, it should check on my opensuse server if new patches are available. I have added this to the agentd.conf
UserParameter=check.suse.updates, /usr/bin/zypper lu --repo 1 | /usr/bin/grep -ci "no update"
However it doesn't work. I have changed the debug level of the agent and get these error messages
13528:20120113:213024.990 Run remote command [ /usr/bin/zypper lu --repo 1 | /usr/bin/grep -ci "no update"] Result [1] [0]...
13528:20120113:213024.990 Sending back [0]
13528:20120113:213024.991 Got signal [signal:13(SIGPIPE),sender_pid:13528]. Ignoring ...
13528:20120113:213024.991 Process listener error: ZBX_TCP_WRITE() failed: [32] Broken pipe
testing with zabbix_get seems to be fine:
intelatom:/var/log/zabbix # zabbix_get -s 192.168.0.50 -k check.suse.updates
0
Any idea what's going wrong?
I am running the 1.8.10 version.
Thanks,
I am trying to extend the agent, it should check on my opensuse server if new patches are available. I have added this to the agentd.conf
UserParameter=check.suse.updates, /usr/bin/zypper lu --repo 1 | /usr/bin/grep -ci "no update"
However it doesn't work. I have changed the debug level of the agent and get these error messages
13528:20120113:213024.990 Run remote command [ /usr/bin/zypper lu --repo 1 | /usr/bin/grep -ci "no update"] Result [1] [0]...
13528:20120113:213024.990 Sending back [0]
13528:20120113:213024.991 Got signal [signal:13(SIGPIPE),sender_pid:13528]. Ignoring ...
13528:20120113:213024.991 Process listener error: ZBX_TCP_WRITE() failed: [32] Broken pipe
testing with zabbix_get seems to be fine:
intelatom:/var/log/zabbix # zabbix_get -s 192.168.0.50 -k check.suse.updates
0
Any idea what's going wrong?
I am running the 1.8.10 version.
Thanks,
Comment