Problem Simple Queue (Mikrotik) clients PPPoE.

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

Moderators: Developers, Moderators

Post Reply
MagnoBC
Posts: 5
Joined: Sat Sep 18, 2021 1:12 pm

Problem Simple Queue (Mikrotik) clients PPPoE.

Post by MagnoBC »

Hello everyone,

I have a problem with Cacti and I searched the forum and I didn't find a solution, I would like some help please.

I use Cacti 1.2.18 and I'm using the Mikrotik queue template (on my provider I have Mikrotik concentrators where clients authenticate with PPPoE and I have some clients in particular with ip /30). The problem is that when the PPPoE authentication drops and comes back, the queue ID changes, but the cacti cannot update and read the queue again, I've already tested it with all the "re-index method" modes and I've reduced the poller interval for 1minute but it didn't work, it only counts the graph again when I click on "reload query" (manually) then it goes back to reading the queue from the client (until the connection goes down again).

Is there any way to make this reload query run automatically every at least 2 or 3 minutes?

Thank you very much everyone, I apologize for the bad English, I am Brazilian and I am using google translator.
MagnoBC
Posts: 5
Joined: Sat Sep 18, 2021 1:12 pm

Re: Problem Simple Queue (Mikrotik) clients PPPoE.

Post by MagnoBC »

sorry i posted in the wrong topic
MagnoBC
Posts: 5
Joined: Sat Sep 18, 2021 1:12 pm

Re: Problem Simple Queue (Mikrotik) clients PPPoE.

Post by MagnoBC »

Hello everyone,

Getting it to work using the linux crontab (I know it's not the right way, but that's how it worked). Added in crontab the command "*/4 * * * * php -q /opt/cacti/cli/poller_reindex_hosts.php --id=all " this way every 4 minutes the command is executed thus keeping the data up to date in cases of PPPoE clients that disconnect and reconnect. Unfortunately, none of the Re-Index Methods worked.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest