can't create graphs for one device only
Moderators: Developers, Moderators
can't create graphs for one device only
Dear Cacti community,
looking for your expertise.
I've been running cacti 1.2.21
Cacti Version 1.2.21
Cacti OS unix
NET-SNMP Version NET-SNMP version: 5.7.2
RRDtool Version Configured 1.4.0+
RRDtool Version Found 1.4.8
Devices 730
Graphs 33,886
Data Sources Script/Command: 5
SNMP Get: 360
SNMP Query: 33,276
Total: 33,641
and can't figure out of creating graphs for one Cisco 4500 series switch. I have all of the devices running well - all graphs and statistic but this particular C4500 switch is something strange.
When I add this device to cacti it can read the snmp info and provide me the list of interfaces When I create the graphs for some of interfaces it goes well, graphs are not created: debug graph mode says:
RRDtool Says:
ERROR: opening '/usr/share/cacti/rra/xxxx_traffic_in_43836.rrd': No such file or directory
and indeed there are no files for this device in rra directory.
It looks really strange but old cacti 0.8.8c can monitor this Cisco 4500 very well
What I tried so far:
- changed the graph template and device template (found old C4500) but no luck;
- tried snmpwalk from cacti and I get a lot of data, ping and snmp work well;
- changed the C4500 ip interface
- I use spine as poller, tried to switch to cmd.php but no luck
If anyone has an idea how to fix it, I'd appreciate your help!
looking for your expertise.
I've been running cacti 1.2.21
Cacti Version 1.2.21
Cacti OS unix
NET-SNMP Version NET-SNMP version: 5.7.2
RRDtool Version Configured 1.4.0+
RRDtool Version Found 1.4.8
Devices 730
Graphs 33,886
Data Sources Script/Command: 5
SNMP Get: 360
SNMP Query: 33,276
Total: 33,641
and can't figure out of creating graphs for one Cisco 4500 series switch. I have all of the devices running well - all graphs and statistic but this particular C4500 switch is something strange.
When I add this device to cacti it can read the snmp info and provide me the list of interfaces When I create the graphs for some of interfaces it goes well, graphs are not created: debug graph mode says:
RRDtool Says:
ERROR: opening '/usr/share/cacti/rra/xxxx_traffic_in_43836.rrd': No such file or directory
and indeed there are no files for this device in rra directory.
It looks really strange but old cacti 0.8.8c can monitor this Cisco 4500 very well
What I tried so far:
- changed the graph template and device template (found old C4500) but no luck;
- tried snmpwalk from cacti and I get a lot of data, ping and snmp work well;
- changed the C4500 ip interface
- I use spine as poller, tried to switch to cmd.php but no luck
If anyone has an idea how to fix it, I'd appreciate your help!
Re: can't create graphs for one device only
On the console, click on Troubleshooting, and enable debugging for that data source. That should help see where things are failing.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: can't create graphs for one device only
Those nasty old 4500's are notoriously buggy with their SNMP agent support. You may have to reduce the MAX OID's to 1 to make it work well.
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:
Re: can't create graphs for one device only
One interesting way to debug this is by running spine in read only mode:
Code: Select all
./spine -R -V 5 -S -f device_id -l device_id
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?
Re: can't create graphs for one device only
it does not tell me any hints
Re: can't create graphs for one device only
Thats not the Troubleshooter. Look again.
Re: can't create graphs for one device only
Thanks, I set MAX OID's to 1 and no luck so far.TheWitness wrote: ↑Wed Aug 10, 2022 10:46 am Those nasty old 4500's are notoriously buggy with their SNMP agent support. You may have to reduce the MAX OID's to 1 to make it work well.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: can't create graphs for one device only
Do the spine thingy then.
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:
Re: can't create graphs for one device only
What's worrisome is that the traffic_in and traffic_out data sources are not in the RRDfile. Can you post an rrdtool info filename for one of those RRDfiles?
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?
Re: can't create graphs for one device only
I think its not in the file, as the file doesn't exist (it doesn't create it until its actually polled)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: can't create graphs for one device only
Okay, got it Jimmy. Then, the next steps are:
1) Check the poller cache to make sure the entries exist. Rebuild it for the host (upper right corner of device edit page)
2) Test spine side band to ensure that the device is responding properly to pings and getting good data.
3) Be warry of 'Reindex Checks' that will insert unknown data into the RRDfiles. Though they don't exist, so that would not be a good cause.
1) Check the poller cache to make sure the entries exist. Rebuild it for the host (upper right corner of device edit page)
2) Test spine side band to ensure that the device is responding properly to pings and getting good data.
3) Be warry of 'Reindex Checks' that will insert unknown data into the RRDfiles. Though they don't exist, so that would not be a good cause.
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?
Re: can't create graphs for one device only
I replaced the device id with xxxTheWitness wrote: ↑Wed Aug 10, 2022 11:50 am What's worrisome is that the traffic_in and traffic_out data sources are not in the RRDfile. Can you post an rrdtool info filename for one of those RRDfiles?
Code: Select all
RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-60' \
--pango-markup \
--title='xxx-xx-VSS-xxx - Traffic - Te1/1/9' \
--vertical-label='bits per second' \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--rigid \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 09/Aug/2022 16\:56\:47 To 10/Aug/2022 16\:55\:47\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border $rrdborder --font TITLE:12: \
--font AXIS:10: \
--font LEGEND:12: \
--font UNIT:10: \
--font WATERMARK:8: \
--slope-mode \
--watermark 'Generated by Cacti®' \
DEF:a='/usr/share/cacti/rra/xxx-xx-vss-xxx_traffic_in_43854.rrd':'traffic_in':AVERAGE \
DEF:b='/usr/share/cacti/rra/xxx-xx-vss-xxx_traffic_in_43854.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdeff='b,8,*' \
LINE1:cdefa#00CF00FF: \
AREA:cdefa#00CF007F:'Inbound ' \
GPRINT:cdefa:LAST:'Current\:%8.2lf%s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf%s\n' \
LINE1:cdeff#002A977F:'Outbound' \
LINE1:cdeff#002A97FF: \
GPRINT:cdeff:LAST:'Current\:%8.2lf%s' \
GPRINT:cdeff:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdeff:MAX:'Maximum\:%8.2lf%s'
RRDtool Command lengths = 1271 charaters.
RRDtool Says:
ERROR: opening '/usr/share/cacti/rra/xxx-ab-xxx-xxx_traffic_in_43854.rrd': No such file or directory
Re: can't create graphs for one device only
1. looks good to me 2. snmp and ping responded well 3. I tried to remove and re-added this device, re-indexed it without any luck so farTheWitness wrote: ↑Wed Aug 10, 2022 11:59 am Okay, got it Jimmy. Then, the next steps are:
1) Check the poller cache to make sure the entries exist. Rebuild it for the host (upper right corner of device edit page)
2) Test spine side band to ensure that the device is responding properly to pings and getting good data.
3) Be warry of 'Reindex Checks' that will insert unknown data into the RRDfiles. Though they don't exist, so that would not be a good cause.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: can't create graphs for one device only
You still have not sent the rrdtool info filename output, or run spine the way I asked you to.
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