Pooler call

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
alexandred
Posts: 3
Joined: Tue May 09, 2006 9:12 pm
Location: Brazil

Pooler call

Post by alexandred »

Hello everybody.

Is there some way to call the pooler just to update one data source ?

What I need to do is a way to update my rrd files.
For example:

I created a script to get the fs information for my machine (file system utilization).
I configured a Data Input Method to call this script.
I created a data source and a graph.

Everything is running fine. What I need now is just update this rrd file.

I have a lot of more Data Sources and I do not want to call pooler everytime to update all of my data sources.

Best Regards !
Alexandre Dias Geraldo
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

When following http://www.cacti.net/downloads/docs/htm ... _unix.html, the poller should be run from cron every 5 mins. To you want to deviate from this polling cycle for this one data source only? Do you want to poll more often or less?
Reinhard
alexandred
Posts: 3
Joined: Tue May 09, 2006 9:12 pm
Location: Brazil

Post by alexandred »

Hello Reinhard, thanks for your reply.

What I need is find out a way to call the update of one datasource instead of call pooler to update all of my datasources in all host configured in my cacti.

For example, my hosts has today 4 Datasources :
1) Filesystem
2) Memory usage
3) Logged users
4) Load Average

The poller is already configured to run between 5 minutes.

But now I have a new datasource to collect information of Oracle and what I am developing is a remote call of pooler. A servlet java will get some response from a database (http post), handle this a call the update of this datasource. Imagine now, I have 10 databases to monitor and the only access that I have from db side to cacti side is http connection. These database server are not in the same network.

Do you have any idea how to improve it ?

Best Regards,
Alexandre Dias Geraldo
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Of couse. Please see HowTo use externally updated rrd files + BONUS TRACK, especially the bonus track. But when changing update timings, please make sure to modify step and heartbeat accordingly. You may want to create a new set of rra definitions as well (rra definitions are NOT made with respect to the timespan they hold BUT with respect to the numbers of items in a specific consolidation level). You may want to see RRAs definition
Reinhard
alexandred
Posts: 3
Joined: Tue May 09, 2006 9:12 pm
Location: Brazil

Post by alexandred »

Perfect documentation Reinhard !!

I am going to start this implementation now.

Thanks a lot for your help.

Best Regards !
Alexandre Dias Geraldo
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest