Search found 2 matches

by Younes.khabchaouy
Mon Jan 27, 2020 10:30 am
Forum: Nagios XI
Topic: Power Shell to Monitor port 22
Replies: 3
Views: 145

Re: Power Shell to Monitor port 22

Hello
Thank You for you answer. The change works for me
returnStateOK = 0
$returnStateCritical = 2

Plugin Return Code Service State Host State
0 OK UP
1 WARNING UP or DOWN/UNREACHABLE*
2 CRITICAL DOWN/UNREACHABLE
3 UNKNOWN DOWN/UNREACHABLE


Thank You for your kind support
by Younes.khabchaouy
Fri Jan 24, 2020 3:01 pm
Forum: Nagios XI
Topic: Power Shell to Monitor port 22
Replies: 3
Views: 145

Power Shell to Monitor port 22

Power Shell to Monitor port 22 I have windows server that has connection to external Linux machine port 22 and I would like to monitor this connection. I did find this Powershell script but Nagios Server we page status for this script is always warning (yellow). Can you please help returnStateOK = 1...