Monitor the services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gselvakumar
Posts: 96
Joined: Wed Mar 02, 2016 4:52 am

Monitor the services

Post by gselvakumar »

Hi Team,

Could please help me in monitoring the 'Ipswitch WS_FTP Web Server$FTPServer' service on the windows server.I tried using the below mentioned command but still I am getting the error.Please find the attachment for service name

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_nt -H WUSRCPSFTP00 -s "Password7" -p 12489 -v SERVICESTATE -l 'Ipswitch WS_FTP Web Server$FTPServer' -d SHOWALL  -t 60
OUTPUT:  Failed to open service Ipswitch WS_FTP Web Server\$FTPServer: 123: The filename, directory name, or volume label syntax is incorrect.
I even tried using \ before $ but still getting the error.

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_nt -H WUSRCPSFTP00 -s "Password7" -p 12489 -v SERVICESTATE -l 'Ipswitch WS_FTP Web Server$FTPServer' -d SHOWALL  -t 60
OUTPUT:  Failed to open service Ipswitch WS_FTP Web Server\$FTPServer: 123: The filename, directory name, or volume label syntax is incorrect.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
Gomathyshankar Selvakumar
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Monitor the services

Post by avandemore »

From the CLI as user nagios, what is the output of:

Code: Select all

/usr/local/nagios/libexec/check_nt -H WUSRCPSFTP00 -s "Password7" -p 12489 -d SHOWALL
Previous Nagios employee
gselvakumar
Posts: 96
Joined: Wed Mar 02, 2016 4:52 am

Re: Monitor the services

Post by gselvakumar »

Hi,

Please find output for the below mentioned command from the CLI as user nagios

Code: Select all

 /usr/local/nagios/libexec/check_nt -H WUSRCPSFTP00 -s "Password7" -p 12489 -d SHOWALL
check_nt: Could not parse arguments
Usage:
check_nt -H host -v variable [-p port] [-w warning] [-c critical]
[-l params] [-d SHOWALL] [-u](DEPRECATED) [-t timeout]

I am having issue in monitoring only "WS_FTP Web Server$FTPServer" service. Rest services mentioned in attachment I am able to configure in nagios and it is working.
Thanks & Regards,
Gomathyshankar Selvakumar
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Monitor the services

Post by avandemore »

Try this one instead:

Code: Select all

/usr/local/nagios/libexec/check_nt -H WUSRCPSFTP00 -s "Password7" -p 12489 -v SERVICESTATE -d SHOWALL
Previous Nagios employee
gselvakumar
Posts: 96
Joined: Wed Mar 02, 2016 4:52 am

Re: Monitor the services

Post by gselvakumar »

Hi Team,

We can close this thread.I got the solution.
I tried below mentioned command and it worked for me.

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_nt -H WUSRCPSFTP00.fossil.com -s "Password7" -p 12489 -v SERVICESTATE -l 'Ipswitch WS_FTP Web Server$$FTPServer' -d SHOWALL  -t 60
Thanks & Regards,
Gomathyshankar Selvakumar
Locked