Hi all,
CACTI is not graphing any more.
I thought that the reason was related to the sizing of cacti.log (over 2GB), but I deteled it.
I have run manually the poller but the following error came up
08/30/2007 09:49:13 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
08/30/2007 09:49:13 AM - SYSTEM STATS: Time:293.4071 Method:cmd.php Processes:1 Threads:N/A Hosts:440 HostsPerProcess:440 DataSources:8978 RRDsProcessed:4686
Warning: pclose(): 48 is not a valid stream resource in /usr/local/src/cacti/lib/rrd.php on line 48
Any suggestion?
I have verified the content of rrd files
<!-- 2007-08-30 02:20:00 CEST / 1188433200 --> <row><v> 9.4525817036e+06 </v><v> 9.2631421904e+06 </v></row>
<!-- 2007-08-30 02:25:00 CEST / 1188433500 --> <row><v> 9.3949010115e+06 </v><v> 9.2955578687e+06 </v></row>
<!-- 2007-08-30 02:30:00 CEST / 1188433800 --> <row><v> 9.1901357119e+06 </v><v> 9.1347057076e+06 </v></row>
<!-- 2007-08-30 02:35:00 CEST / 1188434100 --> <row><v> 9.2167728634e+06 </v><v> 8.9291323850e+06 </v></row>
<!-- 2007-08-30 02:40:00 CEST / 1188434400 --> <row><v> 9.1642302467e+06 </v><v> 8.8307586694e+06 </v></row>
<!-- 2007-08-30 02:45:00 CEST / 1188434700 --> <row><v> 9.3215036567e+06 </v><v> 8.8214230341e+06 </v></row>
<!-- 2007-08-30 02:50:00 CEST / 1188435000 --> <row><v> 8.7765226984e+06 </v><v> 8.7093393151e+06 </v></row>
<!-- 2007-08-30 02:55:00 CEST / 1188435300 --> <row><v> 8.4610250921e+06 </v><v> 8.7161975408e+06 </v></row>
<!-- 2007-08-30 03:00:00 CEST / 1188435600 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:05:00 CEST / 1188435900 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:10:00 CEST / 1188436200 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:15:00 CEST / 1188436500 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:20:00 CEST / 1188436800 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:25:00 CEST / 1188437100 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:30:00 CEST / 1188437400 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:35:00 CEST / 1188437700 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:40:00 CEST / 1188438000 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:45:00 CEST / 1188438300 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:50:00 CEST / 1188438600 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 03:55:00 CEST / 1188438900 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 04:00:00 CEST / 1188439200 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 04:05:00 CEST / 1188439500 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 04:10:00 CEST / 1188439800 --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2007-08-30 04:15:00 CEST / 1188440100 --> <row><v> NaN </v><v> NaN </v></row>
All of them have the same problem: after 2:55 am all values are equal to NaN. So graphes are present, but source values are null
Please, help me
no graphs (any more) - NaN values - 292 seconds exceeded
Moderators: Developers, Moderators
Hi Gandalf,
thank you for your reply.
After my 1st post, the situation is different.
I have solved NaN problem by changing settings on
Console->Settings->General
SNMP Timeout from 500 to 100
SNMP Retries from 3 to 1
Console->Settings->Poller
Maximum Concurrent Poller Processes from 1 to 4
By this, our poller is able to complete every cycle in 200 sec (9000 DataSource and 4500 rrd-file and 440 nodes). Processor load is higher, so I still need to find a better solution.
I have tested your suggested procedure, increasing memory php value (from 8M to 64M) still getting the same performance (200 sec)
Below, the output of sql query
mysql> select count(*) from poller_output;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.00 sec)
As you can note, it was very fast. I don't need to truncate the table, don't I?
After all these tests, I have installed cactid poller but I have some problems with snmp library
CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
I do not prefer to downgrade snmp version lib, because it is ok with cmd.php
thank you for your reply.
After my 1st post, the situation is different.
I have solved NaN problem by changing settings on
Console->Settings->General
SNMP Timeout from 500 to 100
SNMP Retries from 3 to 1
Console->Settings->Poller
Maximum Concurrent Poller Processes from 1 to 4
By this, our poller is able to complete every cycle in 200 sec (9000 DataSource and 4500 rrd-file and 440 nodes). Processor load is higher, so I still need to find a better solution.
I have tested your suggested procedure, increasing memory php value (from 8M to 64M) still getting the same performance (200 sec)
Below, the output of sql query
mysql> select count(*) from poller_output;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.00 sec)
As you can note, it was very fast. I don't need to truncate the table, don't I?
After all these tests, I have installed cactid poller but I have some problems with snmp library
CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
I do not prefer to downgrade snmp version lib, because it is ok with cmd.php
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
I would assume from this, that some hosts may be detected as down, then. cacti will not wait on those slow ones for long, now.systems wrote:I have solved NaN problem by changing settings on
Console->Settings->General
SNMP Timeout from 500 to 100
SNMP Retries from 3 to 1
Console->Settings->Poller
Maximum Concurrent Poller Processes from 1 to 4
That's not a huge installation. But times depend on server sizing, especially on DISK and RAM.By this, our poller is able to complete every cycle in 200 sec (9000 DataSource and 4500 rrd-file and 440 nodes). Processor load is higher, so I still need to find a better solution.
This was related to my assumption that poller_output gets filled up. Nevertheless, 64MB should be the lowest valueI have tested your suggested procedure, increasing memory php value (from 8M to 64M) still getting the same performance (200 sec)
No need for thatAs you can note, it was very fast. I don't need to truncate the table, don't I?
Please compile cactid on your own. Do not use cmd.php on an installation that large. Be prepared for a performance boost of 6-8 times. Install net-snmp-devel libs prior to compilingAfter all these tests, I have installed cactid poller but I have some problems with snmp library
CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
(parent)CACTID: ERROR: SNMP Library Version Mismatch (5.2.1.2 vs 5.1.2)
I do not prefer to downgrade snmp version lib, because it is ok with cmd.php
Reinhard
Who is online
Users browsing this forum: No registered users and 0 guests