Code: Select all
An error has occurred in the script on this page
Line: 9
Char: 1
Error: The value of the property '$' is null or undefined, not a Function object
Code: 0Code: Select all
[Mon Oct 21 09:58:21 2013] [error] [client <client ip address>] script not found or unable to stat: /usr/local/nagios/sbin/jquery-1.7.1.min.js, referer: http://<server ip address>/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetailThanks,
David Williams
EDIT: I went ahead and took your ip out of the post - tmcdonald
------
I have found the file "jquery-1.7.1.min.js" but it does not exist in the location being specified by the error:
Code: Select all
# find / -name jquery-1.7.1.min.js
/etc/nagios/html/js/jquery-1.7.1.min.js
/etc/nagios/html/includes/jquery-1.7.1.min.js
/usr/local/nagios/share/includes/jquery-1.7.1.min.js
/usr/local/nagios/share/js/jquery-1.7.1.min.jsOnce I click through the error on the webpage I also get this error:
Code: Select all
Whoops!
Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading!
Here are some things you should check in order to resolve this error:
Make sure you've installed a CGI config file in its proper location. See the error message about for details on where the CGI is expecting to find the configuration file. A sample CGI configuration file (named cgi.cfg) can be found in the sample-config/ subdirectory of the Nagios source code distribution.
Make sure the user your web server is running as has permission to read the CGI config file.
Make sure you read the documentation on installing and configuring Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.
Note: The current configuration is not by choice since I inherited this from someone else and the system was left to it's own devices and stopped working about 2 years ago because someone let the file system fill up.