When configuring a service monitor which should only send an e-mail if the service is running, but in our case, it is still sending an e-mail even though it is stopped and it should not be sending an e-mail. Also, it happens for the monitoring job which is monitoring service with "Running" status. Is this a known bug?
Thanks!
When "Service" should be stopped, still getting an alert
-
kumardeuja
- Posts: 7
- Joined: Thu Jun 14, 2018 7:53 am
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: When "Service" should be stopped, still getting an alert
Hi @kumardeuja,
It's mostly likely related to the check commannd or the settings for the service. Can you post the service definitions or PM your system profile along with the host and service(s) you're having issues with?
Thanks.
It's mostly likely related to the check commannd or the settings for the service. Can you post the service definitions or PM your system profile along with the host and service(s) you're having issues with?
Thanks.
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. You can share a link with me in a personal message.
After you upload the profile please post something in this thread to bring it up in the support queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
kumardeuja
- Posts: 7
- Joined: Thu Jun 14, 2018 7:53 am
Re: When "Service" should be stopped, still getting an alert
We don't have any cloud storage. Can I e-mail it to you?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: When "Service" should be stopped, still getting an alert
Hi @kumardeuja,
You can just send it over in a Private Message, just click the PM icon below my username.
You can just send it over in a Private Message, just click the PM icon below my username.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: When "Service" should be stopped, still getting an alert
Hello @kumardeuja,
My apologies for the delay. We recently had an severe weather that impacted our operations. If needed, please open a support ticket for faster resolution of your issue.
Support Center Ticket
https://support.nagios.com/tickets/
Otherwise, it looks like you have multiple Nagios processes running, please run the following and let me know if it resolves the issue.
My apologies for the delay. We recently had an severe weather that impacted our operations. If needed, please open a support ticket for faster resolution of your issue.
Support Center Ticket
https://support.nagios.com/tickets/
Otherwise, it looks like you have multiple Nagios processes running, please run the following and let me know if it resolves the issue.
Code: Select all
service nagios stop
killall nagios
service nagios start
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
kumardeuja
- Posts: 7
- Joined: Thu Jun 14, 2018 7:53 am
Re: When "Service" should be stopped, still getting an alert
I am still having same issues, it is reporting that SQLAgent is running (should be running). And I have rebooted the server as well.
Thanks.
Thanks.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: When "Service" should be stopped, still getting an alert
Hello @kumardeuja,
Can you provide the exact name of the hosts and the service description that you're having issues with so I can locate those in your configurations files.
Thank you.
Can you provide the exact name of the hosts and the service description that you're having issues with so I can locate those in your configurations files.
Thank you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: When "Service" should be stopped, still getting an alert
Hello,
Thanks for sending me image. I'm not able to find the the last 3 services in your configuration files ( id's 2252, 2250, 2251). Is it possible that the profile you sent me does not contain those services? Can you re-send the current profile.?
Getting back to the initial issue, you'd like to only receive notifications when the service is running ( not stopped). This type of check can be easily configured using the negate plugin.
We have Pro Tip Video on how to set that up:
Turn red into green (and Critical into OK) with Negate Plugin
https://youtu.be/W73GpWrkX0k
Thanks for sending me image. I'm not able to find the the last 3 services in your configuration files ( id's 2252, 2250, 2251). Is it possible that the profile you sent me does not contain those services? Can you re-send the current profile.?
Getting back to the initial issue, you'd like to only receive notifications when the service is running ( not stopped). This type of check can be easily configured using the negate plugin.
We have Pro Tip Video on how to set that up:
Turn red into green (and Critical into OK) with Negate Plugin
https://youtu.be/W73GpWrkX0k
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!