Pnpnagios package loss error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Pnpnagios package loss error

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Pnpnagios package loss error

Post by scottwilkerson »

Is it still showing the host timed out after 30 seconds?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Pnpnagios package loss error

Post by alex3105 »

Tell me, I do not understand ... how can I check it?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Pnpnagios package loss error

Post by scottwilkerson »

alex3105 wrote:Tell me, I do not understand ... how can I check it?
In the host output
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Pnpnagios package loss error

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Pnpnagios package loss error

Post by scottwilkerson »

So the plugin is timing our after 30 seconds

Can you share your nagios.cfg ?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Pnpnagios package loss error

Post by alex3105 »

I share my file nagios.cfg

Greetings.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Pnpnagios package loss error

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Pnpnagios package loss error

Post 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)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Pnpnagios package loss error

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart