nsclient not working on new exchange 2016 server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: nsclient not working on new exchange 2016 server

Post by benningtonr »

It is a windows server 2016 standard, with Exchange 2016 installed on it.

Can you tell me how to get the definitions you are asking about? thank you
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nsclient not working on new exchange 2016 server

Post by lmiltchev »

From the Nagios XI web UI, go to the CCM > Services > <your service> and click on "View config" button (the diskette icon). Copy/paste the service definition on the forum. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: nsclient not working on new exchange 2016 server

Post by npolovenko »

@benningtonr, You could send us your system profile and I will take the definitions from there:
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. Then share a link with me in a personal message.

After you send a profile please post something in this thread to bring it back up in the support queue.

+ Let us know the names of services that are not working so that I could look them up.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: nsclient not working on new exchange 2016 server

Post by benningtonr »

###############################################################################
#
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.6.11
# Date: 2018-05-18 15:40:01
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################

define service {
host_name EXCH2016.whro.local
service_description Blacklist Status
use xiwizard_exchange_service
check_command check_exchange_rbl!-B zen.spamhaus.org bl.spamcop.net dnsbl.ahbl.org dnsbl.njabl.org dnsbl.sorbs.net virbl.dnsbl.bit.nl rbl.efnet.org phishing.rbl.msrbl.net 0spam.fusionzero.com list.dsbl.org multihop.dsbl.org unconfirmed.dsbl.org will-spam-for-food.eu.org blacklist.spambag.org blackholes.brainerd.net blackholes.uceb.org spamsources.dnsbl.info map.spam-rbl.com ns1.unsubscore.com psbl.surriel.com l2.spews.dnsbl.sorbs.net bl.csma.biz sbl.csma.biz dynablock.njabl.org no-more-funn.moensted.dk ubl.unsubscore.com dnsbl-1.uceprotect.net dnsbl-2.uceprotect.net dnsbl-3.uceprotect.net spamguard.leadmon.net opm.blitzed.org bl.spamcannibal.org rbl.schulte.org dnsbl.ahbl.org virbl.dnsbl.bit.nl combined.rbl.msrbl.net
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts Nagios_Alerts
_xiwizard exchange
register 1
}

define service {
host_name EXCH2016.whro.local
service_description Messages Pending Routing
use xiwizard_windowsserver_nsclient_service
check_command check_xi_service_nsclient!3Xpl0r3r!COUNTER!-l "\\SMTP Server(_Total)\\Messages Pending Routing" -w 25 -c 100
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts Nagios_Alerts
_xiwizard exchange
register 1
}

define service {
host_name EXCH2016.whro.local
service_description Remote Queue Length
use xiwizard_windowsserver_nsclient_service
check_command check_xi_service_nsclient!3Xpl0r3r!COUNTER!-l "\\SMTP Server(_Total)\\Remote Queue Length" -w 25 -c 50
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts Nagios_Alerts
_xiwizard exchange
register 1
}


###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: nsclient not working on new exchange 2016 server

Post by npolovenko »

@benningtonr, What are the names of the not working services?
I think your system may be missing some SMTP performance counters and that's why it's not working.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: nsclient not working on new exchange 2016 server

Post by benningtonr »

SMTP is working fine and reports fine.

service_description Blacklist Status - Does not work
service_description Messages Pending Routing - Does not work
service_description Remote Queue Length - Does not work


According to this SMTP is OK
SMTP Ok 7d 7h 45m 44s 1/5 2018-05-18 16:29:12 SMTP OK - 0.008 sec. response time
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: nsclient not working on new exchange 2016 server

Post by benningtonr »

Still have three checks not working, any help would be appreciated.

Thank you
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nsclient not working on new exchange 2016 server

Post by lmiltchev »

Can you go to the CCM > Services > "Blacklist Status", click on the "Run Check Command" under the "Common Settings" tab, and show a screenshot of the command and the output of it? Do the same for the other two services - "Messages Pending Routing" and "Remote Queue Length".

Also, on the Windows server, open the performance monitor, find the two problem windows performance counters, right-click on them, select "Properties", and show us screenshots of their names.
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: nsclient not working on new exchange 2016 server

Post by benningtonr »

I cannot find the Performance counter. I do not see on for \\SMTPServer\Remote Queue Length

I have attached the other items requested though.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nsclient not working on new exchange 2016 server

Post by lmiltchev »

Are you sure that these performance counters are available on your system? Have you tried adding them by clicking on the "+" sign?
example01.PNG
As for the check_bl check - do you have Internet access? Are you using a proxy?

See this:
This check actually runs against external webservers not your exchange server. Does the nagios server have access to the internet?
https://support.nagios.com/forum/viewto ... =6&t=10392
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked