Pnpnagios package loss error
Re: Pnpnagios package loss error
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pnpnagios package loss error
Is it still showing the host timed out after 30 seconds?
Re: Pnpnagios package loss error
Tell me, I do not understand ... how can I check it?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pnpnagios package loss error
In the host outputalex3105 wrote:Tell me, I do not understand ... how can I check it?
Re: Pnpnagios package loss error
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.
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pnpnagios package loss error
So the plugin is timing our after 30 seconds
Can you share your nagios.cfg ?
Can you share your nagios.cfg ?
Re: Pnpnagios package loss error
I share my file nagios.cfg
Greetings.
Greetings.
- Attachments
-
nagios.cfg
- (47.4 KiB) Downloaded 314 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pnpnagios package loss error
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
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)
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)
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pnpnagios package loss error
The host down looks like it has performance data now instead of a timeoutalex3105 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)