Re: [Nagios-users] Distributed Nagios Configuration with Passive Checks
If I understand you correctly, are you trying to have your master server accept passive checks from other Nagios servers and check services and servers itself? If so, what I think would be easier (and is the method recommended by the docs) would be to just set up a second Nagios server (or instance) to run the checks that the master is currently doing and have the master only accept passive checks. The master would have enable_notifications on, execute_service_checks off. The slaves would have enable_notifications off, execute_service_checks on. There's more to it than just that, read the following guide for more information: http://nagios.sourceforge.net/docs/3_0/distributed.html Also, if you simply want a unified interface, you might want to look at Nagios Fusion. I haven't used it, but it might be what you want. Good luck, Jeffrey. http://nagios.sourceforge.net/docs/3_0/distributed.html On Sun, Mar 20, 2011 at 9:43 PM, Samuel Kidman samuel.kid...@panres.comwrote: Hello I am trying to set up a distributed nagios configuration that will monitor n mine-sites. There is a single master server that will accept passive checks from all of the mine sites providing a unified view of network status throughout the organisation. I have set up host groups that represent groups of hosts with similar function and have the same service checks ran against them such as switches and PLCs. Whenever we get a new device I can just add it to the right host group and it gets all of its service checks by being a member of that hostgroup. My question is how do I disable active checks for the service checks for the remote minesites without having to create a separate service check for each site? The only thing I’ve been able to think of is using an external command at nagios start up that checks all of the services on the master server and works out which ones belong to remote sites and then disables active checks on each one, but this seems like a messy way. If there was a way to have host group intersections in the hostgroups property in service checks I could specify two services and two hostgroups – a local and a remote one. The local check applys to its function group AND all devices at the head office while the remote check applies to its function group AND all remote hosts, however at present I think this functionality is unavailable. Just looking for some configuration suggestions on how to get this to work. *Sam Kidman* *IT Support Officer* -- *T:*08 9225 0944 * * [image: Description: panres] -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Nagios-users mailing list Nagios-users@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 -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Distributed Nagios Configuration with Passive Checks
On 21 Mar 2011, at 02:43, Samuel Kidman wrote: I am trying to set up a distributed nagios configuration that will monitor n mine-sites. There is a single master server that will accept passive checks from all of the mine sites providing a unified view of network status throughout the organisation. I have set up host groups that represent groups of hosts with similar function and have the same service checks ran against them such as switches and PLCs. Whenever we get a new device I can just add it to the right host group and it gets all of its service checks by being a member of that hostgroup. My question is how do I disable active checks for the service checks for the remote minesites without having to create a separate service check for each site? The only thing I’ve been able to think of is using an external command at nagios start up that checks all of the services on the master server and works out which ones belong to remote sites and then disables active checks on each one, but this seems like a messy way. If there was a way to have host group intersections in the hostgroups property in service checks I could specify two services and two hostgroups – a local and a remote one. The local check applys to its function group AND all devices at the head office while the remote check applies to its function group AND all remote hosts, however at present I think this functionality is unavailable. Just looking for some configuration suggestions on how to get this to work. You want to use templating so that the master is set to active checks enabled no while the slave is set to active checks enabled yes. In Opsview (http://opsview.com), our db based configuration database knows if a host is monitored on the master or on a remote slave. We generate configurations for a host (and services) appropriately. We've also done loads of work so you can manage it from the central master and it will distribute downtimes/acknowledgements/disables to slave systems as well. Ton -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Distributed Nagios Configuration with PassiveChecks
-Original Message- From: Jeffrey Watts [mailto:jeffrey.w.wa...@gmail.com] Sent: Monday, 21 March 2011 9:44 PM To: Nagios Users List Subject: Re: [Nagios-users] Distributed Nagios Configuration with PassiveChecks If I understand you correctly, are you trying to have your master server accept passive checks from other Nagios servers and check services and servers itself? That's right. If so, what I think would be easier (and is the method recommended by the docs) would be to just set up a second Nagios server (or instance) to run the checks that the master is currently doing and have the master only accept passive checks. Would there be any issues with running the HQ instance on the same server as the master instance? snip Regards, Sam -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Distributed Nagios
On 03/07/2011 04:34 PM, Marco Borsani wrote: Hi all. To separate three sites, I am thinking to implement a distributed Nagios, but I never do it…and have more than 1500 services to check. I’d like to know which solutions do you use (and why) : We use Merlin. We wrote it and it's in production use on more than 400 systems. http://www.op5.org/community/plugin-inventory/op5-projects/merlin You'll want to use the Brows and download code from git link to get recently fresh sources though. Our webadmins are notoriously lazy when it comes to updating the releases linked from that site. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Distributed Nagios
Hi, In our company, were using Centreon (with ndoutils). Were actually checking about 1300 servers and 35 000 services. Best regards Etienne Simonneau Monitoring engineer _ De : Marco Borsani [mailto:m.bors...@it.net] Envoyé : lundi 7 mars 2011 16:35 À : 'Nagios Users List' Objet : [Nagios-users] Distributed Nagios Hi all. To separate three sites, I am thinking to implement a distributed Nagios, but I never do it and have more than 1500 services to check. Id like to know which solutions do you use (and why) : DNX ? MNTOS ? NSCA ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Società con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Distributed Nagios
Marco Borsani wrote: Hi all. To separate three sites, I am thinking to implement a distributed Nagios, but I never do it…and have more than 1500 services to check. I’d like to know which solutions do you use (and why) : DNX ? MNTOS ? NSCA ? Regards Marco Borsani *Unix and Monitoring Sysadmin* *Technical Operations Dpt.* tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Società con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. Hello I have used two of this option :DNX and NSCA , and in the end , due to network restrictions had to use the NSCA to monitor the remote sites. DNX is a good option if all your workers and target hosts are on the same LAN - as the DNX module does not have a host affinity logic which means any host will check any other host , and if it can't reach it - nagios will get the critical error alert for it . NSCA gives you the ability to monitor a remote site locally with a nagios on the site LAN and report it back to the main central server with a more fine grained testing , but a bit more overhead in management. About the DNX issue - you may want to check the mod_gearman http://labs.consol.de/lang/de/nagios/mod-gearman/ as it is better designed to a distributed nagios deployment . Assaf -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
On 12/14/2010 08:39 PM, Frost, Mark {PBC} wrote: -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, December 14, 2010 4:49 AM To: nagios List; doc...@yahoo.com Subject: Re: [Nagios-users] distributed nagios ? Any pointers to docs on how to set it up? http://git.op5.org/git/?p=nagios/merlin.git;a=blob;f=HOWTO;hb=master http://git.op5.org/git/?p=nagios/merlin.git;a=blob;f=README;hb=master https://wiki.op5.org/merlin:start#guides If I were you, I'd wait til tomorrow with installing it though, when 1.0.0 is released as stable. Reading up on the docs and whatnot beforehand is still a good idea though. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Hooray! Actually, I wanted to point out a few things I found when building the most recent version of merlin recently. At the heart of my issues is that our team is not allowed root access on these servers (long boring corporate story...) so I'm installing everything in an alternate tree. 1) There are a couple of hard-coded paths in ipc.c and node.c for the socket and the binlogs. I'm assuming that's intentional, but it does mean one has to manually edit the source files to point to different paths rather than specifying anything like that during the build process. The socket location can be configured. Binlogs cannot. I'll amend that in the next release though. The core functionality is there, but there's no option to set it in the config files, which is kinda stupid. 2) Because we're trying to put all the files into an alternate tree, the installation of 'mon' from install-merlin.sh didn't really work right. In our case, it made a lot more sense to change cp apps/mon.py $root_path/usr/bin/mon to cp apps/mon.py $bindir/mon otherwise it would put 'mon' in a really weird spot. I'm guessing these are design decisions on your part, but in case they're not, I thought I'd point them out. Yes. The install-merlin.sh script is designed to be usable from the rpm spec file, and it's meant to aid people who want to install everything in its default location. Would $root_path/$bindir/mon work for you? Since you can set $root_path to whatever you want, I suppose it should. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
-Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Wednesday, December 15, 2010 4:46 AM On 12/14/2010 08:39 PM, Frost, Mark {PBC} wrote: Hooray! Actually, I wanted to point out a few things I found when building the most recent version of merlin recently. At the heart of my issues is that our team is not allowed root access on these servers (long boring corporate story...) so I'm installing everything in an alternate tree. 1) There are a couple of hard-coded paths in ipc.c and node.c for the socket and the binlogs. I'm assuming that's intentional, but it does mean one has to manually edit the source files to point to different paths rather than specifying anything like that during the build process. The socket location can be configured. Binlogs cannot. I'll amend that in the next release though. The core functionality is there, but there's no option to set it in the config files, which is kinda stupid. Binlogs cannot meaning it can't be moved without modifying the code directly, right? Because that's what I did :-). 2) Because we're trying to put all the files into an alternate tree, the installation of 'mon' from install-merlin.sh didn't really work right. Yes. The install-merlin.sh script is designed to be usable from the rpm spec file, and it's meant to aid people who want to install everything in its default location. Would $root_path/$bindir/mon work for you? Since you can set $root_path to whatever you want, I suppose it should. Yes, I believe that would work for me. I'm not setting $root_path at all. Thanks, Andreas. Mark -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
On Wed, Dec 15, 2010 at 03:46, Andreas Ericsson a...@op5.se wrote: On 12/14/2010 08:39 PM, Frost, Mark {PBC} wrote: 2) Because we're trying to put all the files into an alternate tree, the installation of 'mon' from install-merlin.sh didn't really work right. In our case, it made a lot more sense to change cp apps/mon.py $root_path/usr/bin/mon to cp apps/mon.py $bindir/mon otherwise it would put 'mon' in a really weird spot. I'm guessing these are design decisions on your part, but in case they're not, I thought I'd point them out. Yes. The install-merlin.sh script is designed to be usable from the rpm spec file, and it's meant to aid people who want to install everything in its default location. Would $root_path/$bindir/mon work for you? Since you can set $root_path to whatever you want, I suppose it should. I thought the convention was $DESTDIR , which is also used by autotools, which is a fairly common tool in that domain. I'd strongly recommend marching to the same drummer when possible. Allan -- all...@chickenandporn.com 金鱼 http://linkedin.com/in/goldfish -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
On 12/15/2010 03:25 PM, Frost, Mark {PBC} wrote: -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Wednesday, December 15, 2010 4:46 AM On 12/14/2010 08:39 PM, Frost, Mark {PBC} wrote: Hooray! Actually, I wanted to point out a few things I found when building the most recent version of merlin recently. At the heart of my issues is that our team is not allowed root access on these servers (long boring corporate story...) so I'm installing everything in an alternate tree. 1) There are a couple of hard-coded paths in ipc.c and node.c for the socket and the binlogs. I'm assuming that's intentional, but it does mean one has to manually edit the source files to point to different paths rather than specifying anything like that during the build process. The socket location can be configured. Binlogs cannot. I'll amend that in the next release though. The core functionality is there, but there's no option to set it in the config files, which is kinda stupid. Binlogs cannot meaning it can't be moved without modifying the code directly, right? Because that's what I did :-). That's correct. 2) Because we're trying to put all the files into an alternate tree, the installation of 'mon' from install-merlin.sh didn't really work right. Yes. The install-merlin.sh script is designed to be usable from the rpm spec file, and it's meant to aid people who want to install everything in its default location. Would $root_path/$bindir/mon work for you? Since you can set $root_path to whatever you want, I suppose it should. Yes, I believe that would work for me. I'm not setting $root_path at all. Sweet. I'll add something to that effect then. For us, it won't make a difference, but if it makes life easier for you, then that's just all the better. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
On 12/15/2010 03:32 PM, Allan Clark wrote: On Wed, Dec 15, 2010 at 03:46, Andreas Ericssona...@op5.se wrote: On 12/14/2010 08:39 PM, Frost, Mark {PBC} wrote: 2) Because we're trying to put all the files into an alternate tree, the installation of 'mon' from install-merlin.sh didn't really work right. In our case, it made a lot more sense to change cp apps/mon.py $root_path/usr/bin/mon to cp apps/mon.py $bindir/mon otherwise it would put 'mon' in a really weird spot. I'm guessing these are design decisions on your part, but in case they're not, I thought I'd point them out. Yes. The install-merlin.sh script is designed to be usable from the rpm spec file, and it's meant to aid people who want to install everything in its default location. Would $root_path/$bindir/mon work for you? Since you can set $root_path to whatever you want, I suppose it should. I thought the convention was $DESTDIR , which is also used by autotools, which is a fairly common tool in that domain. I'd strongly recommend marching to the same drummer when possible. It is when you're using make, but internally the install-merlin script uses $root_path. So make install DESTDIR=/some/random/path will install everything to the root path /some/random/path. The autotools default path is called --dest-dir, which is what install-merlin.sh uses, even though I detest the autotools with an unsurpassed passion. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
On 12/13/2010 09:34 PM, stan wrote: I have a Nagios instance that curently monitors about 70 machines. Now I have a addtional network coming on line that will hide behind a firewall using NAT. It seems to me that the way to deal with this is to install Nagios on one of the machines behind the firewall, and have that instance report ist's results back to my master Nagios instance. I have tried a number of Google search terms, but have not come up with the one that describes this methodology. What is the Nagios terminology for this setup? http://www.op5.org/community/plugin-inventory/op5-projects/merlin Any pointers to docs on how to set it up? http://git.op5.org/git/?p=nagios/merlin.git;a=blob;f=HOWTO;hb=master http://git.op5.org/git/?p=nagios/merlin.git;a=blob;f=README;hb=master https://wiki.op5.org/merlin:start#guides If I were you, I'd wait til tomorrow with installing it though, when 1.0.0 is released as stable. Reading up on the docs and whatnot beforehand is still a good idea though. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
-Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, December 14, 2010 4:49 AM To: nagios List; doc...@yahoo.com Subject: Re: [Nagios-users] distributed nagios ? Any pointers to docs on how to set it up? http://git.op5.org/git/?p=nagios/merlin.git;a=blob;f=HOWTO;hb=master http://git.op5.org/git/?p=nagios/merlin.git;a=blob;f=README;hb=master https://wiki.op5.org/merlin:start#guides If I were you, I'd wait til tomorrow with installing it though, when 1.0.0 is released as stable. Reading up on the docs and whatnot beforehand is still a good idea though. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Hooray! Actually, I wanted to point out a few things I found when building the most recent version of merlin recently. At the heart of my issues is that our team is not allowed root access on these servers (long boring corporate story...) so I'm installing everything in an alternate tree. 1) There are a couple of hard-coded paths in ipc.c and node.c for the socket and the binlogs. I'm assuming that's intentional, but it does mean one has to manually edit the source files to point to different paths rather than specifying anything like that during the build process. 2) Because we're trying to put all the files into an alternate tree, the installation of 'mon' from install-merlin.sh didn't really work right. In our case, it made a lot more sense to change cp apps/mon.py $root_path/usr/bin/mon to cp apps/mon.py $bindir/mon otherwise it would put 'mon' in a really weird spot. I'm guessing these are design decisions on your part, but in case they're not, I thought I'd point them out. Thanks Mark -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
Le 13/12/2010 21:34, stan a écrit : Any pointers to docs on how to set it up? Did you try « nagios distributed » in you search engine ? You could read [0] for beginning. [0] http://nagios.sourceforge.net/docs/3_0/distributed.html -- Fly -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
On Mon, Dec 13, 2010 at 09:43:03PM +0100, Flyinvap wrote: Le 13/12/2010 21:34, stan a ?crit : Any pointers to docs on how to set it up? Did you try ? nagios distributed ? in you search engine ? You could read [0] for beginning. [0] http://nagios.sourceforge.net/docs/3_0/distributed.html Thaks, taht should help us get started. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] distributed nagios ?
Stan, Some commercial packages with community open source versions certainly can ease the process of doing distributed monitoring. In our case we picked Opsview - for ease of use front end - with nagios still on the backend - and simplified distributed architecture http://www.opsview.com/downloads/download-opsview-community It was a small learning curve but with many great returns. Good luck with the distributed monitoring, James Whittington VC3, Inc. -Original Message- From: stan [mailto:st...@panix.com] Sent: Monday, December 13, 2010 4:27 PM To: Flyinvap Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] distributed nagios ? On Mon, Dec 13, 2010 at 09:43:03PM +0100, Flyinvap wrote: Le 13/12/2010 21:34, stan a ?crit : Any pointers to docs on how to set it up? Did you try ? nagios distributed ? in you search engine ? You could read [0] for beginning. [0] http://nagios.sourceforge.net/docs/3_0/distributed.html Thaks, taht should help us get started. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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 -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Distributed nagios system
Title: RE: [Nagios-users] Distributed nagios system -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bryan Loniewski Sent: 27 September 2006 21:39 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Distributed nagios system Message: 3 Date: Wed, 27 Sep 2006 11:11:23 +0200 From: John Longland [EMAIL PROTECTED] Subject: [Nagios-users] Distributed nagios system To: 'nagios-users@lists.sourceforge.net' nagios-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hi all !! I've had to implement a distributed systemand I have gone through some docs I found on sourceforge. I'll briefly mention what I have done: slave nagios 1. Installed the nsca pack 2. put send_nsca.cfg - /etc 3. modified entry for ocsp_sommand in nagios,cfg 4. enabled obesess over services 5. enable_notifications set to 0 6. Defined a command called submit_check_result in my minimal.cfg 7. Written submit_check_result script and placed it in ../libexec server side: 1. Installed nsca pack 2. nsca,cfg - /usr/local/nagios/etc 3. active service checks 1 for services checked from main nagios set to 0 for service checked from slave nagios 4. externetl commands checks enabled 5. passive service checks enabled 6. nsca - /usr/local/nagios/bin 7. check existance of /usr/local/nagios/var/rw/nagios.cmd 8. wrote nsca script in /etc/xinetd.d 9. added entry in /etc/services called NSCA 10. restarted xinetd Problem. When I send info from slave to main nagios by hand, it is sent and reported by the main nagios, correctly. When I remove /usr/local/nagios/libexec/submit_check_result, I get an error indicating that the slave nagios is trying to execute a non-existing script. When I re-instate the submit_check_result script, nothing happens. No error in any log. I do not see any attempt on the network ( tcpdump) that the slave is trying to contact the main nagios. I have also added a little echo statement in the submit_check_result script that writes to a file. A few questions: What version of nagios are you running? When you added the echo statement was IT the only thing in the script? or did you leave the rest of the script intact? What are the permissions of the directories, files of where your submit_check_result script is? Did you try running the script by hand as the user nagios runs under? PS: Give an example of what your submit_check_result script looks like. Hi Bryan !!! Thanks for your mail. I have since dicovered that the problem was the permissions of my send_nsca.cfg file !! For completeness: Version of nagios is 2.4 The echo statement was simply added with all other statements intact The permissions of the script files are readable and executable by anyone. It is owned by nagios:nagios. As I said above, I slipped up with not checking the send_nsca.cfg file !!! Thanks for your time, Bryan. Much appreciated John - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Distributed nagios system
Message: 3 Date: Wed, 27 Sep 2006 11:11:23 +0200 From: John Longland [EMAIL PROTECTED] Subject: [Nagios-users] Distributed nagios system To: 'nagios-users@lists.sourceforge.net' nagios-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hi all !! I've had to implement a distributed systemand I have gone through some docs I found on sourceforge. I'll briefly mention what I have done: slave nagios 1. Installed the nsca pack 2. put send_nsca.cfg - /etc 3. modified entry for ocsp_sommand in nagios,cfg 4. enabled obesess over services 5. enable_notifications set to 0 6. Defined a command called submit_check_result in my minimal.cfg 7. Written submit_check_result script and placed it in ../libexec server side: 1. Installed nsca pack 2. nsca,cfg - /usr/local/nagios/etc 3. active service checks 1 for services checked from main nagios set to 0 for service checked from slave nagios 4. externetl commands checks enabled 5. passive service checks enabled 6. nsca - /usr/local/nagios/bin 7. check existance of /usr/local/nagios/var/rw/nagios.cmd 8. wrote nsca script in /etc/xinetd.d 9. added entry in /etc/services called NSCA 10. restarted xinetd Problem. When I send info from slave to main nagios by hand, it is sent and reported by the main nagios, correctly. When I remove /usr/local/nagios/libexec/submit_check_result, I get an error indicating that the slave nagios is trying to execute a non-existing script. When I re-instate the submit_check_result script, nothing happens. No error in any log. I do not see any attempt on the network ( tcpdump) that the slave is trying to contact the main nagios. I have also added a little echo statement in the submit_check_result script that writes to a file. A few questions: What version of nagios are you running? When you added the echo statement was IT the only thing in the script? or did you leave the rest of the script intact? What are the permissions of the directories, files of where your submit_check_result script is? Did you try running the script by hand as the user nagios runs under? PS: Give an example of what your submit_check_result script looks like. This way I can see that the script was executed. This does not happen which means the submit_check_result script is not executed. Can someone help , please ?? John - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Distributed Nagios problem!
Sysit,We had this problem (for SNMPtrap processing), which we've documented here: http://altinity.blogs.com/dotorg/2006/05/immediate_perfo.htmlThe short answer is that you need to make sure the host check command executes as quick as possible because it holds up other processing.This patch may help you, but you have to be careful: http://altinity.blogs.com/dotorg/2006/05/reducing_host_c.htmlTonOn 26 May 2006, at 03:13, SYSIT wrote:I have used nfs (on a netapp device) to submit check result from slave server to central server.But now another problem happed: central server can’t deal with so many passive check result. It’s about 150 check result per second submit into nagios.cmd.On central server , I found Nagios use more process to process check result , it’s about add 2 nagios process one minutes.So 4 hours later, my nagios server have 1k nagios process, and system crashed.http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon