<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You say you have port 161 open on the border firewall, do the windows
machines have their firewalls enabled and are blocking port 161?<br>
<br>
-Gius<br>
<br>
arly arly wrote:
<blockquote
 cite="mid:4e96b49a0908061142j63f4a8cfw88c5929546985ca@mail.gmail.com"
 type="cite">
  <pre wrap="">HI Richard,

thank you for comment.

comunity string I set up as for machines I have it works OK. Comunity
string is same, and let say it is "niceday" but it is same on all
machines I have plan to monitor.

I tried all, but it I am really stuck, same configuration ( which I
btw just copy /paste to machines behind firewal  ) works corretly on
machines which are direct accessable from nagios server.

I have port 161 open.

Thank you all for comment, I need to hear your experiences regarding this

Kind regards,

Arlytex



2009/8/6 Richard Remington <a class="moz-txt-link-rfc2396E" href="mailto:rremington@messagevision.com"><rremington@messagevision.com></a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Arlytex,

Is it possible that the SNMP password (community string) is not 'public' on your Windows 2003 servers that are behind the firewall? Perhaps if they're behind a firewall, someone also went to the trouble to change the SNMP community string (password) to reach them?

Regards,

Richard

arly arly wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi all,

I am using nagios3 and I would like an monitoring system for my
network. I have cca 10 hosts in "my network" but they are behind
firewall.
I mean in "my network" which is not exposed to outside world, some
machines are behidn firewals in.

Critical machines run Windows 2003 server OS, and I tried to use
NSClient++, in combination with check_nrpe ( I tried both ports 5666
and 12489 ) and I can get information from windows servers--checking
them with check_nrpe looks ok.

Then I realized that with SNMP I could better informations ( tested on
machines directly accessible from nagios server ) and decided to
copy/paste working SNMP configuration from windows machines and add
necessary servers to nagios conf files and have all unified via SNMP
monitoring. I am using *.pl scripts from
<a class="moz-txt-link-freetext" href="http://nagios.manubulon.com/snmp_storage.html">http://nagios.manubulon.com/snmp_storage.html</a> and for machines
directly accessible all is ok

But I got into troubles for servers behind firewall :) Ports 161/162 (
UDP/TCP ) are open on firewal to windows servers

When I run
./check_snmp_storage.pl -H AAA.AAA.AAA.AAA -C public -m ^C: -w 80 -c
90 ( AAA.AAA.AAA.AAA address of win. machine behind firewal ) I am
getting an error

ERROR: Description/Type table : No response from remote host 'AAA.AAA.AAA.AAA'.
what means no return information from server. First I suspected on
connectivity and I moved SNMP to listen on another port, run command
./check_snmp_storage.pl -H AAA.AAA.AAA.AAA -C public -m ^C: -w 80 -c
90 --port 2222
but same issue ( this process works when I test it on machines which
are not behind firewall )
On windows machine netstat -a shows

 UDP    server:snmp        *:*
 UDP    server:snmptrap    *:*

what means snmp is listenning ( same configuration of SNMP service
works ok for machines which are in same net as nagios server )

I am suspection it could something to do with SNMP client / SNMP
protocol how it works, as I am getting correct response when I sent it
to 5666 + check_nrpe.

Any reasonable hint what I could check will very useful, so thank you
in advance. I am preety lost I do not really know what to check more
in order to resolve this.

Operating system I use for nagios server is Debian stable 5, I am very
sure configuration of SNMP on Windows servers is correct. HW I am want
to monitor are HP Proliants DL360 G5, DL380 G5

Kind regards,

Arlytex

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/bobj-july">http://p.sf.net/sfu/bobj-july</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


      </pre>
    </blockquote>
    <pre wrap="">
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/bobj-july">http://p.sf.net/sfu/bobj-july</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

    </pre>
  </blockquote>
  <pre wrap=""><!---->
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/bobj-july">http://p.sf.net/sfu/bobj-july</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  </pre>
</blockquote>
<br>
</body>
</html>