Missing rrd-files
Moderators: Developers, Moderators
Missing rrd-files
Hi
I am running Cacti 0.8.6c with rrd-tool 1.0.49 on Solaris. I wish to report on MS Exchange OID's and so I defined the necessary data source/query and template. The graph is nicely there with the variable/OID I wish to poll. Nevertheless, the data is not present. After checking a few things, the rrd-file that should have been created, is not there in the filesystem whereas cacti named it in the datasource.
Anyone an idea?
Thanks a lot.
I am running Cacti 0.8.6c with rrd-tool 1.0.49 on Solaris. I wish to report on MS Exchange OID's and so I defined the necessary data source/query and template. The graph is nicely there with the variable/OID I wish to poll. Nevertheless, the data is not present. After checking a few things, the rrd-file that should have been created, is not there in the filesystem whereas cacti named it in the datasource.
Anyone an idea?
Thanks a lot.
Is any valid data being returned from the OID (turn on debugging and look in the log) ?
| 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 |
This exact same thing is happening to me. I have just installed this and there isn't a single rrd being created in the rra/ folder. The only error message i get in my apache log file is *.rrd': No such file or directory.
I also have Graph Debugging on and this is the error that i get next to the red X
ERROR: opening '/usr/local/src/cacti-0.8.6f/rra/sbs02_snmp_oid_28.rrd': No such file or directory
The only thing that i get in the cacti log is the info from the poller.php What could possibly be going on that is not letting the system create rrd files?
I also have Graph Debugging on and this is the error that i get next to the red X
ERROR: opening '/usr/local/src/cacti-0.8.6f/rra/sbs02_snmp_oid_28.rrd': No such file or directory
The only thing that i get in the cacti log is the info from the poller.php What could possibly be going on that is not letting the system create rrd files?
Debug
Ok, but which debugging exactly? (sorry, I am rather new to Cacti)BSOD2600 wrote:Is any valid data being returned from the OID (turn on debugging and look in the log) ?
Running the dataquery in verbose gives me the right value for the requested OID.
I put the poller in debug and verified the contents for the device in question.BSOD2600 wrote:Is any valid data being returned from the OID (turn on debugging and look in the log) ?
(see attached). There is not even reference to the necessary rrd file although the data source for this item clearly shows <path_rra>/sgntstr14_xchgpercentcpu_301.rrd.
- Attachments
-
- debug.txt
- (0 Bytes) Downloaded 140 times
Herman wrote:I put the poller in debug and verified the contents for the device in question.BSOD2600 wrote:Is any valid data being returned from the OID (turn on debugging and look in the log) ?
(see attached). There is not even reference to the necessary rrd file although the data source for this item clearly shows <path_rra>/sgntstr14_xchgpercentcpu_301.rrd.
- Attachments
-
- debug.txt
- (8.64 KiB) Downloaded 554 times
08/26/2005 09:05:19 AM - CMDPHP: Poller[0] Host[13] CMD: perl /opt/cacti/cacti-0.8.6c/scripts/w32_exch_query_isstats.pl SGNTSTR14 get ActiveUserCount,UserCount, output: U
There is your problem and why a rrd file has not been created. No valid data has been returned.
If you manually run that command, does it return anything? You might need to run dcomcnfg and change your security settings so it will work for remote users.
There is your problem and why a rrd file has not been created. No valid data has been returned.
If you manually run that command, does it return anything? You might need to run dcomcnfg and change your security settings so it will work for remote users.
| 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 |
Thanks for your reply, but that is a downloaded template, not my data query. Actually I wish to get my data with a plain SNMP query, no script/cmd.BSOD2600 wrote:08/26/2005 09:05:19 AM - CMDPHP: Poller[0] Host[13] CMD: perl /opt/cacti/cacti-0.8.6c/scripts/w32_exch_query_isstats.pl SGNTSTR14 get ActiveUserCount,UserCount, output: U
There is your problem and why a rrd file has not been created. No valid data has been returned.
If you manually run that command, does it return anything? You might need to run dcomcnfg and change your security settings so it will work for remote users.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It should still create the rrd file with unknown data. Please run "php poller.php" from the command line and paste it's output into the forum (attachment). You can have the setting set to LOW for this test.
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?
Thanks for looking into this. The requested PHP-output is attached. For some reason it complaints about "Can't open perl script "/opt/cacti/cacti-0.8.6c/scripts/w32_exch_query_isstats.pl": No such file or directory". But that was an imported template which has nothing to do with the snmp query I am running and which is not the problem.TheWitness wrote:It should still create the rrd file with unknown data. Please run "php poller.php" from the command line and paste it's output into the forum (attachment). You can have the setting set to LOW for this test.
TheWitness
I use SNMP or SNMP query as Data Input Method and use a simple query <path_cacti>/resource/snmp_queries/snmp_exchange.xml to fetch the Exchange CPU OID. Nothing fancy. Only the rrd file that was named by cacti is not in the rra directory.
- Attachments
-
- poller_php.txt
- (12.93 KiB) Downloaded 160 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
for the host that is giving you problems, run the following:
php <path_cacti>/cmd.php <host_id> <host_id>
Run it in DEBUG. You will be enlightened.
TheWitness
php <path_cacti>/cmd.php <host_id> <host_id>
Run it in DEBUG. You will be enlightened.
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?
OUTPUT OF THE COMMAND:
$ php /opt/cacti/cacti-0.8.6c/cmd.php 10.1.1.14
#!/usr/bin/php -q
Notice: Undefined variable: polling_items in /opt/cacti/cacti-0.8.6c/cmd.php on line 97
I checked "debug" for the log as you said. Now, I do not even get any entry in the log for the target host apparently.
I am still not "enlightened"...
$ php /opt/cacti/cacti-0.8.6c/cmd.php 10.1.1.14
#!/usr/bin/php -q
Notice: Undefined variable: polling_items in /opt/cacti/cacti-0.8.6c/cmd.php on line 97
I checked "debug" for the log as you said. Now, I do not even get any entry in the log for the target host apparently.
I am still not "enlightened"...
You did not follow the syntax TheWitness gave you. Host_ID is interal to cacti, no its IP. Look through the log file for which host(s) are giving you problems. Pay attention to what host number is. Then re-run the command TheWitness told you.
| 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 |
Xcuse me, but what is the syntax, there is 2 times <host_id> in the command, which is which? The troublesome host should be "Host[13]".BSOD2600 wrote:You did not follow the syntax TheWitness gave you. Host_ID is interal to cacti, no its IP. Look through the log file for which host(s) are giving you problems. Pay attention to what host number is. Then re-run the command TheWitness told you.
Who is online
Users browsing this forum: No registered users and 4 guests