Code:
/etc/zabbix # ls -sltrah total 20K 0 lrwxrwxrwx 1 root root 30 Apr 5 15:01 zabbix_agent.conf -> /etc/zabbix/zabbix_agentd.conf 7.5K drwxr-xr-x 102 root root 7.6K Aug 10 11:13 .. 12K -rw-r--r-- 1 root root 9.9K Sep 23 13:09 zabbix_agentd.conf 0 drwxr-xr-x 2 root root 128 Sep 23 13:09 .
Code:
/etc/zabbix # tail -2 /etc/zabbix/zabbix_agentd.conf # Monitoring spam stats UserParameter=spamassassin,/usr/local/bin/spam-count
Code:
/etc/zabbix # zabbix_agent -t spamassassin spamassassin [t|3059]
Then from the monitor box:
Code:
[zabbix@monitoringserver ~]$ zabbix_get -s targetserver -k spamassassin ZBX_NOTSUPPORTED
Code:
/etc/zabbix # zabbix_get -s localhost -k spamassassin ZBX_NOTSUPPORTED
Comment