Distributed Monitoring
Steve Wilson
steve+nagios.users at swsystem.co.uk
Wed Mar 30 16:40:39 CEST 2011
On 30/03/11 14:00, Gerheim wrote:
> Hello folks,
>
> I'm new on Nagios and nagios-users mailing list.
> I was looking for addons for Nagios but i didn't find one wich attends me.
> Let me explain my scenario. If someone could help me, i ll be grateful.
>
> I have one nagios central with centreon. I have another nagios
> (worker), with centreon, wich i want to configure some hots and
> hostgroups that i don't want to configure on nagios central. But i
> want to monitor workers host and hotsgroups with nagios central.
>
> Summarizing, when i manipulate hosts on workers i don't want to put in
> nagios central.
> I've found NCSA, DNX and Gearman but it don't help.
>
> Could anyone?
> Thanks!
>
At $dayjob I discovered the same problem, however we also had another
problem in that a lot of the servers we want to monitor are in "walled
gardens" and only have http(s) access to the internet.
Our solution was to semi-create our own uploader mechanism, we use nsca
on the receiver side and use a custom submit_check_results that instead
of piping the results through nsca_send it writes them into a data file
for the time/service which gets stored for scheduled upload via cron.
This scheduled uploader keeps track of the hosts/localhost.cfg file and
if it detects change adds that to be uploaded too. These files are then
bzipped and uploaded via curl to a php script on the nagios server that
knows how to save them in for use.
The nagios server then has a scheduled process that first looks to see
if there's a new config file for hosts and moves it into etc/hosts/*.cfg
( separate files per host ) and then reloads nagios, it then takes the
contents of the remaining nagios data files and pipes the contents of
them through ncsa.
Although this scenario is far from perfect and we've only been working
on it for 2 weeks on and off it seems to suit our needs.
Maybe looking at a config collector plugin, something like the cisco
router config one, and modifying it to store the nagios host config
could be used to pass the config through nsca, although I'm not sure how
you'd process that on the server to update the host config there.
/
/
--
Steve Wilson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110330/fc67b4e9/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
-------------- 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