Page 3 of 4
Re: Pnpnagios package loss error
Posted: Wed Mar 06, 2019 10:16 am
by alex3105
Good morning Scottwilkerson,
Sorry to insist, after the changes made there is no change of activity in the graphics of lost packets when a host is disconnected and the perfdata host graph is not recovered.
If there is any information that I can send I would appreciate it if you indicate it ... thank you very much
Re: Pnpnagios package loss error
Posted: Wed Mar 06, 2019 4:01 pm
by scottwilkerson
Is it still showing the host timed out after 30 seconds?
Re: Pnpnagios package loss error
Posted: Thu Mar 07, 2019 8:39 am
by alex3105
Tell me, I do not understand ... how can I check it?
Re: Pnpnagios package loss error
Posted: Thu Mar 07, 2019 8:58 am
by scottwilkerson
alex3105 wrote:Tell me, I do not understand ... how can I check it?
In the host output
Re: Pnpnagios package loss error
Posted: Thu Mar 07, 2019 9:33 am
by alex3105
Dear Scottwilkerson,
I hope it is the information you request.. In Host State Information
Status Information CRITICAL - Plugin timed out
Current Attempt 1/1 (HARD State)
Last Check Type 03-07-2019 09:31:26
Check Type ACTIVE
Check Latency \ Duration 0.00 / 31.001 Seconds
Best Regards.
Re: Pnpnagios package loss error
Posted: Thu Mar 07, 2019 10:08 am
by scottwilkerson
So the plugin is timing our after 30 seconds
Can you share your nagios.cfg ?
Re: Pnpnagios package loss error
Posted: Thu Mar 07, 2019 10:36 am
by alex3105
I share my file nagios.cfg
Greetings.
Re: Pnpnagios package loss error
Posted: Thu Mar 07, 2019 1:04 pm
by scottwilkerson
And what is the current command definition for the commands used that produced the following
Code: Select all
Status Information CRITICAL - Plugin timed out
Current Attempt 1/1 (HARD State)
Last Check Type 03-07-2019 09:31:26
Check Type ACTIVE
Check Latency \ Duration 0.00 / 31.001 Seconds
Re: Pnpnagios package loss error
Posted: Thu Mar 07, 2019 1:44 pm
by alex3105
Excuse me ... leave the definition of the command as it was at the beginning while waiting for your answer ...
I'll leave it as you suggested
define command {
command_name check-host-alive
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000,80% -c 5000,100% -p 5 -t 10
}
at this moment for test I have the host on and other in state off
Host Status: UP (for 118d 1h 10m 49s)
Status Information: OK - 10.1.100.123: rta 12,706ms, lost 0%
Performance Data: rta=12,706ms;3000,000;5000,000;0; pl=0%;80;100;; rtmax=21,519ms;;;; rtmin=9,253ms;;;;
Current Attempt: 1/3 (HARD state)
Last Check Time: 03-07-2019 13:38:05
Check Type: ACTIVE
Check Latency / Duration: 2.791 / 0.235 seconds
Next Scheduled Active Check: 03-07-2019 13:40:05
Last State Change: 11-09-2018 12:29:23
Last Notification: N/A (notification 0)
Is This Host Flapping? NO (0.00% state change)
In Scheduled Downtime? NO
Last Update: 03-07-2019 13:40:03 ( 0d 0h 0m 9s ago)
Host Status: DOWN (for 1d 2h 51m 53s)
Status Information: CRITICAL - 10.1.2.39: rta nan, lost 100%
Performance Data: rta=0,000ms;3000,000;5000,000;0; pl=100%;80;100;; rtmax=0,000ms;;;; rtmin=0,000ms;;;;
Current Attempt: 1/1 (HARD state)
Last Check Time: 03-07-2019 13:39:36
Check Type: ACTIVE
Check Latency / Duration: 0.001 / 10.018 seconds
Next Scheduled Active Check: 03-07-2019 13:40:46
Last State Change: 03-06-2019 10:48:47
Last Notification: 03-07-2019 13:20:14 (notification 58)
Is This Host Flapping? NO (0.00% state change)
In Scheduled Downtime? NO
Last Update: 03-07-2019 13:40:33 ( 0d 0h 0m 7s ago)
Re: Pnpnagios package loss error
Posted: Thu Mar 07, 2019 5:55 pm
by scottwilkerson
alex3105 wrote:Host Status: DOWN (for 1d 2h 51m 53s)
Status Information: CRITICAL - 10.1.2.39: rta nan, lost 100%
Performance Data: rta=0,000ms;3000,000;5000,000;0; pl=100%;80;100;; rtmax=0,000ms;;;; rtmin=0,000ms;;;;
Current Attempt: 1/1 (HARD state)
Last Check Time: 03-07-2019 13:39:36
Check Type: ACTIVE
Check Latency / Duration: 0.001 / 10.018 seconds
Next Scheduled Active Check: 03-07-2019 13:40:46
Last State Change: 03-06-2019 10:48:47
Last Notification: 03-07-2019 13:20:14 (notification 58)
Is This Host Flapping? NO (0.00% state change)
In Scheduled Downtime? NO
Last Update: 03-07-2019 13:40:33 ( 0d 0h 0m 7s ago)
The host down looks like it has performance data now instead of a timeout