Page 1 of 1
External command log location
Posted: Thu Aug 24, 2017 7:41 am
by sgoffar
Hi Team,
Can you please help us with log location of successful execution log details of command pass through nrdp(Eg:DISABLE_HOST_CHECK;XXXXX).
In eventlog as well as at /usr/local/nagios/var only showing failure command log through nrdp.
Re: External command log location
Posted: Thu Aug 24, 2017 9:31 am
by mcapra
I would double check your main configuration settings to ensure
log_external_commands is set to 1. More info:
https://assets.nagios.com/downloads/nag ... l_commands
I
think NRDP just chucks them into the external commands spooler, which should be logged with the above setting. I believe that there are some native Nagios XI functions that leverage external commands as well, so it's not like you'll *only* see NRDP commands in the log.
Re: External command log location
Posted: Thu Aug 24, 2017 11:01 am
by scottwilkerson
mcapra wrote:I would double check your main configuration settings to ensure
log_external_commands is set to 1. More info:
https://assets.nagios.com/downloads/nag ... l_commands
I
think NRDP just chucks them into the external commands spooler, which should be logged with the above setting. I believe that there are some native Nagios XI functions that leverage external commands as well, so it's not like you'll *only* see NRDP commands in the log.
This is correct
Re: External command log location
Posted: Mon Aug 28, 2017 7:36 am
by sgoffar
I can see failure log of any external command. In case of host name mismatch.
I needs the log to justify whether the external command execute properly or not at a particular time.
Re: External command log location
Posted: Mon Aug 28, 2017 7:54 am
by scottwilkerson
Great! I am going to close the issue. If you have any other problems feel free to let us know.