Page 3 of 4
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 2:28 pm
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
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 2:38 pm
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!
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 2:39 pm
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.
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 2:42 pm
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
#
###############################################################################
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 3:14 pm
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.
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 3:30 pm
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
Re: nsclient not working on new exchange 2016 server
Posted: Mon May 21, 2018 7:05 am
by benningtonr
Still have three checks not working, any help would be appreciated.
Thank you
Re: nsclient not working on new exchange 2016 server
Posted: Mon May 21, 2018 10:03 am
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.
Re: nsclient not working on new exchange 2016 server
Posted: Mon May 21, 2018 11:08 am
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.
Re: nsclient not working on new exchange 2016 server
Posted: Mon May 21, 2018 4:49 pm
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