Customizing POller.php

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
dchockal
Posts: 2
Joined: Tue Dec 02, 2014 8:18 am

Customizing POller.php

Post by dchockal »

Hello

Is that Possible to Customize the Poller.php

Like as follow

I have configured my Cacti with Certain Data with Input Method via SNMP and
Certain Data with Input Method via Script/Command.

The Data configured with Script ( Need to Polled every 15 Minutes )
While that of SNMP should be Polled every 5 Minutes,

Is that Possible using Cacti or any sort of customization of the Poller.php.

Kindly let me know.
Thanks and Regards
Durai Velan C.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Customizing POller.php

Post by cigamit »

You don't need to customize the poller.php file, you just need to create custom RRAs that use a 15 minute average instead of a 5 minute average. Then only apply that RRA to the data template you created.
dchockal
Posts: 2
Joined: Tue Dec 02, 2014 8:18 am

Re: Customizing Poller.php

Post by dchockal »

Hello

Thanks you for the reply.

Let me try that option, and post my result

However, I need one more clarification

Poller.php is called by Scheduler or Cron every 5 Minutes

If I am able to Customize the RRA every 15 Minutes, and apply that to my Data template.
That means, the Script or Data Input Method associated with the data template is also triggered every 15 Minutes
( or )
it is Script is triggered every 5 Minutes along with Poller.php but the update to the RRD is made every 15th Minute.

Please clarify my doubt.

Thanks a Lot in advance.
Regards
Durai Velan C.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Customizing POller.php

Post by cigamit »

If you apply a custom 15 minute average RRA to a data template, you will not need to change your poller scheduling. It will stay at 5 minutes. Cacti will know that it only needs to poll that data source every 3 pollings.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests