Single graph not working

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mystic
Posts: 3
Joined: Thu Apr 26, 2012 5:30 am

Single graph not working

Post by mystic »

Hi! I have tried to troubleshoot this by myself, but I've given up..

I have added MIBs for a zyxel device, and created three graphs which use these MIBs. However, only two out of the three work as expected.
I turned on debug logging level, and I can see that all three data sources are receiving data:

Code: Select all

04/26/2012 12:20:04 PM - CMDPHP: Poller[0] Host[4] DS[8] SNMP: v1: 192.168.1.1, dsname: cpu, oid: .1.3.6.1.4.1.890.1.6.22.1.1.0, output: 6
04/26/2012 12:20:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/zyxel_net_cpu_8.rrd --template cpu 1335435603:6
04/26/2012 12:20:05 PM - CMDPHP: Poller[0] Host[4] DS[9] SNMP: v1: 192.168.1.1, dsname: ram, oid: .1.3.6.1.4.1.890.1.6.22.1.2.0, output: 58
04/26/2012 12:20:05 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/zyxel_net_ram_9.rrd --template ram 1335435603:58
04/26/2012 12:20:06 PM - CMDPHP: Poller[0] Host[4] DS[10] SNMP: v1: 192.168.1.1, dsname: sessions, oid: .1.3.6.1.4.1.890.1.6.22.1.6.0, output: 922
04/26/2012 12:20:06 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/zyxel_net_sessions_10.rrd --template sessions 1335435603:922
CPU and RAM graphs both generates fine, however the last graph - sessions - only show NaN values.
I have tried debugging with all the documentation I was able to find concerning NaN graphs, but I have yet to find the fault.
I have attached the graph and data templates I'm using.

I'm really hoping someone knows what could be wrong, as I have no idea how to troubleshoot this further at the moment :o
Attachments
templates.zip
(4.36 KiB) Downloaded 50 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Single graph not working

Post by gandalf »

Please see 2nd link of my sig.
I expect that you've hit the "maximum data source value" issue ...
R.
mystic
Posts: 3
Joined: Thu Apr 26, 2012 5:30 am

Re: Single graph not working

Post by mystic »

You were right.. When I created my data template I had 100 as maximum value, but later altered it to 10000, as the SNMP return for that OID can be anything between 0 and 10000. Sorry, I was even on that page and looking, but didn't look at the rrd file.

My current value is 1.0000000000e+02, which is 100 according to the debug manual. I set it to 1.0000000000e+04, seems to be working. Thank you! :D
amohsen
Posts: 2
Joined: Sun Jan 20, 2013 1:24 pm

Re: Single graph not working

Post by amohsen »

hello every body
can i ask
i want zyxel ies 5000 , 6000 mibs
amohsen
Posts: 2
Joined: Sun Jan 20, 2013 1:24 pm

Re: Single graph not working

Post by amohsen »

User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Single graph not working

Post by gandalf »

amohsen wrote:hello every body
can i ask
i want zyxel ies 5000 , 6000 mibs
You should either search the Scripts and Templates forum or try to create your custom resources on your onw. For the latter approach, see 1st link of my sig for lots of walkthroughs
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests