Page 1 of 1
Is there any mod-gearman type solution for a remote windows?
Posted: Tue May 03, 2016 6:28 pm
by ljblom
I currently have limited bandwidth between my nagios server and a remote site that includes several SNMP enabled devices and a Windows machine. I would like to use the Windows machine at the site to query the devices within that array (scientific sensors). I've looked into NRPE, NSCient++, and Mod-Gearman and it seems like Mod-Gearman is the best solution. However, I can't find any Mod-Gearman downloads compatible with Windows XP. Is there a way to configure NSClient++/NRPE to to query SNMP enabled devices and then forward those results to our Nagios XI server? I may be approaching this all wrong, but I'm still a bit new to nagios and am thoroughly confusing myself with this scenario. Any advice is greatly appreciated.
Re: Is there any mod-gearman type solution for a remote wind
Posted: Tue May 03, 2016 7:01 pm
by Box293
Mod-Gearman is the solution, however it does not run on Windows.
You need to run up a Linux machine at the remote site and install Mod-Gearman on it, along with all the plugins required.
Here are some Mod-Gearman guides:
https://support.nagios.com/kb/article.php?id=225
https://support.nagios.com/kb/article.php?id=484
ljblom wrote:Is there a way to configure NSClient++/NRPE to to query SNMP enabled devices and then forward those results to our Nagios XI server? I may be approaching this all wrong, but I'm still a bit new to nagios and am thoroughly confusing myself with this scenario. Any advice is greatly appreciated.
NSClient++ can act as a command proxy, I have some guides here:
http://sites.box293.com/nagios/guides/n ... le-hopping
However you still need some way to do the SNMP checks. You would need plugins that will run on Windows servers, and for that I have not looked into this in the past. Not saying they don't exist, I just haven't had to do this.
ljblom wrote:a remote site that includes several SNMP enabled devices
If these are network switches and you are monitoring them with using the Network Switch / Router wizard, you will not be able to offload these checks to Mod-Gearman. It's possible, but gets quite complicated, more hassle than what it's worth.
Re: Is there any mod-gearman type solution for a remote wind
Posted: Tue May 03, 2016 7:15 pm
by ljblom
Thank you for the fast response. If we were to add a linux VM on our windows machine, how much memory would you think would be a minimum requirement? We would probably be limited to a max of 512M, but ideally like to be at 256M. The devices were monitoring are ~10 ethernet radios (each with 8 SNMP services), ~8 web relays (each with 2 SNMP services), and ~8 digitizers (simple check_alive). Thanks for your time!
Re: Is there any mod-gearman type solution for a remote wind
Posted: Tue May 03, 2016 7:20 pm
by Box293
I think you would need 512M. I have a test CentOS 7 VM here doing nothing and it's using about 260M. You might get away with 384M.