Well, one last attempt before building again using vmware instead of hyper-v so I can copy/paste the install guide… Here is the output of clicking on “Data” for a device’s port. This has traffic bandwidth info displayed in viewing all ports of the device, but again, only has “-nan” for data.

 

To me it looks like the data it needs I there, but maybe I’m missing something? I also just removed the mysql database, deleted the rrd directory, re-created rrd, chown’d it to www-data:www-data, and recreated the database per the install page, and copied config.php.default over to config.php again. This should be a fresh start for permissions and graphing that we’ve been discussing correct?

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Josh Hopper
Sent: Tuesday, December 17, 2013 2:24 PM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

Doh! My mistake. I’ll use it next quarter. I promise.

 

--

Sincerely,

Joshua Hopper, A+ CE

Network Administrator

http://www.protectplus.com/images/ppluslogo.jpg

            420 3rd Ave NW Hickory NC 28601

Office: 828-449-1839x2160 | Cell: 828-855-7565

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Tuesday, December 17, 2013 5:09 PM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

He seems to be using svn :)

Adam.

Josh Hopper <joshhopper@protectplus.com> wrote:

Adam, the Community version is now different. You just have to CHMOD the RRD directory.

Remove SNMP if it applies (as per the guide). But the CHMOD 755 on RRD wasn’t in the guide.

 

--

Sincerely,

Joshua Hopper, A+ CE

Network Administrator

http://www.protectplus.com/images/ppluslogo.jpg

            420 3rd Ave NW Hickory NC 28601

Office: 828-449-1839x2160 | Cell: 828-855-7565

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Tuesday, December 17, 2013 5:03 PM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

Which version of Ubuntu?

The install guide is copy&paste idiot proof, pretty much!

Adam.

Jason Ross <jross@medicalteams.org> wrote:

Yes, virtualized using hyper-v, but nothing else is on it. Started with a fresh image of Ubuntu server and went right into the Observium install instructions.

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Tuesday, December 17, 2013 1:16 PM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

Is this a clean server with nothing else on it?

Jason Ross <jross@medicalteams.org> wrote:

Ok, so I know my graphing issus are permissions related, and I’ve checked the rrd folder permissions / tried adjusting them with solutions given to other people with graphing problems. I’m still unable to get anything other than “-nan” into the graphs.

-All graphs write, but no data is displayed.

-Realtime graphs display data

-Traffic stats is being displayed in the “Ports” tab for my devices.

 

Install Info:

-During last setup/install I enabled root user and installed everything under root. (Was a last ditch effort and I’ll change / redo after I get this working at least once…)

-rrd folder has root:root listed with “ls -la” output. (I tried using www-data:ww-data, Observium:root, etc with no success.)

-cron jobs (not using e-tab) had user “root” listed exactly like in the install guide. /etc/cron.d/Observium Currently has no user listed, but it made no difference that I can see.

 

Today I updated to version 4836 and had “no auth” displayed in the device graphs previews, which I hadn’t ever seen before. Seems like it was something that changed from 4811 to 4836 as I hadn’t made any other changes. However, I still only get –nan in the data fields, which furthers my belief that I’m missing something having to do with folder permissions.

 

Can someone give a list of folders that need to have specific permissions set? And if you’re feeling REALLY generous, maybe even what the permissions should be with knowing that everything was installed using the root user? I’d really love to move past this and start testing Observium!

Thanks,
Jason

 

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Jason Ross
Sent: Friday, December 06, 2013 10:25 AM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

Any other ideas or things I can check?

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Jason Ross
Sent: Thursday, December 05, 2013 3:48 PM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

Ha! Yeah I can at least pick up on the hints. :-)

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Thursday, December 05, 2013 3:45 PM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

No, that is correct.

Some people insist on trying to put them in a user cron file with crontab -e, very common error, hence the big red box!

Adam.

 

Jason Ross <jross@medicalteams.org> wrote:

Not sure if you meant cron jobs instead of from jobs, but it seems like you may have. I followed the instructions:

Add cron jobs, create a new file /etc/cron.d/observium with the following contents:

Important!

Please note that the below example includes a username, so will only work in /etc/crontab or /etc/cron.d/observium. It will NOT work in a user crontab edited with crontab -e.

33  */6   * * *   root    /opt/observium/discovery.php -h all >> /dev/null 2>&1

*/5 *     * * *   root    /opt/observium/discovery.php -h new >> /dev/null 2>&1

*/5 *     * * *   root    /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1

So these cron jobs are in a file I created located at /etc/cron.d/Observium. Do I need to move them?

Thanks,
Jason

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Thursday, December 05, 2013 3:39 PM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

So where did you put the observium from jobs...?

Adam.

 

Jason Ross <jross@medicalteams.org> wrote:

Sorry it’s a screenshot instead of text…don’t have an easy way to grab files off that server yet. Here is the output.

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans
Sent: Thursday, December 05, 2013 12:59 PM
To: Observium Network Observation System
Subject: Re: [Observium] Graph Data only displays -nan

 

Please paste the output of this command: cat /etc/crontab

Thanks,
Tom

On 05/12/2013 21:40, Jason Ross wrote:

First, I must apologize for yet another question about “graphs not working”. However, I have read everything I can find in the mail archives, in forums, and have reinstalled multiple times following the instructions exactly. Each time with the –nan listed for all data points. Verified  permissions on the rrd and tmp folders and both match the same user/group as what everything is running as. I eventually resorted to installing and running everything as root to try and resolve permission errors. Once I figure out what’s wrong I’ll go back to std user. Sorry for the long email, but I wanted to include everything I know so far.

 

Monitoring Host:

Ubuntu 13.04

Observium 13.12.4811

Virtual Machine on Hyper-V

 

Currently Monitored Devices:

3 HP Procurve Switches

1 Ricoh Copier

2 Sonicwall Firewalls

 

Testing results thus far:

1.       Real-time graphing works for each device.

2.       Every other graph is drawn, but has “-nan” for each data point. Same for each device.

3.       Prior to installing jpgraph (to get billing to work) all devices did not list traffic data under the Ports tab.

4.       Post jpgraph install and config, traffic info under Ports tab works for Ricoh Copier and 1 of 3 HP Procurve switches, but no other devices. Only 0 bps is listed.

5.       Enabled rrdcached in the config file with adding  $config['rrdcached']    = "unix:/var/run/rrdcached.sock";.

6.       Ran discovery and polling for everything again and all devices list stats for traffic under Ports tab.

7.       Billing still doesn’t capture traffic data on any device.

8.       Billing Accurate Graphs gives an error of 25121 – “Empty input data array specified for plot. Must have at least one data point.”

I believe billing errors may be related to the rest.

 

I ran discovery and polling in debug mode writing to text files and it appears that the data is being pulled from the device correctly. It also looks like it writes the data into the rrd device file and updates the mysql database without showing any errors. Thus, I’m perplexed as to what it could be and have no direction to look into…  Help would be appreciated.

Thanks,
Jason

 

_______________________________________________
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

 

 

 


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.