Re: [Nagios-users] Web server behind firewall,

2009-03-10 Thread Sebastian Ries
Hi

 i wan to monitor a webserver, its behind the IPS. when i try to
 monitor using nagios
 check_http, nagios alerts me host down.
Do I understand right that the check_http works without problems (prints
OK) but nagios claims that the host is down?
You need to change the check_host command for this host to something
that gives you a clear knowledge about the host. Or you do not monitor
the host itself and change the check_host command to some dummy.

 can any one help. this is my client Server, and i want to check
 apache/jboss and need to restart if service is down. ping is disabled
 on it. 
You need any way to connect to the server. (preferably nrpe or ssh)

Regards
Sebastian Ries

-- 

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36   Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: sebastian.r...@dtnet.de

--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Web server behind firewall,

2009-03-10 Thread Jim Avery
2009/3/10 Mohammad Ammad Shah mammads...@hotmail.com:

 i wan to monitor a webserver, its behind the IPS. when i try to monitor
 using nagios
 check_http, nagios alerts me host down.

 can any one help. this is my client Server, and i want to check apache/jboss
 and need to restart if service is down. ping is disabled on it.

 thanks.


We have a Microsoft ISA proxy server for accessing the wider internet
(is that the same thing as an IPS?).  In order to get through that, I
use a tool called ntlmaps which handles the connection and
authentication.  I installed it from the Ubuntu repositories so
there's probably a prebuilt package for whichever distro you're using.
 Unfortunately there's no man page for it, but documentation and
instructions can be readily found on Google.  The config file which
you'll need to edit to suit your requirements is (on Ubuntu anyway)
/etc/ntlmaps/server.cfg .

If you choose to use ntlmaps, I'd advise you to use an account
name/password without any password expiry or you'll forever be messing
around resetting it every time the password expires.

Last time I used ntlmaps with Nagios I found it used a lot of system
resource and slowed the Nagios system down a bit - it was on an
underspecced server though.  YMMV.  I now only use ntlmaps on the odd
occasion to install new packages or update existing ones.

hth,

Jim

--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null