RRD file is updated, however graph is blank
Moderators: Developers, Moderators
RRD file is updated, however graph is blank
Is anyone else experiencing an issue where RRD file is updated because the current time is there after running the poller, however the graph is blank. Like there's no values in the actual rrd file. This is specifically for an Interface graph. Any assistance appreciated. Thanks.
Here's the debug for the graph:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1153184731 \
--end=1153271131 \
--title="Server- Traffic - 192.168.1.17 (eth0)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2006/07/17 18:05:31 To 2006/07/18 18:05:31\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
DEF:a="/usr/share/cacti/rra/Server_traffic_in_193.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/rra/Server_traffic_in_193.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1153184731 \
--end=1153271131 \
--title="Server- Traffic - 192.168.1.17 (eth0)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2006/07/17 18:05:31 To 2006/07/18 18:05:31\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
DEF:a="/usr/share/cacti/rra/Server_traffic_in_193.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/rra/Server_traffic_in_193.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
I saw the following in the logs:
07/18/2006 04:00:06 PM - CMDPHP: Poller[0] Host[22] DS[192] SNMP: v2: server1.host.com, dsname: traffic_out, oid: .1.3.
6.1.2.1.31.1.1.1.10.2, output: U
So I ran snmpwalk against the OID:
snmpwalk -c public -v 1 localhost .1.3.6.1.2.1.31.1.1.1.10.2
And nothing came up. How do I change the OID? In the datasources??
07/18/2006 04:00:06 PM - CMDPHP: Poller[0] Host[22] DS[192] SNMP: v2: server1.host.com, dsname: traffic_out, oid: .1.3.
6.1.2.1.31.1.1.1.10.2, output: U
So I ran snmpwalk against the OID:
snmpwalk -c public -v 1 localhost .1.3.6.1.2.1.31.1.1.1.10.2
And nothing came up. How do I change the OID? In the datasources??
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
try the same with v2c? Also check your timeout, although I don't think that is it. I guess what I am saying is that the devices likely does not support v2c.
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?
snmpwalk -c public -v2c localhost .1.3.6.1.2.1.31.1.1.1.10.2
IF-MIB::ifHCOutOctets.2 = No Such Object available on this agent at this OID
However, if I put in another OID, it goes.....
snmpwalk -c public -v2c localhost .1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 55056975465323
So what do I need to modify?? Is Cacti using the wrong OID?
IF-MIB::ifHCOutOctets.2 = No Such Object available on this agent at this OID
However, if I put in another OID, it goes.....
snmpwalk -c public -v2c localhost .1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 55056975465323
So what do I need to modify?? Is Cacti using the wrong OID?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You have selected a 64-bit counter graph. It would appear as though your host does not support 64-bit counters. Please create a graph using the "bit/sec" instead. Cacti is NOT using the wrong OID, you are, by the by.
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:
Hmm, with the new graphs created, please turn logging to medium and run 1 poller pass. Post the results. Also, within the host, perform a verbose requery of the device and post 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?
How do I run one poller pass? Is this it??
07/19/2006 10:30:06 AM - CMDPHP: Poller[0] Host[22] DS[193] SNMP: v2: server.domain.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 0
07/19/2006 10:30:06 AM - CMDPHP: Poller[0] Host[22] DS[193] SNMP: v2: server.domain.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 0
From the actual host:
snmpwalk -c public -v 1 localhost .1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifInOctets.2 = Counter32: 2345351670581
snmpwalk -c public -v 1 localhost .1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 55186340528955
snmpwalk -c public -v2c localhost .1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 55186357664546
Hmmm...... On the poller above, the "output" is 0. Is that the problem? What's wrong?? Is the traffic too high? Do I need to increase something? Any help is appreciated. Thanks =)
07/19/2006 10:30:06 AM - CMDPHP: Poller[0] Host[22] DS[193] SNMP: v2: server.domain.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 0
07/19/2006 10:30:06 AM - CMDPHP: Poller[0] Host[22] DS[193] SNMP: v2: server.domain.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 0
From the actual host:
snmpwalk -c public -v 1 localhost .1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifInOctets.2 = Counter32: 2345351670581
snmpwalk -c public -v 1 localhost .1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 55186340528955
snmpwalk -c public -v2c localhost .1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 55186357664546
Hmmm...... On the poller above, the "output" is 0. Is that the problem? What's wrong?? Is the traffic too high? Do I need to increase something? Any help is appreciated. Thanks =)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, please try using snmpv1 instead. Very odd though, can you also run "php -m" and post the output.
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?
I get an SNMP error when I switch to SNMPv1. So I have to use V. 2. Thanks for your consistent help!! Much appreciated....
`php -m` from the host where cacti is on:
[PHP Modules]
bcmath
bz2
calendar
ctype
dba
dbx
domxml
exif
filepro
ftp
gd
gettext
iconv
imagick
imap
ldap
mbstring
mcal
mcrypt
mhash
mime_magic
mysql
ncurses
openssl
overload
pcntl
pcre
posix
session
shmop
snmp
sockets
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlrpc
yp
zip
zlib
[Zend Modules]
`php -m` from the host where cacti is on:
[PHP Modules]
bcmath
bz2
calendar
ctype
dba
dbx
domxml
exif
filepro
ftp
gd
gettext
iconv
imagick
imap
ldap
mbstring
mcal
mcrypt
mhash
mime_magic
mysql
ncurses
openssl
overload
pcntl
pcre
posix
session
shmop
snmp
sockets
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlrpc
yp
zip
zlib
[Zend Modules]
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Just to eliminate all doupt, turn off php_snmp support in php by editing the php.ini file (if that's possible in Linux), then run it using the native net-snmp binaries. You may have a build problem with php_snmp.
TheWitness
p.s. you can also force this in the include/config.php file by making one manual edit. Pretty self explanitory once you review the file.
TheWitness
p.s. you can also force this in the include/config.php file by making one manual edit. Pretty self explanitory once you review the file.
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:
Which host is it? What poller are you using?
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 0 guests