Monitor Windows 2003 using nagios + SNMP

Mark Gius mgius at createspace.com
Thu Aug 6 20:55:33 CEST 2009


You say you have port 161 open on the border firewall, do the windows 
machines have their firewalls enabled and are blocking port 161?

-Gius

arly arly wrote:
> 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 <rremington at messagevision.com>:
>   
>> 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:
>>     
>>> 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
>>> http://nagios.manubulon.com/snmp_storage.html 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.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at 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
>>>
>>>
>>>       
>> ------------------------------------------------------------------------------
>> 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.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>>     
>
> ------------------------------------------------------------------------------
> 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.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090806/1f17530d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list