On 01/10/2015 00:01:34, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Hi,the packages dpkg rpm were there when I copied the scripts from scripts/agent-localIn regards to user and chmod, I was trying different combination. The original script are in this user and group-rwxrwxr-x 1 banana banana 3211 Mar 26 2014 ntpdI changed in root root because it didn't work..._______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium2015-09-30 23:55 GMT+01:00 Adam Armstrong <adama@memetic.org>:Is there any reason that you have dpkg *and* rpm?How come the ntpd script has a different user and us chmod 777?It's possible that there's a permissions issue preventing the scripts from being run. I've never encountered a situation where the observium_agent script failed to execute scripts in the correct directory, so I have no idea why it wouldn't be working.adam.On 30/09/2015 23:50:56, Federico Olivieri <lvrfrc87@gmail.com> wrote:
It is strange because I have applications under the folderroot@banana:/usr/lib/observium_agent/local# ls -ltotal 104-rwxrwxr-x 1 root root 2910 Mar 3 2014 apache-rwxrwxr-x 1 root root 880 Mar 3 2014 dmi-rwxrwxr-x 1 root root 714 Mar 3 2014 dpkg-rwxrwxr-x 1 root root 342 Mar 3 2014 memcached-rwxrwxr-x 1 root root 324 Mar 3 2014 munindrwxrwxr-x 2 root root 4096 Mar 3 2014 munin-scripts-rwxrwxr-x 1 root root 51582 Nov 4 2014 mysql-rw-rw-r-- 1 root root 747 Mar 3 2014 mysql.cnf-rwxrwxrwx 1 banana banana 3211 Mar 26 2014 ntpd-rwxrwxr-x 1 root root 115 Mar 3 2014 powerdns-rwxrwxr-x 1 root root 120 Mar 3 2014 powerdns-recursor-rw-rw-r-- 1 root root 228 Mar 3 2014 README-rwxrwxr-x 1 root root 577 Mar 3 2014 rpm-rwxrwxr-x 1 root root 116 Mar 3 2014 temperatureI'm quite sure that I m missing something of stupid_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium2015-09-30 23:38 GMT+01:00 Adam Armstrong <adama@memetic.org>:Hi,There don't seem to be any application scripts correctly installed, so it isn't returning any data that will be used by an app pollers.i.e. :root@omega:/home/observium/dev# ls /usr/lib/observium_agent/local/ -l-rwxr-xr-x 1 root root 2910 May 15 2014 apache-rwxr-xr-x 1 root root 4234 May 15 2014 bind-rwxr-xr-x 1 root root 714 May 15 2014 dpkg-rwxr-xr-x 1 root root 102 May 15 2014 lmsensorsadam.On 30/09/2015 23:18:16, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Debug output in attached, I had a look but no idea what the mean. Thank you!!!!_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium2015-09-30 23:00 GMT+01:00 Adam Armstrong <adama@memetic.org>:You can run the poller in debug mode to see what, if anything, it tries to do with the data :./poller.php -h <device_id> -dadam.On 30/09/2015 22:58:51, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Ok,Telnet seems to work (see attachment), however, under application tab I can read No applications found on this device.(By the way...thank you for your time!)_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium2015-09-30 22:30 GMT+01:00 Adam Armstrong <adama@observium.org>:If it's set up correctly, you should get an "apps" menu populated with applications which are correctly returned.You can test the agent is returning data by telnetting to the agent port.adam.On 30/09/2015 22:17:59, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Ok guys.I managed to set-up the UNIX agent. It is running on the same machine that is acting as OBSERVIUM server (basically it is pooling itself on loopback interface). I copied the scripts into /usr/lib/observium_agent/local/ and they are executable. On observium web page I can see the agent execution time, however...no one graph related to the scripts copied is shown by observium.Below my php confAny suggestion?## Check http://www.observium.org/wiki/Configuration_Options for documentation $// Database config --- This MUST be configured$config['db_host'] = 'localhost';$config['db_user'] = 'root';$config['db_pass'] = 'xxxxxx';$config['db_name'] = 'observium';// Base directory$config['install_dir'] = "/opt/observium";// Default community list to use when adding/discovering$config['snmp']['community'] = array("public");// Authentication Model$config['auth_mechanism'] = "mysql"; // default, other options: ldap, http-a$// Enable alerter (not available in CE)#$config['poller-wrapper']['alerter'] = TRUE;// Set up a default alerter (email to a single address)$config['alerts']['alerter']['default']['descr'] = "Default Email Alert";$config['alerts']['alerter']['default']['type'] = "email";$config['alerts']['alerter']['default']['contact'] = "lvrfrc87@gmail.com";$config['alerts']['alerter']['default']['enable'] = TRUE;// UNIX agent$config['poller_modules']['unix-agent'] = 1;// End config.php_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium2015-09-29 10:08 GMT+01:00 Federico Olivieri <lvrfrc87@gmail.com>:Ok,Thank for the info. I'll have a lookFederico2015-09-29 10:01 GMT+01:00 Adam Armstrong <adama@observium.org>:To get NTP data to observium you need to be running the observium Unix agent on the device.
This is required for both the native NTP graphing and graphing of things via munin.
There is documentation for the Unix agent on the website.
Adam.
Sent with AquaMail for Android
http://www.aqua-mail.comOn 29 September 2015 12:56:55 Federico Olivieri <lvrfrc87@gmail.com> wrote:
Hi guys,Thanks for your reply.Actually, I'm using Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.68-1+deb7u3 and I running ntpd but the graphs are not displayedIf I decide to run munin client on my server (I guess munin-node packet) how can I integrate it on OBSERVIUM?ThanksFederico_______________________________________________2015-09-28 22:03 GMT+01:00 Adam Armstrong <adama@observium.org>:Alternatively, Observium can collect and display data from a munin client via the Unix agent, too.
Adam.
Sent with AquaMail for Android
http://www.aqua-mail.com
On 29 September 2015 12:43:08 am Michael <observium@smarsz.com> wrote:
If you use the unix agent (check_mk) it will detect ntpd automatically and add graphing for it. Couldn't be easier.
Assuming you are running ntpd on a unix variant. If it's an appliance (trimble etc), then it might need some extra work to fetch via snmp.
Michael
On 29 September 2015 6:37:14 AM AEST, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Hi All,
I'm trying to plot some graphs with Observium for my NTP server. I
would do
something similar to MUNIN. I tried to google it but I didn't find any
useful information for my (low) level of experience.
Can someone point me in the right direction?
Thank You
Federico
------------------------------------------------------------------------
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium