Sent email up/down cacti time very slow

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
thaidt229
Posts: 7
Joined: Wed Nov 21, 2018 3:33 am

Sent email up/down cacti time very slow

Post by thaidt229 »

Hi all :) :)

Pls help me this case.
Currently, My company have monitor system cacti for about 300 Device Router Cisco and Juniper.
When one device dow then after 20 minute system cacti sent email notification status : System IP:XX) status: DOW
I do not feel very flexible for this monitor this real-time.

My Settting CACTI version: Version 1.1.38
Setting -> Default Setting:
Up/Down Settings:
Failure Count : 3
Recovery Count: 3

I don't know to choose any number for sent email UP/DOWN after 1 minute? Pls help me :)

Thanks so much forum and everybody read my question.
I hope to receive support from you soon.

Thanks :wink: :wink:
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

Post by netniV »

That would depend on your polling times. If you have retries set to 3 and you are polling every 5 minutes, that means that if you polled at 8am and it was up, but at 8:03 it went down, then at 8:05 would be the first down status, meaning it would be 8:20 before the third one.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
thaidt229
Posts: 7
Joined: Wed Nov 21, 2018 3:33 am

Re: Sent email up/down cacti time very slow

Post by thaidt229 »

So now, Can i change the following components to get email after 2 mins UP / DOWN?
Pls help me, I am confused this issue :o
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

Post by netniV »

What is your polling time?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
thaidt229
Posts: 7
Joined: Wed Nov 21, 2018 3:33 am

Re: Sent email up/down cacti time very slow

Post by thaidt229 »

Thanks for reply from you,

My Setting Cacti:
Poller Interval: Every 5 Minutes
Cron Interval: Every 5 Minutes
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

Post by netniV »

What do you have under your Presets -> Data Profiles?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
thaidt229
Posts: 7
Joined: Wed Nov 21, 2018 3:33 am

Re: Sent email up/down cacti time very slow

Post by thaidt229 »

Thanks reply from netniV :)

Presets -> Data Profiles:

Data Source Profile Name Default Deletable Read Only Poller Interval Heartbeat DataSourcesUsing Templates Using

High Collection Rate Yes No Every 30 Seconds 20 Minutes 0 0
System Default Yes No Yes Every 5 Minutes 10 Minutes 471 41
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

Post by netniV »

So if you have something using the high collection rate, then 2 cycles would be a minute. 4 cycles would be 2 minutes, etc.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
thaidt229
Posts: 7
Joined: Wed Nov 21, 2018 3:33 am

Re: Sent email up/down cacti time very slow

Post by thaidt229 »

I do not know what you mean??
Where I can change after 2 minutes sent email notification :(

Can you have Skype chat when we can chat clear this case :)
thaidt229
Posts: 7
Joined: Wed Nov 21, 2018 3:33 am

Re: Sent email up/down cacti time very slow

Post by thaidt229 »

I still do not understand the formula to calculate the time to send a warning mail UP/DOWN.
Pls help me clear my case. Because receive very long time (20 minutes). This is not real-time for monitor Network Device :(
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

Post by netniV »

time = data source profile x number of polling events

ergo:
2 minutes = 0.5 minutes x 4
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
thaidt229
Posts: 7
Joined: Wed Nov 21, 2018 3:33 am

Re: Sent email up/down cacti time very slow

Post by thaidt229 »

So, if i choose Data Source Profile : High Collection Rate

Do I need to change : Cacti Settings -> Poiler ?
Currently Poller Type : cmd.php
Poller Interval : Every 5 Minutes -> ? change
Cron Interval: Every 5 Minutes -> ? change

And Do I need to change ?
My Settings are:
Cacti Settings (Poller)
Host Up/Down Settings
Failure Count 3 -> ? change
Recovery Count 3 -> ? change

or just change it correctly Data Source Profile : High Collection Rate is ok ???
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

Post by netniV »

You need to change your recover/failure count for those thresholds which will utilise the data sources that are running against the high collection data profile. Please search on changing a data source's profile (you may have to delete and recreate), as I have always used a one minute profile and never changed from that. I believe that there can be consequences to changing an active data sources profile.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests