Generating charts.. no dice
Moderators: Developers, Moderators
Generating charts.. no dice
Sorry if this is a really stupid question. I've tried for almost a full day to figure out what the problem is, and i exhausted everything.
I have successfully installed rrdtool using it's scripted install (which was a chore by itself to recognize everything), i then install cacti, but right as I do it immediately tells me it cannot find rrdtool. it says you can manually enter the path, but I knew at that point i was going ot have a problem.
my paths are correct, and i know snmp is working becuase I installed MRTG just so I could poll the info to verify it's working. You can see that working here:
http://www.e-places.net/mrtg/webs.shtml
When i go to generate graphs in debug the only message i get is 'snmp error'
this is an Ensim server running Fedora core 1. Dual CPU AMD 2000 with 2GB RAM and 2x 120GB drives. <--just incase, but I don't imagine that matters.
any help is greatly appreciated.
I have successfully installed rrdtool using it's scripted install (which was a chore by itself to recognize everything), i then install cacti, but right as I do it immediately tells me it cannot find rrdtool. it says you can manually enter the path, but I knew at that point i was going ot have a problem.
my paths are correct, and i know snmp is working becuase I installed MRTG just so I could poll the info to verify it's working. You can see that working here:
http://www.e-places.net/mrtg/webs.shtml
When i go to generate graphs in debug the only message i get is 'snmp error'
this is an Ensim server running Fedora core 1. Dual CPU AMD 2000 with 2GB RAM and 2x 120GB drives. <--just incase, but I don't imagine that matters.
any help is greatly appreciated.
JT Thompson
Re: Generating charts.. no dice
Is your SNMP community set correctly? What does an snmpwalk return?
It brings up the help menu because you are not giving it a community name or an oid but that doesn't mean snmp is working. I know you said you had MRTG working but just for testing, try this. Presuming that the community name is 'public' and substituting 'ip address' for the ip of the system, try:jt wrote:I appreciate the reply.
yeah snmp walk works.
course that command just brings back the help menu. but it definitely works.
snmpwalk -c public -v 1 'ip address' system
If you get a valid snmp answer then we can go from there. If you get a no response error then the community is probably wrong. If you get unknown host then the ip is probably wrong. If you get the help menu then the command is probably wrong.
I guess I should have clarified a little. I do know snmp is working, but i should have mentioned something about the help menu before. I knew it would bring that up becuase there were no arguments. Know what I mean?
Here's the MRTG chart I put up to test:
http://www.e-places.net/mrtg/webs.shtml
Here's the MRTG chart I put up to test:
http://www.e-places.net/mrtg/webs.shtml
Code: Select all
$ snmpwalk -c public -v 1 69.44.56.158 system
SNMPv2-MIB::sysDescr.0 = STRING: Linux ww5.e-places.net 2.4.22-1.2199.nptlsmp #1 SMP Wed Aug 4 11:49:01 EDT 2004 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
SNMPv2-MIB::sysUpTime.0 = Timeticks: (10903408) 1 day, 6:17:14.08
SNMPv2-MIB::sysContact.0 = STRING: Root domains@clanservers.net
SNMPv2-MIB::sysName.0 = STRING: ww5.e-places.net
SNMPv2-MIB::sysLocation.0 = STRING: San Antonio, Texas
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (37) 0:00:00.37
SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.7 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.9 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module to describe generic objects for network interface sub-layers
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (35) 0:00:00.35
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (35) 0:00:00.35
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (35) 0:00:00.35
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (37) 0:00:00.37
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (37) 0:00:00.37
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (37) 0:00:00.37
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (37) 0:00:00.37
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (37) 0:00:00.37
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (37) 0:00:00.37
JT Thompson
Code: Select all
root@ bin]# ./rrdtool
RRDtool 1.2.1 Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Fri May 6 12:13:32 CDT 2005
Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, dump, restore,
last, first, info, fetch, tune, resize, xport
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
JT Thompson
Let me go one step further on this.
Just for testing i wanted to make sure that rrd was working. I ran through their short tutorial and copied the results
http://www.e-places.net/rrd/speed.html
So i do know the functions of rrdtool themself work.
Not that this probably helps at all.
Just for testing i wanted to make sure that rrd was working. I ran through their short tutorial and copied the results
http://www.e-places.net/rrd/speed.html
So i do know the functions of rrdtool themself work.
Not that this probably helps at all.
JT Thompson
I started over from scratch. Installed Cacti on the root of the server so I can eliminate any ensim issues.
Install ran fine, it went green on all paths and found everything.
it STILL returns the same snmp errors. but I know for sure it found rrd
FYI I have also tried to apply this however the option does not exist.
Install ran fine, it went green on all paths and found everything.
it STILL returns the same snmp errors. but I know for sure it found rrd
Code: Select all
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
FYI I have also tried to apply this however the option does not exist.
Code: Select all
If you have files in your 'rra/' directory, but your graphs still appear as broken images, you should enable graph debug mode see exactly why the graphs are not rendering. To do this go into Cacti, select Graph Management from the menu, select any graph listed, and select Turn On Graph Debug Mode.
JT Thompson
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Revert to the 0.8.6c version of lib/snmp.php and post results.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Thanks for the reply.
No change. Now just to clarify, the only file altered was the snmp.php file itself in the var/www/html/cacti/lib directory;
result:
Also, while I did not touch on it before, the rra dir is being populated and updated at the 5 minute intervals i set the cron to. However, those files sizes never change.
Also, when I click on 'add devices' i see in green letters 'UP" on each device. and it shows a min and max. so somewhere it's seeing the device itself.
No change. Now just to clarify, the only file altered was the snmp.php file itself in the var/www/html/cacti/lib directory;
result:
Code: Select all
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
Also, when I click on 'add devices' i see in green letters 'UP" on each device. and it shows a min and max. so somewhere it's seeing the device itself.
JT Thompson
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please run "php -m" and verify that php_snmp is loaded. If not, please insure that Settings->Paths snmpwalk and snmpget are accurate paths.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Hello,
yes I verified those yesterday, and again just now. they work.
Here's something VERY strange.
I figured I'd export the images to a website and just see what happened.
the export worked fine, creating the html, and all images correctly. (they're useles graphs right now, but they work, which is all I care about)
However, they still do not show up in the cacti program itself.
http://www.e-places.net/cacti/
yes I verified those yesterday, and again just now. they work.
Here's something VERY strange.
I figured I'd export the images to a website and just see what happened.
the export worked fine, creating the html, and all images correctly. (they're useles graphs right now, but they work, which is all I care about)
However, they still do not show up in the cacti program itself.
http://www.e-places.net/cacti/
JT Thompson
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You are supposed to schedule the export every "X" minutes and then direct the users to the exported data. With the timespan selector, it is impossible to have that real time.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That's odd.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests