Sorry for the delay,
I just confirmed that it is the same host .. all my computers monitored around 70 have the same configuration ..
regards
Pnpnagios package loss error
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Pnpnagios package loss error
You might want to try adding -t 10 to the check-host-alive command definition to force it to complete in 10 seconds
-
- Posts: 103
- Joined: Sat Jul 28, 2018 10:54 am
Re: Pnpnagios package loss error
Dear Scottwilkerson,
Make the changes in the command ... restart Nagios .. I will now observe the monitoring as it behaves ..
define command {
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -t 10
}
Best Regards,
Make the changes in the command ... restart Nagios .. I will now observe the monitoring as it behaves ..
define command {
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -t 10
}
Best Regards,
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Pnpnagios package loss error
Sounds good, let us know what you findalex3105 wrote:Dear Scottwilkerson,
Make the changes in the command ... restart Nagios .. I will now observe the monitoring as it behaves ..
define command {
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -t 10
}
Best Regards,
-
- Posts: 103
- Joined: Sat Jul 28, 2018 10:54 am
Re: Pnpnagios package loss error
Dear Scottwilkerson,
After applying the suggested change .. perform the registration of a host in my nagios ... then simulate the loss of connection to the network .. but I still do not observe changes in the graph, should show some activity graph if the connection in the second graphic of lost packages ...?
Host Status: DOWN (for 0d 0h 13m 20s)
Status Information: (Host check timed out after 30.01 seconds)
Best Regards.
After applying the suggested change .. perform the registration of a host in my nagios ... then simulate the loss of connection to the network .. but I still do not observe changes in the graph, should show some activity graph if the connection in the second graphic of lost packages ...?
Host Status: DOWN (for 0d 0h 13m 20s)
Status Information: (Host check timed out after 30.01 seconds)
Best Regards.
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Pnpnagios package loss error
In looking into another issue, it is possible you may have uncovered a bug in check_ping.
Can you change the command to the followin to use the check_icmp plugin to see if this resolves the issue
Then restart nagios
Thanks!
Can you change the command to the followin to use the check_icmp plugin to see if this resolves the issue
Code: Select all
define command {
command_name check-host-alive
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000,80% -c 5000,100% -p 5 -t 10
}
Thanks!
-
- Posts: 103
- Joined: Sat Jul 28, 2018 10:54 am
Re: Pnpnagios package loss error
Good morning Scottwilkerson,
It is possible to modify the command because it is not generating graphics in the pnpnagios in perfdata after restarting the nagios.
Best regards
It is possible to modify the command because it is not generating graphics in the pnpnagios in perfdata after restarting the nagios.
Best regards
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Pnpnagios package loss error
Ok, let me propose an alternative that may resolve the problem.
Lets edit the nagios.cfg
and change the following items to 90 to allow enough time for the command to finish
Lets edit the nagios.cfg
and change the following items to 90 to allow enough time for the command to finish
Code: Select all
service_check_timeout=90
host_check_timeout=90
-
- Posts: 103
- Joined: Sat Jul 28, 2018 10:54 am
Re: Pnpnagios package loss error
Thanks for the support .. I'll make the changes ..
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Pnpnagios package loss error
sounds goodalex3105 wrote:Thanks for the support .. I'll make the changes ..