Nagios XI Log Locations And Descriptions

2y ago
16 Views
2 Downloads
213.56 KB
6 Pages
Last View : 24d ago
Last Download : 3m ago
Upload by : Laura Ramon
Transcription

The Industry Standard In Infrastructure MonitoringNagios XILog Locations and DescriptionsPurposeThis document describes the Nagios Core, Nagios XI, and system logs on a Nagios XI server,including the locations and a brief descriptions of their potential contents and diagnostic uses.Target AudienceThis document is intended for use by Nagios XI Administrators who want to have a better understanding ofthe logging architecture in Nagios XI and wish to diagnose potential Nagios XI issues with or without the helpof Nagios Support.Standard Log LocationsOn a Nagios XI server, useful logs can be found in a few different places: /usr/local/nagios/var /usr/local/nagiosxi/tmp /usr/local/nagiosxi/var /var/lib /var/logLogs Located In /usr/local/nagios/varThese are standard Nagios Core and PNP4Nagios logs. They are usually configurable by way of theirassociated .cfg/.pl files./usr/local/nagios/var/nagios.logThe Nagios Core log, includes checks, notifications, external commands, and events. This file is rotateddaily into the /usr/local/nagios/var/archives folder (default setting in nagios.cfg) by rsyslog.1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671INTL: 1-651-204-9102www.nagios.com 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, orregistered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner.Page 1 / 6Updated – April, 2020

The Industry Standard In Infrastructure MonitoringNagios XILog Locations and DescriptionsLogs located in the /usr/local/nagios/var/archives folder are used as the data source for theAvailability and SLA reports. Deleting them would cause these reports to show inaccurate data./usr/local/nagios/var/npcd.logLog for the npcd daemon. This log is rotated by rsyslog. If you ever see load threshold warnings in thislog, you may need to increase the load threshold value in/usr/local/nagios/etc/pnp/npcd.cfg and restart the npcd service./usr/local/nagios/var/perfdata.logThis file is related to performance data does not log by default. You can enable logging in/usr/local/nagios/etc/pnp/process-perfdata.pl with "LOG LEVEL 1". This log willcontain any timeout errors for performance data processing and generally will include any errors withdatasources and round robin database (.rrd) files.Logs Located In /usr/local/nagiosxi/tmpIt is possible to find two logs in the /usr/local/nagiosxi/tmp s file contains the logs for emails sent via the phpmailer./usr/local/nagiosxi/tmp/upgrade.logThis file contains the logs for upgrading your Nagios XI system.1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671INTL: 1-651-204-9102www.nagios.com 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, orregistered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner.Page 2 / 6Updated – April, 2020

The Industry Standard In Infrastructure MonitoringNagios XILog Locations and DescriptionsLogs Located In /usr/local/nagiosxi/varMost of these logs are overwritten by crond at the top of the minute. They are stream-style logs, so a runningtail ( tail -f xxx ) is usually the best way to watch them. As they are managed by cron, and not rsyslog,changing the logging would require editing the nagiosxi cron scripts. It is recommended that you do not alterthe crons though, as certain Nagios XI components rely on these crons/logs./usr/local/nagiosxi/var/cleaner.logThis file logs any cleanup processes. This includes any file-system maintenance like the removal of oldnagiosql backup files and trims the saved snapshots. Additionally, some components use the cleaner procto cleanup after themselves (IM, etc)./usr/local/nagiosxi/var/cmdsubsys.logThis file logs the process of any commands passed to the Nagios XI backend/subsystem through thecmdsubsys cron. This includes "Apply Configuration" or other Nagios XI specific commands. Thesecommands are read by the cron from the nagiosxi SQL database table "xi ogNagios Business Process Intelligence (BPI) log file. Any errors suppressed by the Nagios XI interface willbe logged in this ackups.logThis file contains the logs for the Scheduled Backup component./usr/local/nagiosxi/var/dbmaint.logThis file logs the result of the database maintenance cron. This should include table truncates and d in Nagios XI 2014. It logs the removal of nagios objects as specified by the deadpool settings.1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671INTL: 1-651-204-9102www.nagios.com 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, orregistered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner.Page 3 / 6Updated – April, 2020

