What are the Nagios plugins?
What Is A Plugin? Plugins are standalone extensions to Nagios Core that make it possible to monitor anything and everything with Core. Plugins process command-line arguments, perform a specific check, and then return the results to Nagios Core.
Where is Nagios data stored?
Nagios Log Server allows administrators to set the data path they would like their data to be stored. The default location is /usr/local/nagioslogserver/elasticsearch/data/, however with proper planning this path can be changed.
How does Nagios plugin work?
Nagios will process the results that it receives from the plugin and take any necessary actions (running event handlers, sending out notifications, etc). Plugins act as an abstraction layer between the monitoring logic present in the Nagios daemon and the actual services and hosts that are being monitored.
What is default location of Nagios log file?
The Nagios Core log, includes checks, notifications, external commands, and events. This file is rotated daily into the /usr/local/nagios/var/archives folder (default setting in nagios.
What language are Nagios plugins written in?
Several Nagios plugins are written in Perl and there are components of various Nagios products that are written in Perl. PHP is a server-side scripting language designed used for building web applications. It is also used as a general-purpose programming language.
Is Nagios log server open source?
A: Yes! Nagios started in the Open Source community and we hold strong to our roots. Nagios Log Server is free to use for up to 500MB of log data per day. This makes it easy to monitor small environments or to try it in your environment before you make a purchase decision.
How do I check the size of a file in Nagios?
Nagios Plugins comes with the check_file_age plugin which allows you to check the size of a file. However the plugin also checks the age of the file, so you need to define these thresholds as 0 if you only want to check the file size.
How to do a host Check using Nagios?
We can have two different types of host check: direct check (nagios -> command check_ping (HOSTADDRESS) -> local plugin check_ping (HOSTADDRESS) ); In this case no plugins or NRPE or something else required on Second machine. Nagios calls local plugin check_ping, it’s make a check, Nagios gets the result.
What is the use of /store directory in Nagios?
The /store directory is used to house backups of the MySQL and Postgres databases used by Nagios XI. Backups for these databases are created by cron job scripts (run the by the root user) located in /root/scripts.
Which NRPE and Nagios plugins should be installed?
At Second machine should be installed NRPE and Nagios Plugins, also nrpe.cfg should contain necessary commands. You can use this type for CPU Load, Memory usage and Disks space monitoring, or create custom plugins.