Re: [Nagios-users] pnp4nagios - Hostname not set
Hi, Ok, good shout. I've install the latest version. The config check page looks ok but I'm getting errors where is isn't any rrd data yet. How long does it take to start producing this data when in sync mode? Can I force it along quicker so that I know everything working? Thanks again From: Michael Friedrich [mailto:michael.friedr...@univie.ac.at] Sent: 09 June 2011 22:27 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] pnp4nagios - Hostname not set On 09.06.2011 18:30, Tristan Drinkwater wrote: Hi guys, I've followed the install instruction from here (http://docs.pnp4nagios.org/pnp-0.4/install) to install pnp4nagios v4 on my nagios 3.x running on a fedora 14 box but I'm stuck when verifying the install. any specific reason not to use 0.6.x ? When I do http://servername/Nagios/pnp my first error is 'Hostname is not set' followed by 'perfdata folder is empty' and 'no rrd files' I've looked and sure enough there are no rrd files in the folder, plus there is no entry in the log file. To me this suggests that Nagios isn't firing the command 'process-service-perfdata' after completing a check. My commands.cfg file looks correct; # Added by Tristan for PNP 4 Nagios define command { command_nameprocess-service-perfdata command_line/usr/local/nagios/libexec/process_perfdata.pl } define command { command_nameprocess-host-perfdata command_line/usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA } And so is my Nagios.cfg file; process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata these tow are the only things I've changed from the default install. Any ideas what I've missed?? Any tips on how I can drill down further to see what's not happing and why? Thanks in advance :) Regards, Tristan Drinkwater Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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] IPv6 support
On 06/09/2011 09:30 PM, Marc Haber wrote: On Thu, Jun 09, 2011 at 06:19:40PM +0200, Andreas Ericsson wrote: Why? If the host is reachable via ip6, it's reachable via ip6 and that's what you configure. If it's not, you configure ip4 instead. So one will need to configure a dual stack host twice, once for IPv4, and once for IPv6, and resort to fancy parent-host or check_multi setups to not be alarmed twice if it's the _host_ being down, and not one of the IP procotols? Not really. You can still achieve the exact same functionality with custom variables. What Michael has done is to make one such custom variable official, which breaks the ABI. He still has to use special plugins to check both ip4 and ip6 addresses at the same time, which is why I think it's quite stupid. In fact, not being able to handle the more-than-one-IP-per-host in a non-complex way is one of the greatest beefs I have with Nagios (see web server, or a host which serves multiple services on different IP addresses). You can, but with custom variables. How many official addresses should Nagios support? 3? 5? Soon we'll run into someone who wants more than that, and then we're left with breaking the ABI again. And again. And again. Breaking the ABI causes major headaches for module developers and users. Custom variables don't break the ABI and causes minor headaches for people with complex environments, who hopefully get paid quite a lot to handle such complexities in an elegant way. Nagios makes that possible, while making the normal case (ip4 *or* ip6) possible. I'm sorry, but I'm not overly moved by your plea. -- 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. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] IPv6 support
Andreas Ericsson wrote: Not really. You can still achieve the exact same functionality with custom variables. What Michael has done is to make one such custom variable official, which breaks the ABI. He still has to use special plugins to check both ip4 and ip6 addresses at the same time, which is why I think it's quite stupid. the dual check affinity only takes place in the host checking currently (where it does make sense to combine it with check_multi or any other conditional check wrapper). for other purposes you can still define your own checks and services, especially tagged as PING4 and PING6 e.g. - but no need to play around with get the 4 or 6 address from somewhere for the commandline, but just take the §HOSTADRESS(6)$ macros and be happy as it was demanded. don't get me wrong, i know that abi changes and such make developer's going mad. but from a users perspective this was one of the things demanded the most. at least within the range of those sysadmins already running ipv4 and ipv6 in their productive environments. even more, those virtual appliances and clustered setups would need an even more in deep rewrite, but that's another story (service sets might be a good attempt for that). You can, but with custom variables. How many official addresses should Nagios support? 3? 5? Soon we'll run into someone who wants more than that, and then we're left with breaking the ABI again. And again. And again. Breaking the ABI causes major headaches for module developers and users. Custom variables don't break the ABI and causes minor headaches for people with complex environments, who hopefully get paid quite a lot to handle such complexities in an elegant way. Nagios makes that possible, while making the normal case (ip4 *or* ip6) possible. using custom variables within the default nagios gui remains impossible to be shown and used without hacking c code. making it available would either cost to allow custom variables to be shown (what regex might be good to show only those? is it really custom then? etc) rather than just supporting the address6 host attribute - which remains implemented by a community members, tested by various and demanded by lots of. -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedr...@univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax:+43 1 4277 14338 web:http://www.univie.ac.at/zid http://www.aco.net Icinga Core IDOUtils Developer http://www.icinga.org -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] RRDTool exits with errors - ERROR: can't make a graph without contents
Hi Folks I'm using Nagios 2.8 with RRD tool version 1.0.50 PNP version 0.3 installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs. RRDTool exits with errors - ERROR: can't make a graph without contents. This tool is working fine with Intel platform servers displaying the graphs however not working in Cisco devices. I'm pasting excerpt of my host configuration serviceextinfo file to provide clear picture. In fact, in Nagios web console, I'm able to see Memory CPU utilization of Cisco devices however unable to view the graphs. I'm using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. Excerpts of host Configuration File define command{ command_nameprocess-service-perfdata command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_nameL3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$srv=$SERVICEDESC$ } I would really appreciate your help in this regard. Regards Navdeep From: Navdeep Sidhu Sent: Thursday, June 09, 2011 10:31 AM To: 'nagios-users@lists.sourceforge.net' Subject: RRDTool exits with errors - ERROR: can't make a graph without contents Importance: High Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 PNP version 0.3 installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs. RRDTool exits with errors - ERROR: can't make a graph without contents. This tool is working fine with Intel platform servers displaying the graphs however not working in Cisco devices. I'm pasting excerpt of my host configuration serviceextinfo file to provide clear picture. In fact, in Nagios web console, I'm able to see Memory CPU utilization of Cisco devices however unable to view the graphs. I'm using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. Excerpts of host Configuration File define command{ command_nameprocess-service-perfdata command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_nameL3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$srv=$SERVICEDESC$ } I would really appreciate your help in this regard. Regards Navdeep == i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. == DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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 host checks: freshness checking issues
As good as Merlin sounds, we currently have something that works (including user-friendly managment provisioning scripts) and unfortunately way too much other things on our plate to invest the appropriate amount of time in this. But I'm certain that I will revisit these ideas in the future, so thanks a lot for all your suggestions! Much appreciated. Best regards, Pascal On Tuesday 07 June 2011 15:35:55 Andreas Ericsson wrote: On 06/07/2011 02:28 PM, Pascal Vandeputte wrote: On Tuesday 07 June 2011 10:12:25 Andreas Ericsson wrote: On 06/01/2011 05:51 PM, Pascal Vandeputte wrote: Can anyone confirm that my reasoning is correct? That the master will *always* keep on doing *some* host checks no matter what you configure? More or less, yes. It will at least schedule them even if it gets results for them, but eventbroker modules can block even forced host checks. I'd look into using Merlin, DNX or mod_gearman if I were you. It will do what you want with far better performance than NSCA will ever be able to. Thank you for the confirmation and the tips! I've done some quick reading on Merlin, DNX and mod_gearman, and while they look very interesting, our Nagios setup is probably a little too complex to distribute the checks automatically the way we're doing it now. I doubt it. The largest setup running mod_gearman is checking something like 35000 services. The largest merlin install is running close to 48000. I'm sorry to say I have no figures for DNX. We have Nagios slaves (workers) in multiple, independent locations, and we're exploiting that to the fullest by running different service checks of the same host from different locations: checks for public services are effectively checked from a remote location, while NRPE checks to the same host are done from within the same datacenter. The configs for each master slave are generated from the same host/service database. For this you'd have to use two host definitions if you use Merlin, since checks are split to workers based on hostgroup affiliation. Apart from that, everything should work just fine. Apparently, send_gearman can be used as a send_nsca replacement, which I'll have to check up on later. It would be cool if it can send multi-line output and performance data. NSCA cannot do multi-line and doesn't seem 100% reliable either. I'm fairly sure it can, but submitting passive checkresults with multiline output is not very well tested and may not work well with Nagios core. It will be particularly problematic if the check output is larger than 4096 bytes, since that's the size of the command pipe. It works flawlessly with Merlin though, as does external command forwarding and a lot of other nifty things that NSCA-based setups simply doesn't handle. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] IPv6 support
On 06/10/2011 01:26 PM, Michael Friedrich wrote: Andreas Ericsson wrote: Not really. You can still achieve the exact same functionality with custom variables. What Michael has done is to make one such custom variable official, which breaks the ABI. He still has to use special plugins to check both ip4 and ip6 addresses at the same time, which is why I think it's quite stupid. the dual check affinity only takes place in the host checking currently (where it does make sense to combine it with check_multi or any other conditional check wrapper). for other purposes you can still define your own checks and services, especially tagged as PING4 and PING6 e.g. - but no need to play around with get the 4 or 6 address from somewhere for the commandline, but just take the §HOSTADRESS(6)$ macros and be happy as it was demanded. don't get me wrong, i know that abi changes and such make developer's going mad. but from a users perspective this was one of the things demanded the most. at least within the range of those sysadmins already running ipv4 and ipv6 in their productive environments. even more, those virtual appliances and clustered setups would need an even more in deep rewrite, but that's another story (service sets might be a good attempt for that). Still really nothing for the core to take care of. You can, but with custom variables. How many official addresses should Nagios support? 3? 5? Soon we'll run into someone who wants more than that, and then we're left with breaking the ABI again. And again. And again. Breaking the ABI causes major headaches for module developers and users. Custom variables don't break the ABI and causes minor headaches for people with complex environments, who hopefully get paid quite a lot to handle such complexities in an elegant way. Nagios makes that possible, while making the normal case (ip4 *or* ip6) possible. using custom variables within the default nagios gui remains impossible to be shown and used without hacking c code. making it available would either cost to allow custom variables to be shown (what regex might be good to show only those? is it really custom then? etc) rather than just supporting the address6 host attribute - which remains implemented by a community members, tested by various and demanded by lots of. So give _address6 official status *in the ui*. Or make a config item that lets users specify which custom variables to show in the UI. Or show all of them by default. That's a change that actually makes sense, would have been far less intrusive and would have made very nearly everyone happy (especially the configure which you want to see, with a general switch to show all and then include/exclude parameters to filter passwords and whatnot out of the UI). Wasn't that the real reason behind the patches in the first place? That's at least the only real unique benefit from this over using custom vars. The problem here is actually laziness and possibly poor maintenance. When presented with the patch, you need to ask the submitter; What purpose does this patch serve and why is it so generally important that we have to break the ABI? Given some prodding, you would have found out that the user really just wants to see a special custom variable in the web-interface. Achieving that is basically peanuts, given half a day and a junior coder fresh out of kindergarten, so it's quite likely the submitter could have been persuaded to rewrite the patch like that so it would have been easy to maintain it. It would also have made it acceptable in the Nagios core and would have made life easier for those broker module authors that actually care about supporting Icinga and for the users that use modules with it. That turned a bit harsh there. Sorry about that. -- 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. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] IPv6 support
Original Message Subject: Re: [Nagios-users] IPv6 support From: Andreas Ericsson a...@op5.se To: Nagios Users List nagios-users@lists.sourceforge.net Date: 2011-06-10 14:09 So give _address6 official status *in the ui*. Or make a config item that lets users specify which custom variables to show in the UI. Or show all of them by default. That's a change that actually makes sense, would have been far less intrusive and would have made very nearly everyone happy (especially the configure which you want to see, with a general switch to show all and then include/exclude parameters to filter passwords and whatnot out of the UI). Wasn't that the real reason behind the patches in the first place? That's at least the only real unique benefit from this over using custom vars. The problem here is actually laziness and possibly poor maintenance. When presented with the patch, you need to ask the submitter; What purpose does this patch serve and why is it so generally important that we have to break the ABI? Given some prodding, you would have found out that the user really just wants to see a special custom variable in the web-interface. Achieving that is basically peanuts, given half a day and a junior coder fresh out of kindergarten, so it's quite likely the submitter could have been persuaded to rewrite the patch like that so it would have been easy to maintain it. It would also have made it acceptable in the Nagios core and would have made life easier for those broker module authors that actually care about supporting Icinga and for the users that use modules with it. That turned a bit harsh there. Sorry about that. conclusion - you won't accept such patches, i can live with the extra work they will cause. even with addons staying compatible with icinga but not supprting the address6 field. everything else still remains compatible and tested. but that's not the point within nagios related stuff. there are other nagios patches pending, still breaking the abi (see some of opsviews patches and those from nagios-devel) which will make a change happen somewhere in the future. so maybe after a while users demand (even those from your customers), and it will hit nagios too. until then, let's just ask people out there what they really want and how *they* would achieve that. either live with it, patch it or even pay for it. -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedr...@univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax:+43 1 4277 14338 web:http://www.univie.ac.at/zid http://www.aco.net Icinga Core IDOUtils Developer http://www.icinga.org -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] IPv6 support
On 06/10/2011 02:31 PM, Michael Friedrich wrote: Original Message Subject: Re: [Nagios-users] IPv6 support From: Andreas Ericsson a...@op5.se To: Nagios Users List nagios-users@lists.sourceforge.net Date: 2011-06-10 14:09 So give _address6 official status *in the ui*. Or make a config item that lets users specify which custom variables to show in the UI. Or show all of them by default. That's a change that actually makes sense, would have been far less intrusive and would have made very nearly everyone happy (especially the configure which you want to see, with a general switch to show all and then include/exclude parameters to filter passwords and whatnot out of the UI). Wasn't that the real reason behind the patches in the first place? That's at least the only real unique benefit from this over using custom vars. The problem here is actually laziness and possibly poor maintenance. When presented with the patch, you need to ask the submitter; What purpose does this patch serve and why is it so generally important that we have to break the ABI? Given some prodding, you would have found out that the user really just wants to see a special custom variable in the web-interface. Achieving that is basically peanuts, given half a day and a junior coder fresh out of kindergarten, so it's quite likely the submitter could have been persuaded to rewrite the patch like that so it would have been easy to maintain it. It would also have made it acceptable in the Nagios core and would have made life easier for those broker module authors that actually care about supporting Icinga and for the users that use modules with it. That turned a bit harsh there. Sorry about that. conclusion - you won't accept such patches, I won't accept patches that break things when there are easier ways to achieve what the user desires that doesn't break things. i can live with the extra work they will cause. even with addons staying compatible with icinga but not supprting the address6 field. everything else still remains compatible and tested. but that's not the point within nagios related stuff. there are other nagios patches pending, still breaking the abi (see some of opsviews patches and those from nagios-devel) which will make a change happen somewhere in the future. so maybe after a while users demand (even those from your customers), and it will hit nagios too. until then, let's just ask people out there what they really want and how *they* would achieve that. either live with it, patch it or even pay for it. Yup. That's what major releases are for. I guess I'm just a bit whiny because I'd hoped Icinga would stay compatible with Nagios in all possible ways as was promised from the beginning. Ah well. We live and we learn. Now it's time for me to learn how much wine I can drink on a friday night without passing out. I'm looking forward to that particular experiment. Cheerios :) -- 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. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] IPv6 support
YEAH finally something good in this thread!!! Ah well. We live and we learn. Now it's time for me to learn how much wine I can drink on a friday night without passing out. I'm looking forward to that particular experiment. Cheerios :) Join winehq for a drink and a wine wow.exe maybe ?! :P Over and out! On Fri, 2011-06-10 at 14:48 +0200, Andreas Ericsson wrote: On 06/10/2011 02:31 PM, Michael Friedrich wrote: Original Message Subject: Re: [Nagios-users] IPv6 support From: Andreas Ericsson a...@op5.se To: Nagios Users List nagios-users@lists.sourceforge.net Date: 2011-06-10 14:09 So give _address6 official status *in the ui*. Or make a config item that lets users specify which custom variables to show in the UI. Or show all of them by default. That's a change that actually makes sense, would have been far less intrusive and would have made very nearly everyone happy (especially the configure which you want to see, with a general switch to show all and then include/exclude parameters to filter passwords and whatnot out of the UI). Wasn't that the real reason behind the patches in the first place? That's at least the only real unique benefit from this over using custom vars. The problem here is actually laziness and possibly poor maintenance. When presented with the patch, you need to ask the submitter; What purpose does this patch serve and why is it so generally important that we have to break the ABI? Given some prodding, you would have found out that the user really just wants to see a special custom variable in the web-interface. Achieving that is basically peanuts, given half a day and a junior coder fresh out of kindergarten, so it's quite likely the submitter could have been persuaded to rewrite the patch like that so it would have been easy to maintain it. It would also have made it acceptable in the Nagios core and would have made life easier for those broker module authors that actually care about supporting Icinga and for the users that use modules with it. That turned a bit harsh there. Sorry about that. conclusion - you won't accept such patches, I won't accept patches that break things when there are easier ways to achieve what the user desires that doesn't break things. i can live with the extra work they will cause. even with addons staying compatible with icinga but not supprting the address6 field. everything else still remains compatible and tested. but that's not the point within nagios related stuff. there are other nagios patches pending, still breaking the abi (see some of opsviews patches and those from nagios-devel) which will make a change happen somewhere in the future. so maybe after a while users demand (even those from your customers), and it will hit nagios too. until then, let's just ask people out there what they really want and how *they* would achieve that. either live with it, patch it or even pay for it. Yup. That's what major releases are for. I guess I'm just a bit whiny because I'd hoped Icinga would stay compatible with Nagios in all possible ways as was promised from the beginning. Ah well. We live and we learn. Now it's time for me to learn how much wine I can drink on a friday night without passing out. I'm looking forward to that particular experiment. Cheerios :) signature.asc Description: This is a digitally signed message part -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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] IPv6 support
Why not just have a /usr/local/nagios/etc/ipv6.txt and a ping.sh that look in this file for the ipv4 address and get a ipv6 andress and ping6 that address? On Fri, 2011-06-10 at 13:05 +0200, Andreas Ericsson wrote: On 06/09/2011 08:07 PM, Michael Friedrich wrote: Original Message If this patch had been accompanied by something to make conditional macros and command_line arguments work, I'd have cheered all the way though. I don't really get it what you mean - can you explain that a bit more? Sure. If there was some way to configure Nagios so that certain command arguments were only expanded if the number of arguments to the check matches a certain criteria, one could write checks that don't pass half baked argument strings to the plugins, and the complexity would be handled in one place. That would actually gain something, rather than making address6 an official variable, which gains nothing compared to using a custom variable, but breaks the abi even so. signature.asc Description: This is a digitally signed message part -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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] IPv6 support
Original Message Subject: Re: [Nagios-users] IPv6 support From: Patrik Båt p...@osix.eu To: Nagios Users List nagios-users@lists.sourceforge.net Date: 2011-06-10 15:03 Why not just have a /usr/local/nagios/etc/ipv6.txt and a ping.sh that look in this file for the ipv4 address and get a ipv6 andress and ping6 that address? sure that's one of those workarounds. i wouldn't mind dropping it when it comes to performance issues (e.g. having a long list in it being parsed) resulting in check latencies. but that#s truly another story. On Fri, 2011-06-10 at 13:05 +0200, Andreas Ericsson wrote: On 06/09/2011 08:07 PM, Michael Friedrich wrote: Original Message If this patch had been accompanied by something to make conditional macros and command_line arguments work, I'd have cheered all the way though. I don't really get it what you mean - can you explain that a bit more? Sure. If there was some way to configure Nagios so that certain command arguments were only expanded if the number of arguments to the check matches a certain criteria, one could write checks that don't pass half baked argument strings to the plugins, and the complexity would be handled in one place. That would actually gain something, rather than making address6 an official variable, which gains nothing compared to using a custom variable, but breaks the abi even so. -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedr...@univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax:+43 1 4277 14338 web:http://www.univie.ac.at/zid http://www.aco.net Icinga Core IDOUtils Developer http://www.icinga.org -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] IPv6 support
Original Message Subject: Re: [Nagios-users] IPv6 support From: Andreas Ericsson a...@op5.se To: Michael Friedrich michael.friedr...@univie.ac.at Date: 2011-06-10 14:48 conclusion - you won't accept such patches, I won't accept patches that break things when there are easier ways to achieve what the user desires that doesn't break things. ok, point taken. good to have the counterpart in such a discussion :) Yup. That's what major releases are for. I guess I'm just a bit whiny because I'd hoped Icinga would stay compatible with Nagios in all possible ways as was promised from the beginning. i wasn't there in the very beginning, but from my perspective it's still backward compatible while reaching out for new things. try compiling livestatus against the nagios header files it uses, but against icinga. it will work in productive environments (otherwise community feedback would have been provided - which we already had, remember those contactgroup functions you've removed upstream, and i did too). so maybe you'd just give it a git pull, configure, make all, make fullinstall and use merlin against it. i'm pretty sure it will work out. Ah well. We live and we learn. Now it's time for me to learn how much wine I can drink on a friday night without passing out. I'm looking forward to that particular experiment. Cheerios :) uh. wine. have fun then :-) -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedr...@univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax:+43 1 4277 14338 web:http://www.univie.ac.at/zid http://www.aco.net Icinga Core IDOUtils Developer http://www.icinga.org -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] Service keeps disappearing from .cfg file and other questions (newbie alert!)
Just as a followup, it appears the server was actually being managed by a Puppet install, and that was removing my configurations. Thanks! :) On Wed, Jun 8, 2011 at 9:49 AM, Matty Sarro msa...@gmail.com wrote: Its strange, as I've literally got backup copies that I keep copying back into the directory. I validate, make certain that the changes are still there, reload nagios, and suddenly they're gone. I can see the service run two or three times, and then it's suddenly gone from the files. I'll modify the macros to the simpler format, thanks for the advice on that issue. -Matty On Wed, Jun 8, 2011 at 9:43 AM, Andreas Ericsson a...@op5.se wrote: On 06/08/2011 03:18 PM, Matty Sarro wrote: Hey everyone, First, I'm new, so please be gentle :) I have made some recent modifications to our nagios3 files. In resource.cfg I added the following macros: $db_name$, $db_user_name$, and $db_user_pass$. These seem to be ok. I added a service like this: define service { hostgroup_name mysql-servers service_description Mysql FSRW check_command check_mysql_FSRW use generic-service notification_interval 0 } And finally I added a command like this: define command { command_name check_mysql_FSRW command_line $USER1$/check_mysql_query -q SELECT COUNT(*) FROM entry WHERE periodDATE_SUB(now(),INTERVAL 2 DAY) AND status_code2 AND retries=0 AND type=0 -w0:0 -c10 -H $HOSTADDRESS$ -P 3306 -d $db_name$ -u $db_user_name$ -p $db_user_pass$ } When I have nagios validate everything, it gives no errors. I then restart nagios for the config to take effect, and it comes up. In the event log I see some issues with the service (it appears to be trying to connect to the mysql servers as user nagios, not the specified user). When I then log back into the server and look at my services.cfg file, and my commands.cfg file, the entries I added to both of them have been removed - like they were never there. Then perhaps you forgot to save, or someone undid your changes from a backup, or some other kind of pilot error happened. It's most certainly not Nagios' fault though, so you're asking in the wrong forum. So, I guess I have a few questions. First, are those entries in the resource.cfg file ok? Does nagios support the underscores and longer names? Its easier to understand at a glance than $USER3$ $USER4$ and $USER5$. Second, does the command_line look ok? I'm trying to figure out why it isn't using the username and password I'm passing to it. Not yet, no. It will some day though. Finally, why do the command and service keep disappearing out of my config file? It's making it a pain to troubleshoot. Because someone is removing them, or you're forgetting to save them. Things don't just remove themselves. Any suggestions or advice would be greatly appreciated. Ask around if anyone's altering the configuration besides you. Files really don't just alter themselves. Trust me on this. -- 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. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] IPv6 support
On 2011/06/10, at 07:02, Andreas Ericsson wrote: You can, but with custom variables. How many official addresses should Nagios support? 3? 5? Soon we'll run into someone who wants more than that, and then we're left with breaking the ABI again. You don't have to break anything if the Nagios core is designed to deal with hosts that have an arbitrarily large number of interfaces. Dual-stack environments are about to become the norm, not an edge case, and it would be wise for Nagios to be able to support that, properly detecting when a host is down based on all interfaces being unreachable. Providing that support could also support those admins with hundreds or thousands of interfaces per host if designed properly. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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
[Nagios-users] reloading configurations
I have a cron job that does daemon-init reload every 45 min to ensure I capture all new ec2 nodes that might be spun up. */45 * * * * myscript.sh -- this is my cron however, my nagios logs show a restart on the hour as well as on the 45 mark why? [06-10-2011 09:00:14] LOG VERSION: 2.0 Informational Message[06-10-2011 09:00:14] Local time is Fri Jun 10 09:00:14 PDT 2011 Program Start[06-10-2011 09:00:14] Nagios 3.2.1 starting... (PID=49358) Program Restart[06-10-2011 09:00:14] Caught SIGHUP, restarting... Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] LOG VERSION: 2.0 Informational Message[06-10-2011 08:45:13] Local time is Fri Jun 10 08:45:13 PDT 2011 Program Start[06-10-2011 08:45:13] Nagios 3.2.1 starting... (PID=49358) Program Restart[06-10-2011 08:45:13] Caught SIGHUP, restarting... Informational Message[06-10-2011 08:00:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:00:13] Warning: Host 'xxx' has no services associated with it! Julie S. Lin System Administrator j...@livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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] [Nagios-devel] Nagios retries checks too soon.
Jochen Bern wrote: On 06/09/2011 08:14 PM, Paul M. Dubuc wrote: Andreas Ericsson wrote: I'm not sure. I'm also not sure which behaviour is intended. Arguably, either is correct and Nagios is doing one of two right things. I'm not sure. If a test times out and Nagios tries again 10 seconds later instead of the 60 seconds specified, that could cause problems; load related problems when you have many of these tests running and timing out and problems for the system under test not having sufficient time to recover before the next check is done. True, but *if* someone has the latter kind of problem, I'd expect him to keep it in mind while writing the configuration, too. IIRC, the actual code adds check_interval/retry_interval to the variable that holds the (previous) scheduled check time - i.e., the time when the previous check supposedly was *started* (assuming negligible check latency). Configuring a retry_interval of one minute for a service whose sustained request rate may be *less* than one per minute sounds dubitable to me. (And I'm a firm nonbeliever in Unix-ish load figures, as opposed to actual CPU usage etc., but that's a different rant.) Kind regards, J. Bern Thanks for this explanation. It helps quite a bit. The checks we run normally take 5 - 15 seconds to complete, but we allow a much longer value for timeout. I was under the impression that the retry interval was only counted from the time the previous check completes and the status (which is needed to determine if a retry is necessary) is known. Why is the retry time determined before it's know that one is needed? It looks like checks that have longer timeouts need to have longer retry intervals to compensate for the worst case. That's not intuitive to me, but I can live with it. Paul Dubuc -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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
[Nagios-users] nagios-users, Manish Kumar has invited you to open a Gmail account
I've been using Gmail and thought you might like to try it out. Here's an invitation to create an account. You're Invited to Gmail! Manish Kumar has invited you to open a Gmail account. Gmail is Google's free email service, built on the idea that email can be intuitive, efficient, and fun. Gmail has: *Less spam* Keep unwanted messages out of your inbox with Google's innovative technology. *Lots of space* Enough storage so that you'll never have to delete another message. *Built-in chat* Text or video chat with Manish Kumar and other friends in real time. *Mobile access* Get your email anywhere with Gmail on your mobile phone. You can even import your contacts and email from Yahoo!, Hotmail, AOL, or any other web mail or POP accounts. Once you create your account, Manish Kumar will be notified of your new Gmail address so you can stay in touch. Learn morehttp://mail.google.com/mail/help/intl/en/about.htmlor get startedhttp://mail.google.com/mail/a-52d091a8e8-a96567e75d-iM81jWeog37EdaQxXYDd1jaGrTo ! Sign uphttp://mail.google.com/mail/a-52d091a8e8-a96567e75d-iM81jWeog37EdaQxXYDd1jaGrTo Google Inc. | 1600 Ampitheatre Parkway | Mountain View, California 94043 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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
[Nagios-users] Is the nagios log file keeps growing over time
Hello Frnds, I have got a concern, Will the nagios log file (nagios.log) in /usr/local/nagios/var/nagios.log will keep increasing in size or there is some auto-rotation facility. If it is there how it can be done. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 http://cens.cdac.in/ -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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
[Nagios-users] How to disable all service notifications for a specific hostgroup
Hello frnds, I have a specific requirement to disable all services notifications from a particular hostgroup but the host notifications for that hostgroup should be enabled. How this can be achieved by doing changes in configuration files. I have tried from the front-end but it is taking time to get disabled as i have a very large infrastructure to manage and many hostgroups. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 http://cens.cdac.in/ -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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
[Nagios-users] How to scale the performance of nagios
Hello Friends, I have just implemented this nagios-3.2.3 solution to monitor a large client infrastructure, i have to monitor say around 200 network switches for around 20 services in each switch and some linux servers around 10 services, and many windows servers with around 6 services to monitor. I have put the configuration for all these in the various config files of nagios like switch.cfg for switches, localhost.cfg for linux servers, windows.cfg for windows servers. So infact the config files have grown very large in size. I have a single stand alone implementation of nagios server i.e single nagios server monitoring entire IT infrastructure of the client(not the distributed one). I want to know this thing that, is it very normal for the standalone implementation of nagios to monitor the size of infrastructure that i have mentioned quite efficiently without any delay in the alerts and notifications. Since i am monitoring very critical network elements any delay in the host/service failure notification will harm us. What i have observed is that nagios has become slow in sending notifications and there is delay in sending a notification on actual failure of a critical host/service. Is nagios is not very fast in doing the service checks for all these around 300 hosts and 300*15 approx. services very fastly, efficiently and reliably. It is a very worst thing that a critical network element/service has got down now and we are getting the notification for the same after a delay of say 5 minutes. How to scale the performance of my implementation of nagios(on fedora 14) so that it should be reliable. What is the difference between active checks and passive checks. will it be useful to enable passive checks for all these instead of active check to increase the performance and will it be reliable. if yes how we can enable the same. Any help will indeed be helpful to me and others in situations like me... :) -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 http://cens.cdac.in/ -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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
[Nagios-users] Nagios Plugin to get windows and linux cache memory status ??
Hi Frnds, Is there any nagios plugin to monitor the catch memories of windows and linux machines. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 http://cens.cdac.in/ -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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] Is the nagios log file keeps growing over time
On Fri, Jun 10, 2011 at 2:59 PM, Manish Kumar manikuma...@gmail.com wrote: Hello Frnds, I have got a concern, Will the nagios log file (nagios.log) in /usr/local/nagios/var/nagios.log will keep increasing in size or there is some auto-rotation facility. If it is there how it can be done. http://nagios.sourceforge.net/docs/3_0/configmain.html#log_rotation_method - Max -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] How to scale the performance of nagios
Quoting Manish Kumar manikuma...@gmail.com: I want to know this thing that, is it very normal for the standalone implementation of nagios to monitor the size of infrastructure that i have mentioned quite efficiently without any delay in the alerts and notifications. Since i am monitoring very critical network elements any delay in the host/service failure notification will harm us. As far as I know, the default configuration is for Nagios to wait for a hard state before sending out notifications. If you used the default values for check frequencies, it could easily take a few minutes before it decides to send you an alert. Terry -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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
[Nagios-users] added host not appearing in web interface
Hi there -- We are running Nagios 3.1.2 with the NRPE 2.12 client on our systems. We recently installed the VirtualBox application on one of our monitored systems, and have Ubuntu 10.04 LTS 64-bit as the guest operating system. We want to monitor the disk usage, processes, mysql server, and rsyslogd daemon on the virtual machine, so the NRPE client was installed and configured to start on system boot. After that was done, the appropriate changes were made to the various config files on the Nagios server. The virtual machine and Nagios server were rebooted, in that order, after the changes were made. When going through the web interface on the Nagios server, the virtual host does not appear listed in any of the pages. I confirmed the nrpe daemon was operational on the client, and also verified that port 5666 was open, and the firewall on the client was deactivated. The nrpe daemon is run via the /etc/rc.local file using the following command syntax: /usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d I checked the Nagios server, and confirmed the virtual host was listed in the /etc/hosts as well as the nagios configuration files. The nslookup command, run on server and client, confirmed the presence of the virtual host in the DNS database. What would cause the client not to appear in the Nagios web interface, and how can I correct it? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ 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] check_memcached and hits/misses
Hi, We solved this with script. But I'm a bit confused regarding what a misses threshold is suppose to tell me. Contrary to hits/misses with fixed polling intervals that is stored to compare previous run with current run. Which does catch a sudden decrease in hits/misses ratio. /p On Mon, May 30, 2011 at 7:17 AM, quanta quanta.li...@gmail.com wrote: In my opinion, you shouldn't check the sudden increase in misses. You should check the get_misses value and alert when it is greater than a threshold. $ echo stats | nc -w 1 host port | awk '/get_misses/ { print $3 }' On 12/09/2010 11:55 PM, Pär Åslund wrote: Hi, I'm searching for a nagios check that looks at hits and misses. Been using check_memcached for checking memcached status and right now I will continue to do that checking that memcached is answering and got free memory. However, the issue with check_memcached is that it's looking at the hits/misses ratio since start up of the memcached-process. Whereas I need to know if a sudden increase in misses instead between polls has occured. Is anyone familiar with a such check for Nagios? Best regards, -p -- ___ 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 -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ 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 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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