Finally, I managed to have the APP tab, however 2 problems still persist:
1. The NTP Graphs and PDNS the show nothing, just error graph not drawing 2. Under device setting - application I disabled the ntp and pdns application and then they disappeared and I have the message No applications found on this device. however they still are in the folder
root@banana:/usr/lib/observium_agent/local# ls -l total 8 -rwxr-xr-x 1 root root 3211 Oct 1 12:00 ntpd -rwxr-xr-x 1 root root 3211 Oct 1 12:00 powerdns-recursor
What's wrong with my observium??? :(
Thank You
Federico
2015-10-01 8:33 GMT+01:00 Federico Olivieri lvrfrc87@gmail.com:
Hi Adam,
I tried to re-install Unix Agent from scratch and I still have a problem. I double cheked the permission and all files belong to root:root with chmod +x. I don't know what is wrong but I'm quite sure it is something of stupid! I' m so sad because I have seen that unix agent support power-dns recursor that is the DNS server that is running on my machine and the graphs they will be very useful! I was wondering if you would have just 5 minutes for loggin into my server and have a quick look.
I would be very glad
Thank you for your time so far
Federico
2015-10-01 0:13 GMT+01:00 Adam Armstrong adama@memetic.org:
There is literally nothing to break, this is what the script does :
export AGENT_LIBDIR="/usr/lib/observium_agent"
LOCALDIR=$AGENT_LIBDIR/local
if cd $LOCALDIR then for skript in $(ls|grep -v '~$') do if [ -x "$skript" ] ; then ./$skript fi done fi
If that doesn't work, the only thing it could realistically possibly be is permissions related.
adam.
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-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 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
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 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 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 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 >>> 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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium