Cacti and Device Up/Down Notification Settings

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sonbaty
Posts: 4
Joined: Tue Oct 05, 2021 4:52 pm

Cacti and Device Up/Down Notification Settings

Post by sonbaty »

Hello,

I have a beginner's question.
When I monitor a up/down device failure i get a email of this event - works ok.
Can I define a script for to run in the up/down notification event?
I want to run a script and send a message to a **SPAM**.

I use:
cacti 1.2.17
thold 1.6

Thanks for helping
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti and Device Up/Down Notification Settings

Post by cigamit »

Up / Down notifications are handled by the monitor plugin, and it has no way of running a script. The thold plugin can run scripts on threshold breaches, but I assume that is not what you want.
sonbaty
Posts: 4
Joined: Tue Oct 05, 2021 4:52 pm

Re: Cacti and Device Up/Down Notification Settings

Post by sonbaty »

Hi,

Thank you for your response.
Is it possible to replace the monitor plugin with another that has this functionality?
I tried the thold plugin which has thresholds but I have a problem with the fact that when the device is down then nothing starts on that device because it is down.
I also looked in the RRD graphs there, the last data is valid from time when the device was UP and I do not see the current data are invalid when the device is Down.

Thanks
sonbaty
Posts: 4
Joined: Tue Oct 05, 2021 4:52 pm

Re: Cacti and Device Up/Down Notification Settings

Post by sonbaty »

advanced ping
Image
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti and Device Up/Down Notification Settings

Post by cigamit »

sonbaty wrote: Wed Oct 06, 2021 2:41 am Is it possible to replace the monitor plugin with another that has this functionality?
No other plugin has this functionality. You could write your own of course, or modify the plugin to do it.
sonbaty
Posts: 4
Joined: Tue Oct 05, 2021 4:52 pm

Re: Cacti and Device Up/Down Notification Settings

Post by sonbaty »

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests