Hi Mates,
Version of cacti : cacti-1.2.22
I'm encountering a problem on cacti with my CPU graphs, everthing turn to black 100% or Blank
You can see in attachment an example from one server, it was working before.. only CPU encountering an issue.
i tried the OID from the cacti server to my linux client with snmpwalk, seems no problem at all.
[root@XXXXXX ~]# snmpwalk -v 2c -c public XXXXX .1.3.6.1.4.1.2021.11.52.0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1383738077
[root@XXXXXX ~]# snmpwalk -v 2c -c public XXXXX .1.3.6.1.4.1.2021.11.54.0
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 966256650
I'm using from datasources :
ucd_ssCpuRawIdle
ucd_ssCpuRawNice
ucd_ssCpuRawSystem
ucd_ssCpuRawUser
ucd_ssCpuRawWait
Thanks in advance for your feedback if you have any idea..
All CPU graph Black 100% or Blank
Moderators: Developers, Moderators
All CPU graph Black 100% or Blank
- Attachments
-
- Capture d'écran 2024-04-08 152028.png (21.58 KiB) Viewed 2035 times
-
- Capture d'écran 2024-05-06 163030.png (126.76 KiB) Viewed 2035 times
Re: All CPU graph Black 100% or Blank
For some reason.. i found the problem was Min and Max values who were setted to 0 instead of U... why .. i don't know..
Do you know guys who to update all my datasources already setted and indexed from all servers without deleting and recreating everything ?
Do you know guys who to update all my datasources already setted and indexed from all servers without deleting and recreating everything ?
Re: All CPU graph Black 100% or Blank
Attachment :
- Attachments
-
- Capture d'écran 2024-05-06 dddd.png (141.79 KiB) Viewed 2029 times
Re: All CPU graph Black 100% or Blank
I tried something like that but it doesn't work..
for i in `cat /tmp/client.txt` ; do
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawidle_*.rrd --minimum ucd_ssCpuRawIdle:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawidle_*.rrd --maximum ucd_ssCpuRawIdle:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawsystem_*.rrd --minimum ucd_ssCpuRawSystem:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawsystem_*.rrd --maximum ucd_ssCpuRawSystem:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawuser_*.rrd --minimum ucd_ssCpuRawUser:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawuser_*.rrd --maximum ucd_ssCpuRawUser:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawwait_*.rrd --minimum ucd_ssCpuRawWait:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawwait_*.rrd --maximum ucd_ssCpuRawWait:U
done
ERROR: unknown data source name 'ucd_ssCpuRawSystem'
ERROR: unknown data source name 'ucd_ssCpuRawSystem'
ERROR: unknown data source name 'ucd_ssCpuRawUser'
ERROR: unknown data source name 'ucd_ssCpuRawUser'
ERROR: unknown data source name 'ucd_ssCpuRawWait'
ERROR: unknown data source name 'ucd_ssCpuRawWait'
ERROR: unknown data source name 'ucd_ssCpuRawIdle'
ERROR: unknown data source name 'ucd_ssCpuRawIdle'
ERROR: unknown data source name 'ucd_ssCpuRawSystem'
ERROR: unknown data source name 'ucd_ssCpuRawSystem'
ERROR: unknown data source name 'ucd_ssCpuRawUser'
ERROR: unknown data source name 'ucd_ssCpuRawUser'
ERROR: unknown data source name 'ucd_ssCpuRawWait'
ERROR: unknown data source name 'ucd_ssCpuRawWait'
Any idea ?
for i in `cat /tmp/client.txt` ; do
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawidle_*.rrd --minimum ucd_ssCpuRawIdle:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawidle_*.rrd --maximum ucd_ssCpuRawIdle:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawsystem_*.rrd --minimum ucd_ssCpuRawSystem:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawsystem_*.rrd --maximum ucd_ssCpuRawSystem:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawuser_*.rrd --minimum ucd_ssCpuRawUser:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawuser_*.rrd --maximum ucd_ssCpuRawUser:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawwait_*.rrd --minimum ucd_ssCpuRawWait:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/$i_ucd_sscpurawwait_*.rrd --maximum ucd_ssCpuRawWait:U
done
ERROR: unknown data source name 'ucd_ssCpuRawSystem'
ERROR: unknown data source name 'ucd_ssCpuRawSystem'
ERROR: unknown data source name 'ucd_ssCpuRawUser'
ERROR: unknown data source name 'ucd_ssCpuRawUser'
ERROR: unknown data source name 'ucd_ssCpuRawWait'
ERROR: unknown data source name 'ucd_ssCpuRawWait'
ERROR: unknown data source name 'ucd_ssCpuRawIdle'
ERROR: unknown data source name 'ucd_ssCpuRawIdle'
ERROR: unknown data source name 'ucd_ssCpuRawSystem'
ERROR: unknown data source name 'ucd_ssCpuRawSystem'
ERROR: unknown data source name 'ucd_ssCpuRawUser'
ERROR: unknown data source name 'ucd_ssCpuRawUser'
ERROR: unknown data source name 'ucd_ssCpuRawWait'
ERROR: unknown data source name 'ucd_ssCpuRawWait'
Any idea ?
Re: All CPU graph Black 100% or Blank
Solved myself
for addr in $(cat /tmp/client.txt)
do
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawidle_*.rrd --minimum ucd_ssCpuRawIdle:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawidle_*.rrd --maximum ucd_ssCpuRawIdle:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawsystem_*.rrd --minimum ucd_ssCpuRawSystem:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawsystem_*.rrd --maximum ucd_ssCpuRawSystem:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawuser_*.rrd --minimum ucd_ssCpuRawUser:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawuser_*.rrd --maximum ucd_ssCpuRawUser:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawwait_*.rrd --minimum ucd_ssCpuRawWait:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawwait_*.rrd --maximum ucd_ssCpuRawWait:U
done
Maybe it can helps someone..
for addr in $(cat /tmp/client.txt)
do
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawidle_*.rrd --minimum ucd_ssCpuRawIdle:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawidle_*.rrd --maximum ucd_ssCpuRawIdle:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawsystem_*.rrd --minimum ucd_ssCpuRawSystem:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawsystem_*.rrd --maximum ucd_ssCpuRawSystem:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawuser_*.rrd --minimum ucd_ssCpuRawUser:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawuser_*.rrd --maximum ucd_ssCpuRawUser:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawwait_*.rrd --minimum ucd_ssCpuRawWait:U
/bin/rrdtool tune /cac0x00/prd/local/cacti-1.2.22/rra/"$addr"_ucd_sscpurawwait_*.rrd --maximum ucd_ssCpuRawWait:U
done
Maybe it can helps someone..
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: All CPU graph Black 100% or Blank
Use rrdtool info command to see the data source names.
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 1 guest