Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Apr 23, 2019 3:08 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Cacti log statistics
PostPosted: Sun May 01, 2005 8:16 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12158
Location: USA
I was semi-bored this weekend after skydiving, so I decided to write a script that would parse out some of the various stats in the Cacti.log file. I might come up with something more complicated or take feature requests...

It might be interesting to see the stats of others out there.

Sample output system1:
Code:
                Cacti Log File Statistics

*SYSTEM*
Avg Execution time: 305.9568 s
Max Execution time: 390.8908 s
Min Execution time: 221.0228 s
Avg processes: N/A
Avg threads: 5.00
Avg hosts: 26.00
Avg Hosts/Process: 0.00
Poller exceeded time limit: 1

*WARNINGS*
Warnings: 51

*DEBUG*
Debug lines: 1801


Sample output system2:
Code:
                Cacti Log File Statistics

*SYSTEM*
Avg Execution time: 73.2748 s
Max Execution time: 155.0819 s
Min Execution time: 58.9001 s
Avg processes: 1.00
Avg threads: N/A
Avg hosts: 11.00
Avg Hosts/Process: 11.00
Poller exceeded time limit:

*WARNINGS*
Warnings: 1929

*RECACHES*
Avg time: 0.80 s
Max time: 12.1353 s
Min time: 0.6165 s
Avg host count: 0.76


Attachments:
File comment: The script
logstats1.0.rar [2.84 KiB]
Downloaded 1760 times

_________________

| 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 |
Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 02, 2007 8:58 pm 
Offline

Joined: Mon Nov 20, 2006 7:25 pm
Posts: 15
Location: Oregon, USA
Has anyone ever created a Cacti graph for this info? It would be nice to monitor over time the time it takes to complete a data poll.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 03, 2007 3:57 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi

you can use these templates : http://forums.cacti.net/viewtopic.php?t=18057

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 08, 2007 2:17 pm 
Offline

Joined: Mon Nov 20, 2006 7:25 pm
Posts: 15
Location: Oregon, USA
Thank's for the link, fmangeant.

We have it up and running. Very, very nice.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group