Please help with Exchange issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Please help with Exchange issues

Post by scottwilkerson »

benningtonr wrote:I cannot find the log file under program files\nagios.
The log should be under
program files\NSClient++
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Please help with Exchange issues

Post by benningtonr »

there are no logfiles
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Please help with Exchange issues

Post by scottwilkerson »

What version of NSClient++ are you running?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Please help with Exchange issues

Post by benningtonr »

NSClient++-0.3.9-x64
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Please help with Exchange issues

Post by scottwilkerson »

Can I have you edit the nsc.ini to change the following

Code: Select all

[log]
debug=1
then restart nsclient++

This should produce a file nsclient.log file in the nsclient++ directory
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Please help with Exchange issues

Post by benningtonr »

is there a chance that nsclient++ is getting settings from the registry?
I took the rem statement out from in front of debug=1 and restarted the service and no log file.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Please help with Exchange issues

Post by scottwilkerson »

Are you starting this as a service or just running the test mode in the terminal?

Also does your nsc.ini file have the line ?

Code: Select all

use_file=1
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Please help with Exchange issues

Post by benningtonr »

I am going into windows services and restarting. A window pops up stating it is stopping the service, then restarting the service.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Please help with Exchange issues

Post by benningtonr »

[log]
;# LOG DEBUG
; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test)
debug=1
;
;# LOG FILE
; The file to print log statements to
file=nsclient.log
;
;# LOG DATE MASK
; The format to for the date/time part of the log entry written to file.
date_mask=%Y-%m-%d %H:%M:%S
;
;# LOG ROOT FOLDER
; The root folder to use for logging.
; exe = the folder where the executable is located
; local-app-data = local application data (probably a better choice then the old default)
;root_folder=exe
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Please help with Exchange issues

Post by lmiltchev »

scottwilkerson was asking about the "use_file=1" line. It is in the [Settings] section and it look like this:

Code: Select all

;# USE THIS FILE
;  Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 
;  the registry will be used instead.
use_file=1
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked