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.
External command log location
External command log location
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: External command log location
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.
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/
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
This is correctmcapra 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.
Re: External command log location
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.
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
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
Great! I am going to close the issue. If you have any other problems feel free to let us know.