(SOLVED) Down System Notification
Moderators: Developers, Moderators
(SOLVED) Down System Notification
Hello,
I have setup all our Remote Sites for ping ONLY, and I want to have an email when one of the Remote Sites is down.
I setup the down system notification, but I do NOT get an email when the system is down. I can receive other emails from other things like ping too high, etc.
But for a system down, I DO NOT get an email. Ive attached a screenshot of the setup. Can someone PLEASE PLEASE help me wit this one. Its very crucial I get this working. Our sites go down quite often, and I need some type of an alert, and this one seems to be the only one that might work.
I see some other posts where it says it works for them, but not sure why it wont work for me.
Im running Ubuntu Server 12.04 with Cacti 0.8.8b
I have setup all our Remote Sites for ping ONLY, and I want to have an email when one of the Remote Sites is down.
I setup the down system notification, but I do NOT get an email when the system is down. I can receive other emails from other things like ping too high, etc.
But for a system down, I DO NOT get an email. Ive attached a screenshot of the setup. Can someone PLEASE PLEASE help me wit this one. Its very crucial I get this working. Our sites go down quite often, and I need some type of an alert, and this one seems to be the only one that might work.
I see some other posts where it says it works for them, but not sure why it wont work for me.
Im running Ubuntu Server 12.04 with Cacti 0.8.8b
- Attachments
-
- Email-Error5.JPG (184.06 KiB) Viewed 5471 times
-
- Email-Error4.JPG (63.18 KiB) Viewed 5471 times
-
- Email-Error3.JPG (33.95 KiB) Viewed 5471 times
-
- Email-Error2.JPG (83.78 KiB) Viewed 5471 times
-
- Email-Error1.JPG (131.3 KiB) Viewed 5471 times
Last edited by Cornel on Fri Jul 18, 2014 7:16 am, edited 1 time in total.
Re: Down System Notification
Just to start off, what do you have for Settings >> Poller.
Host Up/Down Settings
Failure Count
The number of polling intervals a host must be down before logging an error and reporting host as down.
Recovery Count
The number of polling intervals a host must remain up before returning host to an up status and issuing a notice.
Host Up/Down Settings
Failure Count
The number of polling intervals a host must be down before logging an error and reporting host as down.
Recovery Count
The number of polling intervals a host must remain up before returning host to an up status and issuing a notice.
Re: Down System Notification
Here you go. I attached a screenshot.cigamit wrote:Just to start off, what do you have for Settings >> Poller.
Host Up/Down Settings
Failure Count
The number of polling intervals a host must be down before logging an error and reporting host as down.
Recovery Count
The number of polling intervals a host must remain up before returning host to an up status and issuing a notice.
- Attachments
-
- Pic5.JPG (150.07 KiB) Viewed 5453 times
-
- Pic4.JPG (167.12 KiB) Viewed 5453 times
Re: Down System Notification
Ok, everything looks pretty normal there. Can you do one last thing. Run this SQL query when you have a host that has been down for a bit.
That will tell us if thold is even checking them and putting them in its table.
Code: Select all
SELECT * FROM `plugin_thold_host_failed`
Re: Down System Notification
cigamit wrote:Ok, everything looks pretty normal there. Can you do one last thing. Run this SQL query when you have a host that has been down for a bit.
That will tell us if thold is even checking them and putting them in its table.Code: Select all
SELECT * FROM `plugin_thold_host_failed`
Sorry im a noob when it comes to this. Where can I run this command from? From inside Ubuntu Server? Or from Cacti GUI?
Sorry, really not that good with this Cacti YET.
Thanks.
Re: Down System Notification
You have to run that from within mysql.
Google would probably help you more, but basically
Goto Ubuntu terminal
type "mysql" (assuming the root account wasn't setup with a password, otherwise google the proper switches to supply a username/password)
you should be in the mysql prompt now, so type
use cacti; (replace cacti with the actual name of your cacti database)
then type the above command
Google would probably help you more, but basically
Goto Ubuntu terminal
type "mysql" (assuming the root account wasn't setup with a password, otherwise google the proper switches to supply a username/password)
you should be in the mysql prompt now, so type
use cacti; (replace cacti with the actual name of your cacti database)
then type the above command
Re: Down System Notification
cigamit wrote:You have to run that from within mysql.
Google would probably help you more, but basically
Goto Ubuntu terminal
type "mysql" (assuming the root account wasn't setup with a password, otherwise google the proper switches to supply a username/password)
you should be in the mysql prompt now, so type
use cacti; (replace cacti with the actual name of your cacti database)
then type the above command
OK I was able to figure out how to run that command. I attached screenshots...
- Attachments
-
- sql02.JPG (43.58 KiB) Viewed 5370 times
-
- sql01.JPG (42.96 KiB) Viewed 5370 times
Re: Down System Notification
Sorry, you need a ; on the end of any MySQL commands
Re: Down System Notification
Its working. For some reason, it seems when I put certain mail settings for the server side on the Settings Tab, it wont send down system emails, specially when I try to do txt emails directly to my phone.cigamit wrote:Sorry, you need a ; on the end of any MySQL commands
So, its not the system that does not work, its the setup, I gotta figure out the txt email setup, and I think its might be my ASA Firewall.
Thanks for the help, really appreciate it. I hope you could solve my routerconfig issue on the other thread, and I really appreciate that one. Backing up my router configs is very crucial, and I hate doing it manually .
Thanks again Cigamit, really appreciate your time for this.
-
- Posts: 1
- Joined: Fri Aug 16, 2019 6:51 am
Re: (SOLVED) Down System Notification
Cornel how did you get it working? What did you change in settings? Am struggling with the same problem. Thanks in advance
Who is online
Users browsing this forum: No registered users and 0 guests