I am running with the following: fedora core3, cacti-0.8.6b (w/out patches), mysql-4.1.11, php-5.0.4, rrdtool-1.0.49, httpd-2.0.54, and net-snmp-5.1.2.
I followed Lee Carter's "Comprehensive Linux Install Guide" for installation. The install seemed to go fine and I was able to pull up cacti and am successfully automatically graphing localhost stats (load avg, # of logged in users, memory usage, and # processes). This all happened automatically after the install.
I am running into trouble when I try to get cacti to graph a remote host. I installed net-snmp, net-snmp-devel, net-snmp-libs, and net-snmp-utils on the remote host. I did not configure any files and unlike the install I did on the machine running as the cacti server (where I compiled net-snmp), I was not prompted for a snmp version (1,2 or 3). I just installed the rpm pkgs and started snmpd via /etc/init.d/snmpd.
At this point I try adding a device. I pick my remote host and specify a host template of "ucd/net SNMP host" using SMNP v. 1 and the rest of the default options. I click create and it looks like something is working because I get:
System: Linux magichat 2.6.9-1.667 #1 Tue Nov 2 14:41:31 EST 2004 i586
Uptime: 6616660
Hostname: magichat
At this point, I click on create graphs and check the boxes ucd/net - CPU Usage, ucd/net - Load Average, and ucd/net - Memory Usage and I get a message on the next page claiming my graphs have been created. I go to "graph management" wait for awhile and my graphs appear but they are blank (i.e. not graphing data).
At this point i'm not sure how to troubleshoot further, but I did try to run the poller (see output below). What do you guys think my problem is? Do I need to specify a specific snmp version in snmp.conf on my remote machine? Should I have compiled net-snmp instead of using the rpm? Am I just missing some mib on my remote host? I am a lost cacti newbie. There must be something I am doing fundamentally wrong? Thanks for the help.
[cactiuser@toolshed ~]$ /www/php/bin/php /www/htdocs/cacti/poller.php
OK u:0.01 s:0.03 r:4.00
OK u:0.01 s:0.03 r:4.00
OK u:0.01 s:0.03 r:4.01
OK u:0.01 s:0.04 r:4.02
OK u:0.01 s:0.04 r:4.02
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::ssCpuRawNice.0
OK u:0.01 s:0.04 r:6.07
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::ssCpuRawSystem.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::ssCpuRawUser.0
OK u:0.01 s:0.04 r:7.11
OK u:0.01 s:0.04 r:7.11
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::laLoad.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::laLoad.3
OK u:0.02 s:0.04 r:8.16
OK u:0.02 s:0.04 r:8.17
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::laLoad.2
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::memBuffer.0
OK u:0.02 s:0.05 r:9.21
OK u:0.02 s:0.05 r:9.22
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::memCached.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::memAvailReal.0
OK u:0.02 s:0.05 r:10.26
OK u:0.02 s:0.05 r:10.26
04/28/2005 02:19:53 PM - SYSTEM STATS: Time: 10.5609 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
I *think* I am getting blank graphs due to an snmp problem
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Looks more like the agent that you are polling does not have a certain number of OID's.
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: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It requires configuration. Others here can help you with that.
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?
yup. As it turns out, installing snmp via rpm and starting up snmpd without making any conf changes doesn't cut it. You need to configure /etc/snmp/snmpd.conf. Apparently, by default snmpd won't answer snmp request for certain mibs, even if they are installed.
I used to snmpconf to generate an snmpd.conf file.
Now when I run the poller, it appears to be working:
[cactiuser@toolshed ~]$ /www/php/bin/php /www/htdocs/cacti/poller.php OK u:0.01 s:0.03 r:4.12
OK u:0.01 s:0.03 r:4.13
OK u:0.01 s:0.03 r:4.14
OK u:0.01 s:0.03 r:4.14
OK u:0.01 s:0.03 r:4.15
OK u:0.01 s:0.04 r:6.20
OK u:0.01 s:0.04 r:7.24
OK u:0.01 s:0.05 r:7.25
OK u:0.02 s:0.05 r:8.28
OK u:0.02 s:0.05 r:8.29
OK u:0.02 s:0.05 r:9.33
OK u:0.02 s:0.06 r:9.34
OK u:0.02 s:0.06 r:10.38
OK u:0.02 s:0.06 r:10.39
04/29/2005 11:03:11 AM - SYSTEM STATS: Time: 10.5913 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
04/29/2005 11:03:12 AM - POLLER: Poller[0] Host[10] WARNING: Recache Event Detected for Host
04/29/2005 11:03:19 AM - RECACHE: Poller[0] STATS: Time: 7.5940 s, Hosts Recached: 1
I used to snmpconf to generate an snmpd.conf file.
Now when I run the poller, it appears to be working:
[cactiuser@toolshed ~]$ /www/php/bin/php /www/htdocs/cacti/poller.php OK u:0.01 s:0.03 r:4.12
OK u:0.01 s:0.03 r:4.13
OK u:0.01 s:0.03 r:4.14
OK u:0.01 s:0.03 r:4.14
OK u:0.01 s:0.03 r:4.15
OK u:0.01 s:0.04 r:6.20
OK u:0.01 s:0.04 r:7.24
OK u:0.01 s:0.05 r:7.25
OK u:0.02 s:0.05 r:8.28
OK u:0.02 s:0.05 r:8.29
OK u:0.02 s:0.05 r:9.33
OK u:0.02 s:0.06 r:9.34
OK u:0.02 s:0.06 r:10.38
OK u:0.02 s:0.06 r:10.39
04/29/2005 11:03:11 AM - SYSTEM STATS: Time: 10.5913 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
04/29/2005 11:03:12 AM - POLLER: Poller[0] Host[10] WARNING: Recache Event Detected for Host
04/29/2005 11:03:19 AM - RECACHE: Poller[0] STATS: Time: 7.5940 s, Hosts Recached: 1
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You should udate to Cacti 0.8.6d. "b" has major issues.
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?
Who is online
Users browsing this forum: No registered users and 2 guests