External command log location

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

External command log location

Post 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.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: External command log location

Post 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.
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: External command log location

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: External command log location

Post 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.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: External command log location

Post by scottwilkerson »

Great! I am going to close the issue. If you have any other problems feel free to let us know.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked