Search found 3 matches

by nadeem
Wed May 23, 2018 4:03 am
Forum: Nagios XI
Topic: Restarting Windows Services With NCPA.
Replies: 4
Views: 1016

Re: Restarting Windows Services With NCPA.

I have resolved the issue. The problem with below command: ./check_ncpa.py -H 10.25.14.3 -p 5693 -t Str0ngT0k3n -M 'plugins/service_restart.bat' -a spooler In the above command, when I used -P instead of -p then problem fixed. So the correct command is: ./check_ncpa.py -H 10.25.14.3 -P 5693 -t Str0n...
by nadeem
Wed May 23, 2018 12:25 am
Forum: Nagios XI
Topic: Restarting Windows Services With NCPA.
Replies: 4
Views: 1016

Re: Restarting Windows Services With NCPA.

Hello Npolovenko, Thanks for your reply. I can access the NCPA GUI interface through https://192.168.0.142:5693/ and can login with token. The GUI interface shows the agent version as 2.1.4. The output from your provided commands is given below: cat /usr/local/nagios/libexec/check_ncpa.py | grep &qu...
by nadeem
Tue May 22, 2018 6:46 am
Forum: Nagios XI
Topic: Restarting Windows Services With NCPA.
Replies: 4
Views: 1016

Restarting Windows Services With NCPA.

Hello, I have installed & configured NCPA agent on Windows Server 2012. Then I created a batch file restart_service.bat having following commands: @echo off net stop %1 net start %1 @exit 0 I copied this restart_service.bat file on Windows Server 2012 machine in following folder: C:\Program File...