Poller Time Template

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

Moderators: Developers, Moderators

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

Poller Time Template

Post by wriley »

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 2143 times
linux_poller_time_pl.txt
Perl script to fetch poller stats from the cacti database.
(580 Bytes) Downloaded 2310 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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

Post by UKS-Gavin »

Any update on this?
UKS-Gavin
Posts: 42
Joined: Fri Oct 06, 2006 7:36 am

Post by UKS-Gavin »

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: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

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:

Post by wriley »

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.

Post by justinchudgar »

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

Post by alexismedina »

Works fine for me.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests