PNP mandatory requires valid performance data of nagios plugins.So what is this performance data The output of a nagios plugin up to nagios 2.How To Install Check_Nrpe Plugin Download' title='How To Install Check_Nrpe Plugin Download' />Linux.Manage. com. Nagios check host status with NRPE1.Preparations. First of all we have to install some packages.Sudo aptget install nagios3 nagiosplugins nagiosnrpeplugin.Now for the Drone.I recently purchased a Yuneec Typhoon Q500 4K.It has been an awesome drone, and I highly recommend it to anyone looking to get one.In our first part of this article, weve explained in detail on how to install and configure latest Nagios Core 4.CentOS 7. 2 server. Blasterjaxx Love Comes Again Download Free . In this article we will.DE/images/a/a9/Nrpe-aufbau.png' alt='How To Install Check_Nrpe Plugin Download' title='How To Install Check_Nrpe Plugin Download' />Then add new user and group called nagios.NRPE installation.Nrpe is a daemon installed on client machines used for system information retrieval.Use below script to download and configure nrpe on your client machine.NRPEVERSION2. 1. NAGIOSHOMEusrlocalnagios.NRPEVERSION. tar.NRPEVERSION. tar.NRPEVERSION. tar.C download. cd downloadnrpe NRPEVERSION.NAGIOSHOME. make install plugin.Running nrpe. Your nrpe daemon can run as inetd process or as standalone application.Id rather prefer second solution.Below it is shown simple nrpe script with start,stop and restart behaviour.Copy that script into etcinit.NRPE daemon isnt working.NRPE is working. Not starting.Starting NRPE daemon.Stopping NRPE daemon.Change rights to this script so it can be executed x with command chmod 7.Before running nrpe we have to configure it.To do this edit file usrlocalnagiosetcnrpe.IP address or hostnames that are allowed to exchange informationsdefine commands which will be executed examples shown below.So we need now to install or copy from another server nagios plugins to run it locally.How to install nagios plugins was shown in previous tutorial with title Nagios administration with nagiosadmin.When we are ready with nagios plugins and we have got all commands configured in usrlocalnagiosetcnrpe.We should see in netstat output following line.LISTEN 3. 00. 1nrpe.On server machine where nagios is installed go to usrlocalnagioslibexec directory and run below command.H IPaddresswherenrpeisinstalled c checkaptnrpe.This command will run checkaptnrpe command defined in nrpe.APT OK 0 packages available for upgrade 0 critical updates.Tip for apt put into etccron.This will run every day apt get update on the server so nrpe has got real information about apt status.Configure commands with nagiosadmin.I assume that you administer nagios with nagiosadmin, so go to Command Tab and create new command with.Name checknrpe. Command USER1checknrpe H HOSTNAME c ARG1.After saving, go to Services Tab and add new service.Name apt whatever you like, names and aliases are your choices.Alias apt same as name Command checknrpe choose from dropbox field.Port dont fill it up.Special checkcommand checknrpe Hosts choose using checkboxes servers you want to monitor for apt status all servers have nrpe deamon configured and running.Save and go to Generator Tab and also click on Save.It will reload nagios with new configuration.In nagios panel you will see new added services which firstly have pending status and after while status which nrpe returns.One last think is to add nrpe.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |