- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Query on Nagious
Operating System - HP-UX
1752796
Members
5984
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2009 08:39 PM
08-12-2009 08:39 PM
Query on Nagious
Dear All
I have configured my HP-UX server to send SNMP_Trap. Procedure is attached with this thread.
I have installed nagios using the following procedure. Now my query is to grep SNMP_TRAP using nagios what i need to configure in the services file and how can nagios read all system events send by HP-UX machine using SNMP_TRAP??
Please help me???
#tar zxvf nagios-1.2.tar.gz
#cd nagios-1.2
#mkdir /usr/local/nagios
#useradd nagios
#groupadd nagios
#./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios
Compile Nagios and the CGIs with the following command
#make all
Install the binaries and HTML documentations with the following command
#make install
If you want to install and init script for starting Nagios, use the following command
#make install-init
If you want, you can install the sample config files into the {prefix}/etc directory with the following command
#make install-config
After complete installation check that, all nagios files/directories are install properly,
#ls /usr/local/nagios
bin etc sbin share var
Now install nagios plugins
#tar zxvf nagiosplug-1.3.1.tar.gz
#cd nagiosplug-1.3.1
#./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios
#make all
#make install
Now check that libexec is exist under nagios directory.
#cd /usr/local/nagios/libexec/
We can check our plug-ins installation using,
#cd /usr/local/nagios/libexec
#./check_ssh www.freelinuxcd.org
Make nagios configuration files,
#cd /usr/local/nagios/etc
#mkdir sample
#cp *.cfg-sample sample/
for i in *cfg-sample; do mv $i `echo $i | sed -e s/cfg-sample/cfg/`; done;
To verify main nagios configuration file,
#/usr/bin/nagios â v nagios.cfg
Configure Apache for nagios web interface,
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
Alias /nagios/ /usr/local/nagios/share/
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
Start nagios
Configure all Nagios configuration files,
The contacts.cfg file
The contactgroup.cfg file
The hosts.cfg file
The hostgroup.cfg file
The services.cfg file
#touch escalations.cfg
#touch dependencies.cfg
#chown -R nagios /usr/local/nagios
#chgrp -R nagios /usr/local/nagios
#/etc/init.d/nagios start
I have configured my HP-UX server to send SNMP_Trap. Procedure is attached with this thread.
I have installed nagios using the following procedure. Now my query is to grep SNMP_TRAP using nagios what i need to configure in the services file and how can nagios read all system events send by HP-UX machine using SNMP_TRAP??
Please help me???
#tar zxvf nagios-1.2.tar.gz
#cd nagios-1.2
#mkdir /usr/local/nagios
#useradd nagios
#groupadd nagios
#./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios
Compile Nagios and the CGIs with the following command
#make all
Install the binaries and HTML documentations with the following command
#make install
If you want to install and init script for starting Nagios, use the following command
#make install-init
If you want, you can install the sample config files into the {prefix}/etc directory with the following command
#make install-config
After complete installation check that, all nagios files/directories are install properly,
#ls /usr/local/nagios
bin etc sbin share var
Now install nagios plugins
#tar zxvf nagiosplug-1.3.1.tar.gz
#cd nagiosplug-1.3.1
#./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios
#make all
#make install
Now check that libexec is exist under nagios directory.
#cd /usr/local/nagios/libexec/
We can check our plug-ins installation using,
#cd /usr/local/nagios/libexec
#./check_ssh www.freelinuxcd.org
Make nagios configuration files,
#cd /usr/local/nagios/etc
#mkdir sample
#cp *.cfg-sample sample/
for i in *cfg-sample; do mv $i `echo $i | sed -e s/cfg-sample/cfg/`; done;
To verify main nagios configuration file,
#/usr/bin/nagios â v nagios.cfg
Configure Apache for nagios web interface,
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
Alias /nagios/ /usr/local/nagios/share/
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
Start nagios
Configure all Nagios configuration files,
The contacts.cfg file
The contactgroup.cfg file
The hosts.cfg file
The hostgroup.cfg file
The services.cfg file
#touch escalations.cfg
#touch dependencies.cfg
#chown -R nagios /usr/local/nagios
#chgrp -R nagios /usr/local/nagios
#/etc/init.d/nagios start
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2009 06:21 AM
08-13-2009 06:21 AM
Re: Query on Nagious
You need to install nrpe and Nagios plug-in in each client. You can go to nagios.net and down load both of them and install them.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP