Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
NRPE HPUX ITANIUM
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Steps To install NRPE on Hp Unix(IA) at Airtel , Okhla == Note : Prior Knowledge of Nagios/ NRPE is required 1. Upload the nrpe-2.12.depot file to the server in the /tmp directory. The depot file cane be got from http://www.mayoxide.com/naghpux/NRPE-2.12.depot.gz 2. Install the depot file on the server. 3. On successfull installation of the depot file we will get the folder /opt/nrpe. 4. Inside the /opt/nrpe there will be three folders bin , etc , libexec . 5. Go inside bin folder and run the file configure.sh 6. After running the file the service of nrpe will be started on the server 7. Check the nrpe service by command netstat –a | grep nrpe 8. Output will be tcp 0 0 *.nrpe *.* LISTEN 9. Also check the nrpe service entry inside the file /etc/inetd.conf at the bottom. 10. Go to folder /opt/nrpe/libexec and run the file ./check_nrpe –H localhost it will show you the version of the nrpe it should be “NRPE v2.12”. 11. Inside libexec folder ther will be generic plugins for the nagios that we can use while configuring the different services. 12. Now go to nagios server 172.30.1.24 and go inside the folder /usr/local/nagios/libexec and run the command ./check_nrpe –H <client ip> this will show the nrpe version like NRPE v2.12 so it means we are able to communicate through nrpe from nagios server to the client. 13. If we are not able to communicate through nagios server to the client then there is some issue. Check port 5666 should be open and it should not be blocked by the firewalls. 14. Telnet on port 5666 through nagios server for the confirmation if port is opened or not. 15. Go back to the client on the location /opt/nrpe/etc , inside etc there will be a file nrpe.cfg. In this file we configure all the service that we have to monitor from nagios for this particular client. 16. Open the file nrpe.cfg and go to the bottom of the file around line no 197 there you will find some examples how we can configure the service for a client. 17. For example command[check_users]=/opt/nrpe/libexec/check_users -w 5 -c 10 this is a command to check the current users logged on the server. 18. Here “check_users” is a unique identifier for the command that we are using to identify the command from the nagios server. 19. /opt/nrpe/libexec /check_users is specifing the path of the plugin. 20. -w 5 –c 10 specify the warning and the critical limit for the check_users command. 21. Similarly we can configure all the service we have to monitor from the nagios server to the client. 22. After configuring the services save the file. 23. Now we can check through the nagios server by the command prompt if we are getting the output of the configured services on the nagios server. 24. Go to the location /usr/local/nagios/libexec on nagios server run the command ./check_nrpe –H <client ip> -c <check command> (check_cpu). 25. –c option defines the command check or the unique identifier that we have defined in the nrpe.cfg file at the client. 26. After running the command on the nagios server in step 23 if we get output as Service OK or Warning or Critical then we are getting the output from nrpe to nagios. 27. Configure the client on the nagios server.
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)