Hello,
I've created a new device and some of the RRD charts are not being created.
What should I check.
Thank you
Failed to open data file
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Failed to open data file
Check the poller cache for the items in question. If there are no items, re-push out the device. You can do that when editing the device. It may just be that not enough time has passed.
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: Failed to open data file
I am sending a dump from the View Poller Cache, it looks like the items are duplicated.
I have re-saved the device and no change, the charts have not been created.
I have re-saved the device and no change, the charts have not been created.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Failed to open data file
Run spine in debug mode and see that you are getting output
./spine -R -V 3 -S -f host_id -l host_id
./spine -R -V 3 -S -f host_id -l host_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: Failed to open data file
I ran the command: ./spine -R -V 3 -S -f 438 -l 438
Output:
Total[0.6350] Spine will support multithread device polling.
Total[0.6352] DEBUG: Initial Value of Available Threads is 100 (0 outstanding)
Total[0.6354] DEBUG: Available Threads is 99 (1 outstanding)
Total[0.6357] DEBUG: Available Threads is 98 (2 outstanding)
Total[0.6359] DEBUG: Available Threads is 97 (3 outstanding)
Total[0.6361] DEBUG: Available Threads is 96 (4 outstanding)
Total[0.6365] DEBUG: Available Threads is 95 (5 outstanding)
Total[0.6368] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.6369] Device[0] HT[1] Total Time: 0.00082 Seconds
Total[0.6376] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.6376] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.6405] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.6972] Device[438] HT[1] DQ[1] Legacy Uptime Result: 114003698, Is Numeric: 1
Total[0.7012] Device[438] HT[2] DQ[1] Legacy Uptime Result: 114003698, Is Numeric: 1
Total[0.7053] Device[438] HT[3] DQ[1] Legacy Uptime Result: 114003698, Is Numeric: 1
Total[0.7170] Device[438] HT[4] DQ[1] Legacy Uptime Result: 114003700, Is Numeric: 1
Total[0.7271] Device[438] HT[1] DQ[1] Extended Uptime Result: 114001700, Is Numeric: 1
Total[0.7271] Device[438] HT[1] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert: 113973000 < output: 114001700)
Total[0.7283] Device[438] HT[1] NOTE: There are '5' Polling Items for this Device
Total[0.7283] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.7312] Device[438] HT[2] DQ[1] Extended Uptime Result: 114001700, Is Numeric: 1
Total[0.7312] Device[438] HT[2] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert: 113973000 < output: 114001700)
Total[0.7324] Device[438] HT[2] NOTE: There are '5' Polling Items for this Device
Total[0.7324] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.7353] Device[438] HT[3] DQ[1] Extended Uptime Result: 114001700, Is Numeric: 1
Total[0.7353] Device[438] HT[3] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert: 113973000 < output: 114001700)
Total[0.7365] Device[438] HT[3] NOTE: There are '5' Polling Items for this Device
Total[0.7366] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.7455] Device[438] HT[4] DQ[1] Extended Uptime Result: 114001700, Is Numeric: 1
Total[0.7455] Device[438] HT[4] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert: 113973000 < output: 114001700)
Total[0.7461] Device[438] HT[4] NOTE: There are '5' Polling Items for this Device
Total[0.7461] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.7937] Device[438] HT[1] DS[7432] TT[37.85] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.1, value: 83529826
Total[0.7937] Device[438] HT[1] DS[7432] TT[37.88] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.1, value: 49737125
Total[0.7937] Device[438] HT[1] DS[7433] TT[37.89] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.2, value: 279907571
Total[0.7937] Device[438] HT[1] DS[7433] TT[37.91] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.2, value: 466449640
Total[0.7937] Device[438] HT[1] DS[7434] TT[37.92] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.3, value: 15353931336
Total[0.7939] Device[438] HT[1] Total Time: 0.16 Seconds
Total[0.8306] Device[438] HT[2] DS[7434] TT[71.98] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.3, value: 33239979257
Total[0.8306] Device[438] HT[2] DS[7435] TT[72.01] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.4, value: 32574854041
Total[0.8306] Device[438] HT[2] DS[7435] TT[72.02] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4, value: 14103746904
Total[0.8307] Device[438] HT[2] DS[7436] TT[72.10] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.5, value: 27930266
Total[0.8307] Device[438] HT[2] DS[7436] TT[72.11] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.5, value: 16518446
Total[0.8309] Device[438] HT[2] Total Time: 0.19 Seconds
Total[0.8521] Device[438] HT[3] DS[7437] TT[90.09] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.6, value: 12749886
Total[0.8522] Device[438] HT[3] DS[7437] TT[90.12] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.6, value: 38705183
Total[0.8522] Device[438] HT[3] DS[7438] TT[90.14] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.7, value: 5415596
Total[0.8522] Device[438] HT[3] DS[7438] TT[90.15] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.7, value: 11640540
Total[0.8522] Device[438] HT[3] DS[7439] TT[90.16] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.8, value: 216564706
Total[0.8523] Device[438] HT[3] Total Time: 0.22 Seconds
Total[0.8816] Device[438] HT[4] DS[7434] TT[109.83] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.3, value: 33239979387
Total[0.8816] Device[438] HT[4] DS[7434] TT[109.86] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.3, value: 15353932080
Total[0.8816] Device[438] HT[4] DS[7433] TT[109.87] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.2, value: 466450384
Total[0.8817] Device[438] HT[4] DS[7433] TT[109.88] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.2, value: 279908139
Total[0.8817] Device[438] HT[4] DS[7432] TT[109.89] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.1, value: 49737125
Total[0.8818] Device[438] HT[4] Total Time: 0.24 Seconds
Total[1.1738] Time: 1.1736 s, Threads: 100, Devices: 2
Output:
Total[0.6350] Spine will support multithread device polling.
Total[0.6352] DEBUG: Initial Value of Available Threads is 100 (0 outstanding)
Total[0.6354] DEBUG: Available Threads is 99 (1 outstanding)
Total[0.6357] DEBUG: Available Threads is 98 (2 outstanding)
Total[0.6359] DEBUG: Available Threads is 97 (3 outstanding)
Total[0.6361] DEBUG: Available Threads is 96 (4 outstanding)
Total[0.6365] DEBUG: Available Threads is 95 (5 outstanding)
Total[0.6368] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.6369] Device[0] HT[1] Total Time: 0.00082 Seconds
Total[0.6376] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.6376] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.6405] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.6972] Device[438] HT[1] DQ[1] Legacy Uptime Result: 114003698, Is Numeric: 1
Total[0.7012] Device[438] HT[2] DQ[1] Legacy Uptime Result: 114003698, Is Numeric: 1
Total[0.7053] Device[438] HT[3] DQ[1] Legacy Uptime Result: 114003698, Is Numeric: 1
Total[0.7170] Device[438] HT[4] DQ[1] Legacy Uptime Result: 114003700, Is Numeric: 1
Total[0.7271] Device[438] HT[1] DQ[1] Extended Uptime Result: 114001700, Is Numeric: 1
Total[0.7271] Device[438] HT[1] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert: 113973000 < output: 114001700)
Total[0.7283] Device[438] HT[1] NOTE: There are '5' Polling Items for this Device
Total[0.7283] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.7312] Device[438] HT[2] DQ[1] Extended Uptime Result: 114001700, Is Numeric: 1
Total[0.7312] Device[438] HT[2] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert: 113973000 < output: 114001700)
Total[0.7324] Device[438] HT[2] NOTE: There are '5' Polling Items for this Device
Total[0.7324] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.7353] Device[438] HT[3] DQ[1] Extended Uptime Result: 114001700, Is Numeric: 1
Total[0.7353] Device[438] HT[3] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert: 113973000 < output: 114001700)
Total[0.7365] Device[438] HT[3] NOTE: There are '5' Polling Items for this Device
Total[0.7366] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.7455] Device[438] HT[4] DQ[1] Extended Uptime Result: 114001700, Is Numeric: 1
Total[0.7455] Device[438] HT[4] DQ[1] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert: 113973000 < output: 114001700)
Total[0.7461] Device[438] HT[4] NOTE: There are '5' Polling Items for this Device
Total[0.7461] Device[438] INFO: SNMP Device '172.29.170.10:161' has a timeout of 50000000 (50000), with 3 retries
Total[0.7937] Device[438] HT[1] DS[7432] TT[37.85] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.1, value: 83529826
Total[0.7937] Device[438] HT[1] DS[7432] TT[37.88] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.1, value: 49737125
Total[0.7937] Device[438] HT[1] DS[7433] TT[37.89] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.2, value: 279907571
Total[0.7937] Device[438] HT[1] DS[7433] TT[37.91] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.2, value: 466449640
Total[0.7937] Device[438] HT[1] DS[7434] TT[37.92] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.3, value: 15353931336
Total[0.7939] Device[438] HT[1] Total Time: 0.16 Seconds
Total[0.8306] Device[438] HT[2] DS[7434] TT[71.98] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.3, value: 33239979257
Total[0.8306] Device[438] HT[2] DS[7435] TT[72.01] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.4, value: 32574854041
Total[0.8306] Device[438] HT[2] DS[7435] TT[72.02] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4, value: 14103746904
Total[0.8307] Device[438] HT[2] DS[7436] TT[72.10] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.5, value: 27930266
Total[0.8307] Device[438] HT[2] DS[7436] TT[72.11] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.5, value: 16518446
Total[0.8309] Device[438] HT[2] Total Time: 0.19 Seconds
Total[0.8521] Device[438] HT[3] DS[7437] TT[90.09] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.6, value: 12749886
Total[0.8522] Device[438] HT[3] DS[7437] TT[90.12] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.6, value: 38705183
Total[0.8522] Device[438] HT[3] DS[7438] TT[90.14] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.7, value: 5415596
Total[0.8522] Device[438] HT[3] DS[7438] TT[90.15] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.7, value: 11640540
Total[0.8522] Device[438] HT[3] DS[7439] TT[90.16] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.8, value: 216564706
Total[0.8523] Device[438] HT[3] Total Time: 0.22 Seconds
Total[0.8816] Device[438] HT[4] DS[7434] TT[109.83] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.3, value: 33239979387
Total[0.8816] Device[438] HT[4] DS[7434] TT[109.86] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.3, value: 15353932080
Total[0.8816] Device[438] HT[4] DS[7433] TT[109.87] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.2, value: 466450384
Total[0.8817] Device[438] HT[4] DS[7433] TT[109.88] SNMP: v3: 172.29.170.10, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.2, value: 279908139
Total[0.8817] Device[438] HT[4] DS[7432] TT[109.89] SNMP: v3: 172.29.170.10, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.1, value: 49737125
Total[0.8818] Device[438] HT[4] Total Time: 0.24 Seconds
Total[1.1738] Time: 1.1736 s, Threads: 100, Devices: 2
Re: Failed to open data file
Hey, is there anything else I should find out?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Failed to open data file
Did you see the data in the detailed spine output?
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