The Industry Standard In Infrastructure MonitoringNagios XILog Locations and is file logs any events passed through the Nagios XI backend. This includes the global event handler,Nagios XI user notifications, standard event handlers, and component specific events. These events areread by the cron from the nagiosxi SQL database table "xi events"./usr/local/nagiosxi/var/feedproc.logThis file logs the processing of specific backend objects that are fed to Nagios XI - specificallyunconfigured objects./usr/local/nagiosxi/var/load url.logThis file logs any errors from the internal Nagios XI load url() function. This includes backend APIcalls as well as ajax GET requests./usr/local/nagiosxi/var/nom.logThis file logs the creation of nagios checkpoints and scheduled nagios restarts (default is once every his file logs the processing of perfdata. This includes the management of the/usr/local/nagios/var/spool giosxi/var/recurringdowntime.logThis file logs any recurring downtime processed by the recurring downtime ntly unused.1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671INTL: 1-651-204-9102www.nagios.com 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, orregistered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner.Page 4 / 6Updated – April, 2020

The Industry Standard In Infrastructure MonitoringNagios XILog Locations and s file logs the reporting of Nagios XI component statuses run by the sysstat cron, which willsubsequently update the Nagios engine and component statistics dashlet in the Nagios XI interface.Logs Located In /varThese are system logs that may provide helpful information when troubleshooting an issue with Nagios XI orthe server itself. By default, all of the logs below are managed/rotated by rsyslog or whichever system loggeryour Nagios XI server is running./var/log/messagesThis is the system messages log. Most hardware related errors will appear here, as well as nrpeinformation, segfaults, kernel msg limits, and ulimit errors among many other things. This is a good log toknow about. If you suspect intermittent hardware issues, look here, or just run dmesg./var/log/httpd/error logThis is the Apache error log. Problems/bugs in the php will log here, as well as authentication problems orissues with broken urls. As Nagios XI is a LAMP application, many issues will log here. It is always agood place to start when troubleshooting Nagios XI./var/log/httpd/access logThis is the Apache access log. Failed authentications, ajax requests and page views will log here./var/log/maillogThis file logs email sent through sendmail. Only applicable to core contact "notify-*-by-email" notificationhandlers and sendmail tests.1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671INTL: 1-651-204-9102www.nagios.com 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, orregistered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner.Page 5 / 6Updated – April, 2020

The Industry Standard In Infrastructure MonitoringNagios XILog Locations and ysqld.logThis is the MySQL/MariaDB database log. MariaDB is used in RHEL/CentOS 7.x onwards. Issues suchas crashed tables or mysqld service startup errors will be logged here. It is not a bad idea to create acheck to search these logs for the string "crashed", as that is a sign that the database may need to berepaired with the script /usr/local/nagiosxi/scripts/repair databases.sh./var/lib/pgsql/pgstartup.logThe is the Postgresql startup log. Issues with the postgres .pid or .lock files will log here.Finishing UpThis completes the documentation on log locations and descriptions in Nagios XI.If you have additional questions or other support related questions, please visit us at our Nagios SupportForums:https://support.nagios.com/forumThe Nagios Support Knowledgebase is also a great support resource:https://support.nagios.com/kb1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671INTL: 1-651-204-9102www.nagios.com 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, orregistered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner.Page 6 / 6Updated – April, 2020

This is the MySQL/MariaDB database log. MariaDB is used in RHEL/CentOS 7.x onwards. Issues such as crashed tables or mysqld service startup errors will be logged here. It is not a bad idea to create a check to search these logs for the string "crashed", as that is

Related Documents:

Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. www.nagios.com Page 3 / 10 Updated - February, 2018 Nagios XI The Industry Standard In Infrastructure Monitoring Monitoring AIX .

Installazione e compilazione di Nagios Per prima cosa è necessario creare l'utente ed il gruppo nagios: # adduser nagios Spostiamoci nella directory in cui abbiamo salvato i sorgenti e decomprimiamo il file di nagios: # tar -zxvf nagios-2.0b3.tar.gz Spostiamoci nella directory appena creata: # cd nagios-2.0b3 e lanciamo il file di configurazione:

Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or regis-tered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner.er. 1295 Bandana BLVD N, St. Paul, MN 55108 sales@nagios.c

§ These shortcomings are inherently due to Nagios' in-band implementation § To overcome these limitations, we introduce out-of-band and scalable Redfish-Nagios monitoring solution Problem Statement/Motivation 4 [1] Nagios. 2022. Nagios-The Industry Standard In IT Infrastructure Monitoring.Retrieved May, 2022 from https://www.nagios.org

addons that can be used with it. Nagios Core is an OpenSource Software licensed under the GNU GPL V2. Nagios XI takes the Nagios Core and builds upon it to create an enterprise-class monitoring and alerting solution that is easier to set up and configure. Nagios XI through easy to use network wizards provides infrastructure monitoring of

for a Nagios Core integration and all products based on Nagios Core. These elements can be used for Nagios, Icinga V1.x series, SM-Box or other Nagios Core based variants for enhancements for Fujitsu servers.

2.2 Nagios Overview Nagios is a host and service monitor designed to inform you of network problems before your technologists, radiologists or managers do. The monitoring daemon runs intermittent checks on hosts and services you specify using external "plugins" which return status informa-tion to Nagios .

These documents provide supporting documentation needed to successfully implement multi-tenancy with Nagios XI. Multi-Tenancy Overview Multi-tenancy allows administrators to configure Nagios XI in such a way that the following criteria can be met: A single Nagios XI instance can monitor hosts and services for multiple users (clients)