Sent email up/down cacti time very slow

General discussion about Plugins for Cacti

Moderators: Moderators, Developers

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

Sent email up/down cacti time very slow

#1 Post by thaidt229 » Wed Nov 21, 2018 3:55 am

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: 2930
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

#2 Post by netniV » Wed Nov 21, 2018 5:14 am

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.

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

Re: Sent email up/down cacti time very slow

#3 Post by thaidt229 » Thu Nov 22, 2018 8:25 pm

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


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

Re: Sent email up/down cacti time very slow

#5 Post by thaidt229 » Fri Nov 23, 2018 7:54 pm

Thanks for reply from you,

My Setting Cacti:
Poller Interval: Every 5 Minutes
Cron Interval: Every 5 Minutes


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

Re: Sent email up/down cacti time very slow

#7 Post by thaidt229 » Mon Nov 26, 2018 9:24 am

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: 2930
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

#8 Post by netniV » Mon Nov 26, 2018 10:11 am

So if you have something using the high collection rate, then 2 cycles would be a minute. 4 cycles would be 2 minutes, etc.

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

Re: Sent email up/down cacti time very slow

#9 Post by thaidt229 » Mon Nov 26, 2018 10:19 am

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

#10 Post by thaidt229 » Mon Nov 26, 2018 10:29 am

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: 2930
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

#11 Post by netniV » Mon Nov 26, 2018 10:49 am

time = data source profile x number of polling events

ergo:
2 minutes = 0.5 minutes x 4

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

Re: Sent email up/down cacti time very slow

#12 Post by thaidt229 » Mon Nov 26, 2018 11:05 am

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: 2930
Joined: Sun Aug 27, 2017 12:05 am

Re: Sent email up/down cacti time very slow

#13 Post by netniV » Mon Nov 26, 2018 11:59 am

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.

Post Reply