Ok, I will see that and post an other reply when i've checked my files
Thanks a lot!!
Warning: Duplicate definition found for command
Re: Warning: Duplicate definition found for command
Sounds good - let us know if you have any further questions.
Former Nagios Employee
Re: Warning: Duplicate definition found for command
I check today if i have duplicate definitions .
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Warning: Duplicate definition found for command
Are you saying checked or that you will check? I just want to be clear.
If you did check, what did you find?
If you did check, what did you find?
Re: Warning: Duplicate definition found for command
Hi i have delete all import files (to my old server), and the duplicates error are fixed.
But now i have this error :
The line 14 is the path of my nagios.cfg file.. and he is correct ...
I don't know how fixed that..
Thank you
But now i have this error :
Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 14.
The line 14 is the path of my nagios.cfg file.. and he is correct ...
I don't know how fixed that..
Thank you
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Warning: Duplicate definition found for command
Please post your /usr/local/nagios/etc/cgi.cfg
Also, my guess is you've got a character(s) on line 13 or 15 that's causing line 14 not to show up as a separate entry.
Also, my guess is you've got a character(s) on line 13 or 15 that's causing line 14 not to show up as a separate entry.
Re: Warning: Duplicate definition found for command
I post my cgi.cfg
Last edited by FabienA on Fri Jan 27, 2017 8:32 am, edited 1 time in total.
Re: Warning: Duplicate definition found for command
#################################################################
#
# CGI.CFG - Sample CGI Configuration File for Nagios 4.2.4
#
#
#################################################################
# MAIN CONFIGURATION FILE
# This tells the CGIs where to find your main configuration file.
# The CGIs will read the main and host config files for any other
# data they might need.
main_config_file=/usr/local/nagios/etc/nagios.cfg
# PHYSICAL HTML PATH
# This is the path where the HTML files for Nagios reside. This
# value is used to locate the logo images needed by the statusmap
# and statuswrl CGIs.
physical_html_path=/usr/local/nagios/share
# URL HTML PATH
# This is the path portion of the URL that corresponds to the
# physical location of the Nagios HTML files (as defined above).
# This value is used by the CGIs to locate the online documentation
# and graphics. If you access the Nagios pages with an URL like
# http://www.myhost.com/nagios, this value should be '/nagios'
# (without the quotes).
url_html_path=/nagios
[...]
Re: Warning: Duplicate definition found for command
Can you attach the file as a response? Your copy+paste got cut off.
Former Nagios employee
Re: Warning: Duplicate definition found for command
Yes i can
Thanks
Thanks
- Attachments
-
- cgi.log
- (13.13 KiB) Downloaded 212 times