Page 1 of 2
Alerts
Posted: Mon Aug 14, 2017 5:27 pm
by ericssonvietnam
How can i get rid of the alerts as shown in screenshot do these two alerts have any impact on monitoring
Re: Alerts
Posted: Mon Aug 14, 2017 6:35 pm
by tacolover101
460 processes seems high for a nagios machine, but depending what you're doing on it - does it look normal? if you have a lot of checks, there could be a lot of processes spawned. change your warning / critical thresholds to fix.
as for the forbidden, i'd expect that as well if you don't have credentials set. you could append -e 403 to make it go to OK.
Re: Alerts
Posted: Tue Aug 15, 2017 10:55 am
by scottwilkerson
I'm going to concur with @tacolover101 460 seems high, you likely want to investigate the problem instead of making the error simply go away.
However, you would need to adjust the critical threshold in the check command for the service o actually make it go away
Re: Alerts
Posted: Wed Aug 16, 2017 2:41 pm
by ericssonvietnam
scottwilkerson wrote:I'm going to concur with @tacolover101 460 seems high, you likely want to investigate the problem instead of making the error simply go away.
However, you would need to adjust the critical threshold in the check command for the service o actually make it go away
What are the things i need to check,in current setup i have only two checks ssh and ping and around half of the hosts are missing from GUI as if now which were visible earlier.
Only 235 ssh check and remaining host are configured for ping check
I have around 1300 hosts in total.
Re: Alerts
Posted: Wed Aug 16, 2017 3:02 pm
by scottwilkerson
I'd start with a
and attach the /tmp/ps.txt file created
Re: Alerts
Posted: Wed Aug 16, 2017 3:42 pm
by ericssonvietnam
scottwilkerson wrote:I'd start with a
and attach the /tmp/ps.txt file created
Find the file attached.Let me know if we need to check something else as well.
Re: Alerts
Posted: Wed Aug 16, 2017 4:52 pm
by scottwilkerson
you have multiple parent nagios processes.
run the following
Code: Select all
service nagios stop
killall -9 nagios
service nagios start
Re: Alerts
Posted: Wed Aug 16, 2017 5:48 pm
by ericssonvietnam
scottwilkerson wrote:you have multiple parent nagios processes.
run the following
Code: Select all
service nagios stop
killall -9 nagios
service nagios start
Now its prey stable all nodes and services are completely visible on the GUI.
But can you still let me know if we can check something else to fix the http warning and flapping total process.
Or let me know if i need to ignore flapping as it not giving any warning or critical.
Re: Alerts
Posted: Thu Aug 17, 2017 3:35 pm
by cdienger
Can you provide the full command for the http_check?
Re: Alerts
Posted: Thu Aug 24, 2017 12:22 pm
by ericssonvietnam
cdienger wrote:Can you provide the full command for the http_check?
below is the service details :
define service{
use local-service ; Name of service template to use
host_name localhost
service_description HTTP
check_command check_http
notifications_enabled 0
}