Search found 4 matches

by tomitomi
Wed Jul 05, 2023 5:45 am
Forum: Nagios XI
Topic: Error checking .ps1 to check certificate expiration date
Replies: 7
Views: 1968

Re: Error checking .ps1 to check certificate expiration date

The arguments were probably wrong, but as it's a script, you can always make it print more information. run 3 This is the help, just two arguments, c and w if ($help) { Write-Output "" Write-Output "---------------------------------------------" Write-Output "nm-check-certi...
by tomitomi
Wed Jun 21, 2023 5:24 am
Forum: Nagios XI
Topic: Error checking .ps1 to check certificate expiration date
Replies: 7
Views: 1968

Re: Error checking .ps1 to check certificate expiration date

If i run the script on a windows server works corretly, it must be some incompatibility with nagios/linux.

I will continue looking for information.

Thanks.
by tomitomi
Fri Jun 16, 2023 3:31 am
Forum: Nagios XI
Topic: Error checking .ps1 to check certificate expiration date
Replies: 7
Views: 1968

Error checking .ps1 to check certificate expiration date

Hello, Im testing this check: https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Certificate-Expiration-Check/details And i get this error: Cannot process argument transformation on parameter 'critical'. Cannot convert value "$" to type "System.Int32". Error:...