Graph not plotting

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

Moderators: Developers, Moderators

Post Reply
jamiehancock
Posts: 6
Joined: Wed Jun 15, 2016 9:52 am

Graph not plotting

Post by jamiehancock »

Hi,

I have created a new graph using an OID for memory usage on our FortiGate firewalls. If I use SNMPWALK from the Cacti server using the OID I receive an integer so I know it is working.

I have enabled Graphing Debug Mode and it all seems fine, see the file attached.

Please could someone help?

J.
Attachments
fortigate.JPG
fortigate.JPG (372.36 KiB) Viewed 1429 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Graph not plotting

Post by micke2k »

What does the log say?
jamiehancock
Posts: 6
Joined: Wed Jun 15, 2016 9:52 am

Re: Graph not plotting

Post by jamiehancock »

micke2k wrote:What does the log say?
Thanks for the reply Micke2k.

Which log? The debugging information can be seen in the attachment.

J.
jamiehancock
Posts: 6
Joined: Wed Jun 15, 2016 9:52 am

Re: Graph not plotting

Post by jamiehancock »

Hi all,

Please can someone help me with this?

J.
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Graph not plotting

Post by micke2k »

The cacti log. Please set it to high or debug under settings.
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Graph not plotting

Post by micke2k »

The cacti log. Please set it to high or debug under settings.
jamiehancock
Posts: 6
Joined: Wed Jun 15, 2016 9:52 am

Re: Graph not plotting

Post by jamiehancock »

Ahh, I understand, sorry for being silly.

I get this information in the log file.

06/20/2016 12:45:36 PM - CMDPHP: Poller[0] Host[47] DS[1581] WARNING: Result from SNMP not valid. Partial Result: U

But when I conduct an snmp walk using the same OID it returns a value?

J.
Attachments
cactisnmp.JPG
cactisnmp.JPG (248.79 KiB) Viewed 1374 times
cactisnmpwalk.JPG
cactisnmpwalk.JPG (35.91 KiB) Viewed 1374 times
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Graph not plotting

Post by phalek »

Look closely to the OID. The one you are looking for has a .0 at the end.

If you try a snmpget (instead of snmpwalk) you will also get an error if you do not add that .0


Solution: Add .0 to your OID in Cacti
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
jamiehancock
Posts: 6
Joined: Wed Jun 15, 2016 9:52 am

Re: Graph not plotting

Post by jamiehancock »

phalek wrote:Look closely to the OID. The one you are looking for has a .0 at the end.

If you try a snmpget (instead of snmpwalk) you will also get an error if you do not add that .0


Solution: Add .0 to your OID in Cacti
Hi,

Thanks for the suggestion. It worked for two of my graphs. Now, I've added two more but they aren't graphing. The Cacti log comes back with the correct integers?
cactidisk.JPG
cactidisk.JPG (32.83 KiB) Viewed 1367 times
cactisessions.JPG
cactisessions.JPG (34.58 KiB) Viewed 1367 times

Thank you so much for helping me with this, I really do appreciate it.

J.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Graph not plotting

Post by phalek »

Your max value is set to 100. Change it to U. This should solve your problem
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
jamiehancock
Posts: 6
Joined: Wed Jun 15, 2016 9:52 am

Re: Graph not plotting

Post by jamiehancock »

I'm not seeing the NAN values but I'm getting 0 instead?
fortsess.JPG
fortsess.JPG (59.21 KiB) Viewed 1367 times
fortdisk.JPG
fortdisk.JPG (61.67 KiB) Viewed 1367 times
J.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests