Poller Time Template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
wriley
Posts: 16
Joined: Fri May 19, 2006 1:17 pm
Location: Lake St Louis, MO USA
Contact:

Poller Time Template

#1 Post by wriley » Tue Jul 18, 2006 3:35 pm

I made a simple template to graph the time it takes the poller to run. This is meant to run on your cacti host.

Edit linux_poller_time.pl for your database and put in <cacti path>/scripts/, then import the graph template xml file.
Attachments
cacti_graph_template_linux_poller_time.xml
graph template
(7.44 KiB) Downloaded 2020 times
linux_poller_time_pl.txt
Perl script to fetch poller stats from the cacti database.
(580 Bytes) Downloaded 2178 times

User avatar
rony
Developer/Forum Admin
Posts: 6016
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

#2 Post by rony » Wed Jul 26, 2006 2:22 pm

Why not write your script in php so that people don't have to have the perl-DBD installed?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]

UKS-Gavin
Posts: 42
Joined: Fri Oct 06, 2006 7:36 am

#3 Post by UKS-Gavin » Tue Nov 14, 2006 7:35 am

Any update on this?

UKS-Gavin
Posts: 42
Joined: Fri Oct 06, 2006 7:36 am

#4 Post by UKS-Gavin » Fri Dec 08, 2006 4:35 am

Got this installed on two systems now. Very easy, does exactly what it says on the tin.

Good work

User avatar
fmangeant
Cacti Guru User
Posts: 2326
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

#5 Post by fmangeant » Fri Dec 08, 2006 5:15 am

Hi

you may want to install these templates, they allow to graph poller time, poller items, objects, etc.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]

wriley
Posts: 16
Joined: Fri May 19, 2006 1:17 pm
Location: Lake St Louis, MO USA
Contact:

#6 Post by wriley » Tue Jan 30, 2007 1:59 pm

rony wrote:Why not write your script in php so that people don't have to have the perl-DBD installed?
I happen to prefer perl. :)

Gandalf has a much better set of templates now anyway.
William Riley
http://workbench.freetcp.com/

justinchudgar
Posts: 9
Joined: Thu Oct 19, 2006 7:59 pm
Location: Weed, Siskiyou County, CA, USA
Contact:

Thanks.

#7 Post by justinchudgar » Fri Jun 08, 2007 8:51 pm

That's all. Works, I like it. Thank you for sharing your effort.

alexismedina
Posts: 2
Joined: Thu Jun 05, 2008 1:48 pm

Works fine

#8 Post by alexismedina » Mon Jun 09, 2008 2:46 pm

Works fine for me.

Thanks.

Post Reply