
Hello,
you were correct about to read the instructions!
/usr/lib/observium should be /usr/lib/observium_agent
Cheers Luca
------ Messaggio originale ------ Da: "Luca Sasdelli" luca@sasdelli.it A: "Observium" observium@observium.org Inviato: 20/02/2018 18.41.43 Oggetto: Re: [Observium] Unix-agent not working at remote nodes
Hi,
the scripts directory is as below:
root@afrodite /usr/lib/observium/local # ls -al total 32 drwxr-xr-x 2 root root 4096 Feb 20 18:38 . drwxr-xr-x 3 root root 4096 Feb 20 17:07 .. -rwxr-xr-x 1 root root 2910 Feb 20 17:08 apache -rw-r--r-- 1 root root 113 Feb 20 17:08 dovecot -rwxr-xr-x 1 root root 627 Feb 20 17:08 postfix_mailgraph -rwxr-xr-x 1 root root 347 Feb 20 17:08 postfix_qshape -rwxr-xr-x 1 root root 116 Feb 20 17:08 temperature -rwxr-xr-x 1 root root 1261 Feb 20 17:08 vmwaretools
Each script is executable from command line, and /usr/bin/observium_agent does it as well.
Thanks Luca
------ Messaggio originale ------ Da: "Tom Laermans" tom.laermans@powersource.cx A: observium@observium.org Inviato: 20/02/2018 18:33:07 Oggetto: Re: [Observium] Unix-agent not working at remote nodes
Hi,
Nothing on that page says you have to put all those scripts in there...
Anyway, they're not in the agent output. You probably didn't make the ones you actually wanted to run executable....
Tom
On 2/20/2018 6:05 PM, Luca Sasdelli wrote:
Hi Tom,
the scripts are on remote machine as follows:
root@afrodite /usr/lib/observium/local # ls apache ioping.cnf postgresql.conf areca-hw ipmitool-sensor postgresql.pl asterisk kamailio powerdns bind ksm powerdns-recursor ceph lighttpd proxmox-qemu crashplan lmsensors raspberrypi dhcpkit lvs_stats README dmi memcached rpm dovecot mongodb sabnzbd-qstatus dpkg munin shoutcast drbd mysql shoutcast.conf edac mysql.cnf shoutcast.default.conf exim-mailqueue-extended.pl nfs temperature exim-mailqueue.sh nfsd unbound exim_stats_process.pl nginx varnish freeradius nsd virt-what freeradius.conf.sample ntpd vmwaretools freeradius.sh nvidia-smi zimbra hdarray openvpn zyxel-nas326 hddtemp postfix_mailgraph ioping postfix_qshape
and the rest as per instructions at http://docs.observium.org/unix_agent/
Cheers Luca
------ Messaggio originale ------ Da: "Tom Laermans" tom.laermans@powersource.cx A: observium@observium.org Inviato: 20/02/2018 18:01:40 Oggetto: Re: [Observium] Unix-agent not working at remote nodes
Luca,
For that, you can compose a new e-mail to the list address - as now your e-mail shows up as a reply to the one you replied to.
Looks like the unix agent is working, but you have not installed any scripts so there's nothing to show...
Tom
On 2/20/2018 5:54 PM, Luca Sasdelli wrote:
Hi Tom,
I get this printout:
##### Module Start: unix-agent #####
Observium UNIX Agent: execution time: 44ms No include: No include: Observium No include: df No include: mounts No include: ps No include: mem No include: cpu No include: uptime No include: netif No include: lnx_if:sep(58) No include: tcp_conn_stats No include: md diskstats No include: kernel No include: netctr No include: postfix_mailq
Processes: Sensors: Virtual machines
P.S.: please don't mind the previous post... it was simply to use the ml address as a reply.