Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Jun 23, 2017 8:57 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Alerting oh THOLD for specific hours of specific days
PostPosted: Tue Jul 12, 2016 11:41 am 
Offline

Joined: Tue Jul 12, 2016 11:36 am
Posts: 24
I am quite new to cacti - please excuse me if this is a dumb question.

I have a case where I only care if the interface bandwidth falls below a threshold for 3 hours on a specific day.

I have seen a way to ignore weekend alerts.

Any ideas as to how to only have a THOLD alert sent if the THOLD threshold event occurs within a specific hour range on a specific day?


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Tue Jul 12, 2016 12:44 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2562
Location: B/CS Texas
You can sort of accomplish this with the maintenance plugin, but the problem would be that it is applied to every threshold on a specific device, not per threshold.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Wed Jul 13, 2016 2:12 pm 
Offline

Joined: Tue Jul 12, 2016 11:36 am
Posts: 24
I am okay with the entire device being subjected to the same THOLD Alerting window.

Any suggestions as to how to set this up would be much appreciated!


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Wed Jul 13, 2016 4:06 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2562
Location: B/CS Texas
You will want this plugin.
http://svn.cacti.net/viewvc/maint/trunk/?root=Plugins
Just create a directory called "maint" under plugins, and throw those files in there. Then install the plugins ui inside of Cacti.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Mon Jul 18, 2016 5:54 pm 
Offline

Joined: Tue Jul 12, 2016 11:36 am
Posts: 24
Cool I will give it a try and let you know

Thanx so much!


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Thu Jul 28, 2016 8:49 pm 
Offline

Joined: Tue Jul 12, 2016 11:36 am
Posts: 24
Hit a snag:

I copied the files into a new folder maint under plugins but when I go to plugin settings I get the dialog in the attached file.

It looks like it is trying to execute setup.php but something is amiss

Any guidance appreciated!

Running: Version 0.8.8h on Centos 6.7


Attachments:
File comment: file listing for maint plugin
maint-plugin-files.jpg
maint-plugin-files.jpg [ 62.16 KiB | Viewed 2709 times ]
File comment: Screen shot of Maint Plugin Setup
maint-plugin-setup.jpg
maint-plugin-setup.jpg [ 172.61 KiB | Viewed 2709 times ]
Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Thu Jul 28, 2016 10:17 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2562
Location: B/CS Texas
Open setup.php and paste the first few lines. I am betting you copied the websvn display page instead of the code itself. For each of the files, you should have clicked on the download link.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Sat Jul 30, 2016 10:49 am 
Offline

Joined: Tue Jul 12, 2016 11:36 am
Posts: 24
I guess I don't quite understand what the link was that you had sent me - I found another download site - https://github.com/Cacti/plugin_maint

This appears to work - however selinux made everything go south until I did a relabel :-)

When I went looking to find help on using the MAINT plugin the readme file said:

----[ Installation

To install the plugin, please refer to the Plugin Installation Documentation

This may be a dense question but I have been unable to find the Plugin Installation/Usage documentation - I looked in the various threshold and device webpages in cacti but did not see anything that resembled time of day alerting.

Help :o


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Sat Jul 30, 2016 11:12 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2562
Location: B/CS Texas
The github version of Maint will not work with your current version. It is for Cacti v1.0 only.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Sun Jul 31, 2016 6:55 am 
Offline

Joined: Tue Jul 12, 2016 11:36 am
Posts: 24
Okay - I did not find it intuitive to click the download link then do a file save as from the web page - but it worked - I guess live and learn :-)

Thanx for the patience :-)


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Sun Jul 31, 2016 7:11 am 
Offline

Joined: Tue Jul 12, 2016 11:36 am
Posts: 24
Now the maintenance menu shows up.

I created a new schedule and associated the device that I want to monitored for specific days and times into this schedule.

The device shows up as associated into current list

Attachment:
File comment: showing that the device is associated with the current list
associated-maint-device.jpg
associated-maint-device.jpg [ 39.33 KiB | Viewed 2596 times ]


But when I select the associated box no devices are listed.

Attachment:
File comment: showing no devices are listed that are associated with the schedule.
associated-maint-devices-list.jpg
associated-maint-devices-list.jpg [ 47.15 KiB | Viewed 2596 times ]


Is my device actually part of the schedule or do I have to do something else to associate/activate the device into the schedule?

If the device is configured correctly then why don't I see it in the associated list?

Sorry if I am being dense - but this is new to me.


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Sat Aug 20, 2016 1:33 pm 
Offline

Joined: Tue Jul 12, 2016 11:36 am
Posts: 24
I am no longer able to associate a device to this schedule:

Attachment:
File comment: Device-Configuration-Maintenance-Schedule
Device-configuration-Maint-schedule.jpg
Device-configuration-Maint-schedule.jpg [ 51.63 KiB | Viewed 1686 times ]


As my brain appears to have died - any guidance is appreciated!


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Sun Aug 21, 2016 10:21 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2562
Location: B/CS Texas
Uncheck the "Associated" filter. You have it set to only show ones that are currently associated with the schedule already.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: Alerting oh THOLD for specific hours of specific days
PostPosted: Fri Sep 16, 2016 4:04 am 
Offline

Joined: Fri Sep 16, 2016 4:01 am
Posts: 1
Hi, pls help... I cant see Maint in the Plugin Management menu :-(

Cacti Version: 0.8.8a, Plugin Architecture Version: 3.1

I put mensioned files via instructions and nothing...

Thank you


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 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