Graph, partial failure
Moderators: Developers, Moderators
Graph, partial failure
I have some short 5min legs in the graph, but the host was always online in this time! So I think I have a config problem in cacti! The rrds files flapping see below, but I don't make anything in this time!?
HW:
ProLiant Xeon DL380R03 X2.8/400 512 1GB
6x36,4GB/15k Ultra 320 SCSI
So I think this is not the problem!
Cacti:
cacti Version 0.8.6h
Poller Cache [1508 Items]
SNMP Cache [30752 Items]
rrd: [1235 graphs]
cacti Version 0.8.6h
Cacti Settings (Poller)
Enabled: (yes) Enabled
Poller Type: cactid
Maximum Concurrent Poller Processes: 1
Maximum Threads per Process: 90
Number of PHP Script Servers: 2
Script and Script Server Timeout Value: 150
The Maximum SNMP OID's Per SNMP Get Request: 55
Downed Host Detection: Ping- Faster Option with Risk
Ping Type:[/b] UDP Ping
Ping Timeout Value: 1000
Ping Retry Count: 3
Failure Count: 2
Recovery Count: 2
Any solutions?
HW:
ProLiant Xeon DL380R03 X2.8/400 512 1GB
6x36,4GB/15k Ultra 320 SCSI
So I think this is not the problem!
Cacti:
cacti Version 0.8.6h
Poller Cache [1508 Items]
SNMP Cache [30752 Items]
rrd: [1235 graphs]
cacti Version 0.8.6h
Cacti Settings (Poller)
Enabled: (yes) Enabled
Poller Type: cactid
Maximum Concurrent Poller Processes: 1
Maximum Threads per Process: 90
Number of PHP Script Servers: 2
Script and Script Server Timeout Value: 150
The Maximum SNMP OID's Per SNMP Get Request: 55
Downed Host Detection: Ping- Faster Option with Risk
Ping Type:[/b] UDP Ping
Ping Timeout Value: 1000
Ping Retry Count: 3
Failure Count: 2
Recovery Count: 2
Any solutions?
- Attachments
-
- Local - Poller Statistics.jpg (40.5 KiB) Viewed 4639 times
-
- router.png (18.51 KiB) Viewed 4639 times
-
- switches.png (12.93 KiB) Viewed 4639 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
The runtime is quite insane. This is very near the 300 sec limit and may sometimes not come to an end. Also, the poller_output table should always be empty after a pollers's run. You may want to increase the number of processes to 2 (is it a multi processor system? Sorry, not that hardware guy), but reduce threads to about 15-20.
Are there other processes consuming CPU, memory or disk I/O? With cactid, I've seen loads of systems filling more that 4-5 of the numbers of rrd files in about a quarter of time ...
Reinhard
Are there other processes consuming CPU, memory or disk I/O? With cactid, I've seen loads of systems filling more that 4-5 of the numbers of rrd files in about a quarter of time ...
Reinhard
The runtime is quite insane.
Some HD graphs locks insane!
This is very near the 300 sec limit and may sometimes not come to an end.
I know, but I have think that is normal by so many graphs...
but reduce threads to about 15-20.
When I go down, so I loss directly about 1/2 of the rrd graphs!
Are there other processes consuming CPU, memory or disk I/O?
No special thing that I know.
Some HD graphs locks insane!
This is very near the 300 sec limit and may sometimes not come to an end.
I know, but I have think that is normal by so many graphs...
but reduce threads to about 15-20.
When I go down, so I loss directly about 1/2 of the rrd graphs!
Are there other processes consuming CPU, memory or disk I/O?
No special thing that I know.
- Attachments
-
- hd.png (17.09 KiB) Viewed 4603 times
-
- localhost.png (36.75 KiB) Viewed 4603 times
-
- rrd.jpg (18.36 KiB) Viewed 4603 times
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Goto mysql and run the following:
select count(action) from poller_items group by action;
post the results. Also, reduce your script/script server timeout to some thing like 10 seconds. 150 is not prudent. If you have a script that takes that long to complete, you need to look at an alternate data collection method. Please start a separate thread related to "How" that is accomplished.
LVM, having asynchronous processes writing to the Poller Output table would be a great "How to". Also, having setting up a script/file to contain results that a poller script can simply read is another. I have written a few of these, I would be glad to share if you to the writeup.
Regards,
TheWitness
select count(action) from poller_items group by action;
post the results. Also, reduce your script/script server timeout to some thing like 10 seconds. 150 is not prudent. If you have a script that takes that long to complete, you need to look at an alternate data collection method. Please start a separate thread related to "How" that is accomplished.
LVM, having asynchronous processes writing to the Poller Output table would be a great "How to". Also, having setting up a script/file to contain results that a poller script can simply read is another. I have written a few of these, I would be glad to share if you to the writeup.
Regards,
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: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Sorry, can you rerun, my bad:
select action, count(action) from poller_items group by action order by action;
TheWitness
select action, count(action) from poller_items group by action order by action;
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?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Did you first increase the number of processes? Recommended settings is 1-2 times the number of processors (well, HT processors count 2, do they?). What Larry is aiming at (I suppose) is to check, whether you're running a lot of scripts (they can increase runtime to a great extend)akai wrote:The runtime is quite insane.
Some HD graphs locks insane!
This is very near the 300 sec limit and may sometimes not come to an end.
I know, but I have think that is normal by so many graphs...
but reduce threads to about 15-20.
When I go down, so I loss directly about 1/2 of the rrd graphs!
Are there other processes consuming CPU, memory or disk I/O?
No special thing that I know.
Reinhard
Processes: I have changed to 1 (1 processor server).
You are meaning Cacti scripts? Yes, the most of the graphs they are running, with support from scripts (ping, hd, poller....)!
Is it the only solution, to change the poller windows, from 5 to 10 or 15min running time, for more performance without any interrupts?
You are meaning Cacti scripts? Yes, the most of the graphs they are running, with support from scripts (ping, hd, poller....)!
Is it the only solution, to change the poller windows, from 5 to 10 or 15min running time, for more performance without any interrupts?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Akai,
This is your problem:
TheWitness
This is your problem:
Make it like 5 seconds or so. Also, could you run that second query and post.Script and Script Server Timeout Value: 150
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: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Can you dump and send me your DB?
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?
Who is online
Users browsing this forum: No registered users and 1 guest