![](https://secure.gravatar.com/avatar/fd07030703a49e561b03470ac2d8da4a.jpg?s=120&d=mm&r=g)
Have you restarted ntpd?
You won't get any output from the agent if ntpd isn't running.
Michael
On 1 October 2015 9:01:18 AM AEST, Federico Olivieri lvrfrc87@gmail.com wrote:
Hi,
the packages dpkg rpm were there when I copied the scripts from scripts/agent-local In 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 ntpd
I changed in root root because it didn't work...
2015-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 folder
root@banana:/usr/lib/observium_agent/local# ls -l total 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 munin drwxrwxr-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 temperature
I'm quite sure that I m missing something of stupid
2015-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 lmsensors
adam.
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!!!!
2015-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> -d
adam.
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!)
2015-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 conf
Any 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
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
2015-09-29 10:08 GMT+01:00 Federico Olivieri lvrfrc87@gmail.com:
Ok, Thank for the info. I'll have a look
Federico
2015-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.com > > On 29 September 2015 12:56:55 Federico Olivieri
> wrote: > >> Hi guys, >> >> Thanks for your reply. >> Actually, I'm using Linux version* 3.2.0-4-amd64 >> (debian-kernel@lists.debian.org
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 displayed >> >> If I decide to run munin client on my server (I guess
munin-node
>> packet) how can I integrate it on OBSERVIUM? >> >> Thanks >> >> Federico >> >> >> 2015-09-28 22:03 GMT+01:00 Adam Armstrong
>> >>> 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
>>> 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
>> 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
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