Search found 6 matches

by browners80
Mon Feb 19, 2018 4:32 am
Forum: Nagios XI
Topic: NCPA monitoring service name with spaces - help
Replies: 5
Views: 1585

Re: NCPA monitoring service name with spaces - help

I used the API viewer and noticed the 'View alternate Format' button. This gave me the exact command output required.... I wish I had known about this sooner. The correct command out it gave was: ./check_ncpa.py -H 10.0.0.100 -t 'MyToken' -M 'services' -q 'service=FileZilla Server,status=running' Go...
by browners80
Fri Feb 16, 2018 12:25 pm
Forum: Nagios XI
Topic: NCPA monitoring service name with spaces - help
Replies: 5
Views: 1585

Re: NCPA monitoring service name with spaces - help

I have just finished updating to the latest release to be sure there is no bugs involved. I see you are also successfully using a service with no spaces. Please as a test use the same command and try say 'Plug and Play'.

Let me know if it also fails for you.
by browners80
Fri Feb 16, 2018 9:32 am
Forum: Nagios XI
Topic: NCPA monitoring service name with spaces - help
Replies: 5
Views: 1585

NCPA monitoring service name with spaces - help

Hello, I am able to monitor the state of services with no spaces in thier name ie 'Netloggon'. Using the same command and entering a service name with spaces 'File Zilla' or 'Plug and Play' fails. Example of same command working: ./check_ncpa.py -H 10.0.0.100 -t 'MyToken' -P 5693 -M 'services' -q 's...
by browners80
Thu Feb 15, 2018 6:31 pm
Forum: Nagios XI
Topic: NCPA calling batch file with arguments ---- Help !
Replies: 5
Views: 1094

Re: NCPA calling batch file with arguments ---- Help !

Many thanks for your reply. I just needed to figure out the correct syntax for passing the args. It worked perfectly.

Thankyou.
by browners80
Thu Feb 15, 2018 7:28 am
Forum: Nagios XI
Topic: NCPA calling batch file with arguments ---- Help !
Replies: 5
Views: 1094

NCPA calling batch file with arguments ---- Help !

Hello, I am quite new to Nagios and have reached the stage where I need to call external batch files which include argument. I have tested this using nrpe and it is successful although would like to use NCPA. I have move the batch file 'check_windows_time.bat' to the /plugins directory. From the win...