Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 26, 2019 11:07 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Sent email up/down cacti time very slow
PostPosted: Wed Nov 21, 2018 3:55 am 
Offline

Joined: Wed Nov 21, 2018 3:33 am
Posts: 7
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:


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Wed Nov 21, 2018 5:14 am 
Offline
Cacti Guru User

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

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Thu Nov 22, 2018 8:25 pm 
Offline

Joined: Wed Nov 21, 2018 3:33 am
Posts: 7
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


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Fri Nov 23, 2018 9:49 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
What is your polling time?

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Fri Nov 23, 2018 7:54 pm 
Offline

Joined: Wed Nov 21, 2018 3:33 am
Posts: 7
Thanks for reply from you,

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


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Mon Nov 26, 2018 4:44 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
What do you have under your Presets -> Data Profiles?

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Mon Nov 26, 2018 9:24 am 
Offline

Joined: Wed Nov 21, 2018 3:33 am
Posts: 7
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


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Mon Nov 26, 2018 10:11 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
So if you have something using the high collection rate, then 2 cycles would be a minute. 4 cycles would be 2 minutes, etc.

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Mon Nov 26, 2018 10:19 am 
Offline

Joined: Wed Nov 21, 2018 3:33 am
Posts: 7
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 :)


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Mon Nov 26, 2018 10:29 am 
Offline

Joined: Wed Nov 21, 2018 3:33 am
Posts: 7
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 :(


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Mon Nov 26, 2018 10:49 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
time = data source profile x number of polling events

ergo:
2 minutes = 0.5 minutes x 4

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Mon Nov 26, 2018 11:05 am 
Offline

Joined: Wed Nov 21, 2018 3:33 am
Posts: 7
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 ???


Top
 Profile  
 
 Post subject: Re: Sent email up/down cacti time very slow
PostPosted: Mon Nov 26, 2018 11:59 am 
Offline
Cacti Guru User

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

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group