Hi Everyone,
Previous i logged a problem monitoring our QNAP where the plugin was timing out. This now happens daily and I was wondering how I could get another Server in its Physical location to pull the data for the plugin. rkennedy implied this is possible.
Any help would be appreciated
Nathan
Use NSClient to monitor a machine its not installed on
-
nathanplatt
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Use NSClient to monitor a machine its not installed on
These guides explain how to allow NSClient++ to perform checks against other NSClient++ instances:
http://sites.box293.com/nagios/guides/n ... le-hopping
Is this what you are looking for?
http://sites.box293.com/nagios/guides/n ... le-hopping
Is this what you are looking for?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
nathanplatt
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Use NSClient to monitor a machine its not installed on
I think I understand that, but the device I'm trying to monitor is SNMP only. I can't install NSClient on it as its a custom web based config. Is there a way for another machine to pull the snmp information to it and then relay to Nagios stored at a different site. (Both sites are connected over VPN)
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Use NSClient to monitor a machine its not installed on
A windows machine will be difficult to do that with.
If you had a linux machine at the site, you could install NRPE on it and the nagios plugins with SNMP support. Then based on my guide you could use the NRPE client to do the SNMP checks.
Alternatively you could have a linux machine at the site and install a Mod-Gearman worker on it to execute the checks.
Here are some Mod-Gearman guides:
https://support.nagios.com/kb/article.php?id=225
https://support.nagios.com/kb/article.php?id=484
If you had a linux machine at the site, you could install NRPE on it and the nagios plugins with SNMP support. Then based on my guide you could use the NRPE client to do the SNMP checks.
Alternatively you could have a linux machine at the site and install a Mod-Gearman worker on it to execute the checks.
Here are some Mod-Gearman guides:
https://support.nagios.com/kb/article.php?id=225
https://support.nagios.com/kb/article.php?id=484
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
nathanplatt
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Use NSClient to monitor a machine its not installed on
Would a Raspberry Pi would be powerful enough to accomplish this?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Use NSClient to monitor a machine its not installed on
It should be possible, the newer versions of Pi seem to be more powerful.
I'm not sure what type of compatibility you may face running Raspbian and Mod-Gearman. I would be included to run the same OS that your Nagios server is to keep things simple.
I'm not sure what type of compatibility you may face running Raspbian and Mod-Gearman. I would be included to run the same OS that your Nagios server is to keep things simple.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
nathanplatt
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Use NSClient to monitor a machine its not installed on
Ah, well Nagios is on Centos 7, so not sure how well it'll run. I'll do some tests on this site and see how it works. Consider the tread closed and I'll try the solutions you've linked!Box293 wrote:It should be possible, the newer versions of Pi seem to be more powerful.
I'm not sure what type of compatibility you may face running Raspbian and Mod-Gearman. I would be included to run the same OS that your Nagios server is to keep things simple.
Thanks again
Re: Use NSClient to monitor a machine its not installed on
Closing this per your request. Feel free to create another thread with additional developments/issues!
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/