Good morning Scottwilkerson,
This is .. shows data .. but when the inactive computer does not show data in the graphics of lost packets ... it should reflect a change of activity in this graph.
Best Regards.
Pnpnagios package loss error
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pnpnagios package loss error
What do you mean "inactive computer"? This is showing the host is down with 100% packet lossalex3105 wrote:This is .. shows data .. but when the inactive computer does not show data in the graphics of lost packets ... it should reflect a change of activity in this graph.
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)
Re: Pnpnagios package loss error
I refer to the question I asked at the beginning of the thread .. when the host is offline does not show activity in the graphics of lost packets, nor cut or activity, the hopst is inactive but without any graphics .. so it should be .. Could you clarify please?
After the suggested changes, there is no data in the hostname on host perfdata for all hosts but there is a ping graph for the computers in state up.
After the suggested changes, there is no data in the hostname on host perfdata for all hosts but there is a ping graph for the computers in state up.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pnpnagios package loss error
So the host that is showing this had nothing in the graph?
This could be a problem with the graphing software you are using, we are not the authors of pnp4nagios however, so you may need to contact them to see if there is some setting you can change.
It is returning performance data (bold above) so it should show.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)
This could be a problem with the graphing software you are using, we are not the authors of pnp4nagios however, so you may need to contact them to see if there is some setting you can change.
Re: Pnpnagios package loss error
I confirm that data is not shown in pnpnagios in the graph of lost packages, but with the suggested changes it is not shown any activity in host perf data but if ping ..
define command {
command_name check-host-alive
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000,80% -c 5000,100% -p 5 -t 10
}
I will leave it as it was at the beginning of the command and I will contact with pnpnagios .. thanks
define command {
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}
define command {
command_name check-host-alive
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000,80% -c 5000,100% -p 5 -t 10
}
I will leave it as it was at the beginning of the command and I will contact with pnpnagios .. thanks
define command {
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pnpnagios package loss error
Sounds good!alex3105 wrote:I will leave it as it was at the beginning of the command and I will contact with pnpnagios .. thanks