Search found 4 matches

by melidonis
Tue Mar 19, 2019 5:15 am
Forum: Open Source Nagios Projects
Topic: check_ncpa & powershell
Replies: 5
Views: 3165

Re: check_ncpa & powershell

I created a script with a single line

Code: Select all

[IntPtr]::Size
and I called it from nagios. The result I got was "4". That means that ncpa is calling the x86 version of powershell and the 64bit version. How can I change that?

Thank you.
by melidonis
Tue Mar 19, 2019 4:14 am
Forum: Open Source Nagios Projects
Topic: Nagios Core web interface with SSL support on Ubuntu
Replies: 14
Views: 7982

Re: Nagios Core web interface with SSL support on Ubuntu

Do you get "Connected to 127.0.0.1" if you try

Code: Select all

telnet 127.0.0.1 443
You can also try

Code: Select all

openssl s_client -connect 127.0.0.1:443
by melidonis
Tue Mar 19, 2019 1:34 am
Forum: Open Source Nagios Projects
Topic: check_ncpa & powershell
Replies: 5
Views: 3165

Re: check_ncpa & powershell

Exchange is installed on the server and both are 64bit versions. If I run the script on the server it runs correctly.
by melidonis
Mon Mar 18, 2019 9:12 am
Forum: Open Source Nagios Projects
Topic: check_ncpa & powershell
Replies: 5
Views: 3165

check_ncpa & powershell

Hi. I'm trying to run a powershell script with check_ncpa and I want to add a snapin. But when I use this command "Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010" I get this error : "Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2." A...