On Mon, Jun 15, 2009 at 4:19 PM, Nagendra Pal <[email protected]>wrote:

>
>
> Hi Gaurav,
> Download the latest tar from nagios site.
>
> tar xzf nrpe-version.tar.gz
> cd nrpe-version
> Compile the NRPE addon.
> ./configure
> make all
> Install the NRPE plugin (for testing), daemon, and sample daemon config
> file.
> make install-plugin
> make install-daemon
> make install-daemon-config
>
> telnet 192.168.0.0 5666
> netstat -at | grep nrpe
> you can check by these command
>
> /usr/local/nagios/libexec/check_nrpe -H localhost
> ----------------------------------------------------------
> Edit file
> vi /usr/local/nagios/etc/nrpe.cfg or vi /usr/local/nagios/bin/nrpe.cfg
>
> server_port=5666
> allowed_hosts=127.0..0.1,your_IP
>
> #include=<somefile.cfg>
> include=/usr/local/nagios/bin/commands.cfg
>
> command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
> command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
> 30,25,20
> command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p
> /dev/hda1
> command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c
> 10 -s Z
> command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c
> 200
> command[check_httpd]=/usr/local/nagios/libexec/check_process -C "httpd"
>
> ----------------------------------------------------------
> Create a file
> vi /usr/local/nagios/etc/commands.cfg
>
> #FOR APACHE
> #Apache
> command[check_apache_process]=/usr/local/nagios/libexec/check_http -H
> localhost -w 2 -c 5
> command[check_apache_access_log]=/usr/local/nagios/libexec/check_file_age
> -f /opt/apache/logs/access_log -w 73400320 -c 104857600
> command[check_apache_error_log]=/usr/local/nagios/libexec/check_file_age -f
> /opt/apache/logs/error_log -w 73400320 -c 104857600
> command[check_apache_threads]=/usr/local/nagios/libexec/check_procs -w 50
> -c 75 -a '/opt/apache/bin/httpd'
> command[check_apache_memory]=/usr/local/nagios/libexec/check_procs -w
> 1500000 -c 2000000 -a '/opt/apache/bin/httpd' --metric=VSZ
>
> ##Here my apache in /opt >> that why --- /opt/apache/logs/access_log -- you
> put your apachelog path.
>
> ----------------------------------------------------------
> In these way u can add your JBoss , Mysql or other daemons.
>
> If u have any problem you can chat with me 
> [email protected]<pal.nagendra%40gmail.com>
>
> Regards,
> Nagendra Pal
> Mb: 9833518184
>
> ________________________________
> From: ashok abraham <[email protected] <ashokabr%40yahoo.com>>
> To: [email protected] <linuxvadapav%40yahoogroups.com>
> Sent: Monday, 15 June, 2009 11:25:21 AM
>
> Subject: Re: [LinuxVadaPav] How to configure Nagios?
>
> where exactly you are facing the problem
>
> you can call me on 9892386920 /67490119
>
> regards
>
> ashok
>
> --- On Thu, 11/6/09, cool hem <kehe...@yahoo. co.in> wrote:
>
> From: cool hem <kehe...@yahoo. co.in>
> Subject: Re: [LinuxVadaPav] How to configure Nagios?
> To: linuxvadapav@ yahoogroups. com
> Date: Thursday, 11 June, 2009, 5:44 PM
>
> hi gaurav
> thanx for the help.I have refer that docs only n configured Nagios.Now i
> want to monitor remote host.But nt able to do it.So pls help me.
>
> --- On Thu, 11/6/09, Gourav Joshi <gouravjoshi@ gmail.com> wrote:
>
> From: Gourav Joshi <gouravjoshi@ gmail.com>
> Subject: Re: [LinuxVadaPav] How to configure Nagios?
> To: linuxvadapav@ yahoogroups. com
> Date: Thursday, 11 June, 2009, 4:27 PM
>
> On Thu, Jun 11, 2009 at 11:48 AM, cool hem <kehe...@yahoo. . co.in> wrote:
>
> >
>
> >
>
> > Hi All
>
> >
>
> > I have installed Nagios in local server, and its working fine.Now i want
> to
>
> > monitor a linux node so is it necessary to install NRPE plugin into each
>
> > remote server which i am going to monitor?and if yes than anyone pls help
> me
>
> > to do so.
>
> >
>
> > Thanx in advance
>
> >
>
> > Hemal
>
> >
>
> > Bollywood news, movie reviews, film trailers and more! Go to
>
> > http://in.movies. yahoo.com/
>
> >
>
> > [Non-text portions of this message have been removed]
>
> >
>
> >
>
> >
>
> visit my site given below and find the doc there.
>
> --
>
> Have a nice time,
>
> Gourav Joshi
>
> Visit me at :- http://www.gouravjo shi.co.in
>
> [Non-text portions of this message have been removed]
>
> Bring your gang together. Do your thing.. Find your favourite Yahoo! group
> at http://in.promos. yahoo.com/ groups/
>
> [Non-text portions of this message have been removed]
>
> Explore and discover exciting holidays and getaways with Yahoo! India
> Travel http://in.travel. yahoo.com/
>
> [Non-text portions of this message have been removed]
>
> Own a website.Get an unlimited package.Pay next to nothing.*Go to
> http://in.business.yahoo.com/
>
> [Non-text portions of this message have been removed]
>
>  
>


Thanks buddies. I'm writing an document on Nagios installation, I'll
configure like this first and then I'll add it to document so that other
people can get resolution for this. Thanks again.

-- 
Have a nice time,
Gourav Joshi
Visit me at :- http://www.gouravjoshi.co.in


[Non-text portions of this message have been removed]

Reply via email to