Nan values in CPU and Memory graph
Moderators: Developers, Moderators
Nan values in CPU and Memory graph
Hello
I have install cacti and I can do a lot of graphs, but! The graph CPU Usage and memory usage doesn't work there are the famous NAN values.
When I put the debug mode RRDTOOL says OK!
SO I don't see where is the problem!!
Please help me, cacti is on a windows 2000.
Thanks a lot
I have install cacti and I can do a lot of graphs, but! The graph CPU Usage and memory usage doesn't work there are the famous NAN values.
When I put the debug mode RRDTOOL says OK!
SO I don't see where is the problem!!
Please help me, cacti is on a windows 2000.
Thanks a lot
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
chown is a UNIX/Linux command. My guess is that you can't read English very well as BSOD2600 does Windows and not UNIX/Linux. Sorry, I just needed to jab something this morning. Don't take any offense to it.
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:
Set logging to Medium. Review your Log. Make sure that the user the performs the polling has permissions to update the RRDfiles, not just read them. If the log provides good values and the RRD's are not being updated, then it's a permissions problem. Giving "Everyone" RW access to the RRDfiles, may du that for you.
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:
Set log level to MEDIUM and review Cacti Log output after a poller run. If you get good output, then your problem is a permissions problem.
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?
In cacti log I have that after a poller run :
07/28/2008 03:29:56 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '176', Max Runtime '298', Poller Runs: '1'
07/28/2008 03:29:56 PM - POLLER: Poller[0] NOTE: Scheduled Task is configured to run too often! The Poller Interval is '300' seconds, with a minimum Scheduled Task period of '300' seconds, but only 176 seconds have passed since the poller last ran.
07/28/2008 03:30:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '180', Max Runtime '298', Poller Runs: '1'
07/28/2008 03:30:00 PM - POLLER: Poller[0] NOTE: Scheduled Task is configured to run too often! The Poller Interval is '300' seconds, with a minimum Scheduled Task period of '300' seconds, but only 180 seconds have passed since the poller last ran.
07/28/2008 03:29:56 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '176', Max Runtime '298', Poller Runs: '1'
07/28/2008 03:29:56 PM - POLLER: Poller[0] NOTE: Scheduled Task is configured to run too often! The Poller Interval is '300' seconds, with a minimum Scheduled Task period of '300' seconds, but only 176 seconds have passed since the poller last ran.
07/28/2008 03:30:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '180', Max Runtime '298', Poller Runs: '1'
07/28/2008 03:30:00 PM - POLLER: Poller[0] NOTE: Scheduled Task is configured to run too often! The Poller Interval is '300' seconds, with a minimum Scheduled Task period of '300' seconds, but only 180 seconds have passed since the poller last ran.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
How often are you polling? If not every 5 minutes, it may never run. Can you instead run "php -q poller.php --force" it may be "-f", or "-force" though...
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:
Every 4 minutes is not a good poller interval. Make 5 minutes. Also, please verify the location of the poller.php file. Then, here are your testing criteria:
- 1) login as scheduled task user
2) cd to <path_cacti>
3) run "php -q poller.php -force"
4) look for many oks
5) cd rra
6) verify RRDfiles have good date
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?
When I put Data query processor in mode debug I have that :
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php GX150-B213 7 1:161:500:public:::MD5::DES: index'
+ Executing script query 'c:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php GX150-B213 7 1:161:500:public:::MD5::DES: query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
My rrd files have good date
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php GX150-B213 7 1:161:500:public:::MD5::DES: index'
+ Executing script query 'c:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php GX150-B213 7 1:161:500:public:::MD5::DES: query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
My rrd files have good date
Alright so it found one cpu, is that correct for your system?
Did you click on the 'create graphs' in the top right corner, select the cpu and then create? Waited 10 min before trying to look at the graphs?
Did you click on the 'create graphs' in the top right corner, select the cpu and then create? Waited 10 min before trying to look at the graphs?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests