Re: [Nagios-users] nagios and parenting...
On Jan 14, 2008, at 2:40 PM, Patrick Morris wrote: On Mon, 14 Jan 2008, Eric F Crist wrote: Is there any way or any benefit to telling nagios it resides on a particular host? It would appear to me that bit of information would be necessary to properly handle notifications and parenting. Assuming you set up your parents correctly (from the perspective of Nagios), it'll drop itself into the right place. And, no, there's no way to tell Nagios whic host it lives on, but again, if you set up parents correctly, it won't matter. Say Nagios lives on Box A, and that box plugs into Switch B. You're alos monitoring Box C, also attached to Switch B. Switch B would have a parent of Box A, and Box C would have a parent of Switch B. When you look at the status map after setting that up, you'll see Nagios happily hanging itself off Box A, since it's the topmost parent of everything else. I think I do have all of the parenting set up correctly, but the Nagios process appears in the status map in the center, not attached to anything. Should Nagios be at the top of my parenting chain? Rather, the nagios host? - Eric F Crist Secure Computing Networks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 and parenting...
OK, great. How? Eric On Jan 15, 2008, at 9:23 AM, Alex Dehaini wrote: You can make nagios depend on another host or device, that should solve your problem. On Jan 15, 2008 2:30 PM, Eric F Crist [EMAIL PROTECTED] wrote: On Jan 14, 2008, at 2:40 PM, Patrick Morris wrote: On Mon, 14 Jan 2008, Eric F Crist wrote: Is there any way or any benefit to telling nagios it resides on a particular host? It would appear to me that bit of information would be necessary to properly handle notifications and parenting. Assuming you set up your parents correctly (from the perspective of Nagios), it'll drop itself into the right place. And, no, there's no way to tell Nagios whic host it lives on, but again, if you set up parents correctly, it won't matter. Say Nagios lives on Box A, and that box plugs into Switch B. You're alos monitoring Box C, also attached to Switch B. Switch B would have a parent of Box A, and Box C would have a parent of Switch B. When you look at the status map after setting that up, you'll see Nagios happily hanging itself off Box A, since it's the topmost parent of everything else. I think I do have all of the parenting set up correctly, but the Nagios process appears in the status map in the center, not attached to anything. Should Nagios be at the top of my parenting chain? Rather, the nagios host? - Eric F Crist Secure Computing Networks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - Eric F Crist Secure Computing Networks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 and parenting...
Tom, Thanks for the reply, but my original question is not answered by the FAQ you linked. That sorta leads me toward the correct answer to a question I've posted since, but that question was asked in response to someone's reply to my original question. So, apparently I need to re-pose the question I originally asked, since some seem to be confused. In regards to parenting and unreachable notifications, is there any way to tell the nagios process where within the hierarchy it resides, or is this figured out automatically? At least in my mind, I'd need to know where I was on a map to know what was between me and my destination to figure out if the problem was somewhere in between, or with my destination. Thanks. Eric Crist On Jan 15, 2008, at 9:59 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Eric, This is a faq question. http://www.nagios.org/faqs/viewfaq.php?faq_id=81expand=falseshowdesc=f alse Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric F Crist Sent: 15 January 2008 14:31 To: Patrick Morris Cc: Nagios List Subject: Re: [Nagios-users] nagios and parenting... On Jan 14, 2008, at 2:40 PM, Patrick Morris wrote: On Mon, 14 Jan 2008, Eric F Crist wrote: Is there any way or any benefit to telling nagios it resides on a particular host? It would appear to me that bit of information would be necessary to properly handle notifications and parenting. Assuming you set up your parents correctly (from the perspective of Nagios), it'll drop itself into the right place. And, no, there's no way to tell Nagios whic host it lives on, but again, if you set up parents correctly, it won't matter. Say Nagios lives on Box A, and that box plugs into Switch B. You're alos monitoring Box C, also attached to Switch B. Switch B would have a parent of Box A, and Box C would have a parent of Switch B. When you look at the status map after setting that up, you'll see Nagios happily hanging itself off Box A, since it's the topmost parent of everything else. I think I do have all of the parenting set up correctly, but the Nagios process appears in the status map in the center, not attached to anything. Should Nagios be at the top of my parenting chain? Rather, the nagios host? - Eric F Crist Secure Computing Networks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 - Eric F Crist Secure Computing Networks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] new plugin
On Jan 14, 2008, at 10:22 AM, [EMAIL PROTECTED] wrote: I've just written a script that checks to see if the ndo2db daemon is running and if it is not, deletes the sock file and restarts it. This is how it runs in our current setup. It's just a simple shell script, but it gets the job done. check_ndo.shsvalding_vcf.DEFANGED-3713 Might I recommend posting this to www.nagiosexchange.org? - Eric F Crist Secure Computing Networks - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 and parenting...
Is there any way or any benefit to telling nagios it resides on a particular host? It would appear to me that bit of information would be necessary to properly handle notifications and parenting. Thanks. - Eric F Crist Secure Computing Networks - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] *****SPAM***** Device is down but it isn't
On Jan 11, 2008, at 7:22 AM, Michael Egan wrote: I am monitoring a Windows 2003 virtual machine. Nagios says the server is down but when I click on the device all the monitors (ping, disk space, load, etc) say OK. Why does Nagios think the server is down? Mike, IIRC, Windows XP SP2 and newer block pings by default. This being the case, nagios' host check command (a ping by default) is going to think the system is down. Either pick a different host check command for your Windows boxen, or enable the receipt of pings through the built- in firewall. HTH - Eric F Crist Secure Computing Networks - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] plugin output question
On Jan 9, 2008, at 11:48 AM, mark redding wrote: Hi Eric, On 09/01/2008, Eric F Crist [EMAIL PROTECTED] wrote: Hey folks, I've got a few plugins I've written and I'm trying to clean up/expand the output of these for better perfdata. Can you tell me if the following output is correct? This should be interpreted as, current temp is 84.2F, warning 54 and 86, critical 50 and 90 (no min or max) OK: AMBIENT TEMP OK (84.2F) | temp=84.2F;54:86;50:90;; What software will you be using to process the performance data ? If, for example, you're using nagiosgraph, then, given that it's your own plugin, you'd have to add your own entries into the 'map' file to extract the data from the output anyway, so you can really choose whatever format you like. No, that's incorrect. These are plugins that, not only are we using, but I'm releasing via nagiosexchange.org. That being said, I am trying to strictly adhere to the perfparse output format defined in the Nagios Plugin dev documentation. Most of the graphing packages I've found for nagios respect the proper output. - Eric F Crist Secure Computing Networks - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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_cluster for hosts and warning state not yellow.
Sounds like a web interface problem. Keep in mind that 3.0 is still not a release. On Jan 7, 2008, at 10:47 AM, js wrote: Hi list, I'm using Nagios 3.0RC1. I'm using the latest check_cluster plugin in order to implement cluster logic into Nagios. I'm monitoring clustered hosts and NOT services. The whole thing seems to work correct but when the clusterhost is in a warning state, it is still displayed in GREEN, while that should be YELLOW not? When the cluster check is critical, Nagios displays the host status RED, which is OK. Here's the verbose output of the plugin. check_cluster - Warning: start=1 end=1: Critical: start=2 end=2 CLUSTER WARNING: Host Cluster: 1 up, 1 down, 0 unreachable Am I missing something? Cheers, and thanks in advance. Js - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 - Eric F Crist Secure Computing Networks - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Licensing of Official and 3rd Party Plugins
You can license your plugin however you choose. The plugins I write are BSD, for instance. On Jan 2, 2008, at 7:12 AM, Hari Sekhon wrote: Hi, I was wondering if anyone had any views on the licensing of plugins, I have looked at GPL version 3 and it looks good, really just an update to GPL version 2. So the question is, why not license plugins as GPL version 3 now? I am really asking this in 2 respects: 1. for the Official Plugins 2. for custom plugins released to Nagios Exchange. Basically it comes down to GPLv2 vs GPLv3. Has anyone considered upgrading to the official Nagios code base to the newer GPL? Should I license plugins I write as GPLv3 now instead of GPLv2? Are there any detractions in doing this? -h -- Hari Sekhon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 - Eric F Crist Secure Computing Networks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Checks arent frequent enough
On Dec 28, 2007, at 9:38 AM, zack kenton wrote: Hi list Will probably seem like a stupid and/or easy question, but my checks arent frequent enough. I have a disk health check and it told me there was a bad disk on a server one day after the server crashed from this bad disk. I know this has to do with normal check interval and retry check interval. Take for example normal_check_interval 300...where is it defined that 300 is seconds and not minutes? And is retry_check_interval the amount of time it checks after a failed check? Should i prioritize my services and comb through each one and set the important ones to every minute and less important ones to like once or twice a day. Just trying to get a better grasp on the whole check frequency. thanks Zack, The interval is in minutes, not seconds. retry_check_interval is how often should nagios check, after the first failure. There is lots of information about this in the online documentation. - Eric F Crist Secure Computing Networks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Linux Software Raid Plugin Recommendation?
On Dec 19, 2007, at 8:02 AM, Miah, W (Wadud) wrote: We use SNMP to monitor hardware RAID arrays (of course, they must be IP based). If you're using certain 3ware controllers, you can also use smartd to monitor the member devices (see man smartctl). Or, if you're using mdadm (software RAID), set the following line in /etc/mdadm.conf PROGRAM /usr/local/nagios/libexec/eventhandlers/md_monitor which alerts Nagios that your RAID array is degraded (see man mdadm). The above service will have to be configured as a passive check (can be set up to be a passive/active check using freshness_threshold and check_freshness). What kind of RAID do you want to monitor? e.g. software or hardware? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian A. Seklecki Sent: 17 December 2007 15:39 To: Jake Solid Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote: need to use a plugin that will check the status of the raid. Anyone RAID? LVM2, Soft-Raid, or Hardware? Anything that has a command line utility that gives you text output displaying the status of your array can be scripted to create your own plug in. You just may need to know a little sh/perl/python to get it done. What utility do you use to check the status of your array now? Can you give me some sample output? Perhaps I have the time to script something for you today. - Eric F Crist Secure Computing Networks - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Parent hosts
Sure, why wouldn't it? On Dec 18, 2007, at 1:21 PM, [EMAIL PROTECTED] wrote: List, Just so I am clear on this whole parents thing... I have multiple servers that virtual servers. Will the parents directive also work in this situation where if the host server goes down I don't get notified about all the virtuals servers running on that box? Thanks. Oh, Nagios 2.10, 1.4.10 plugs. svalding_vcf .DEFANGED -135391 - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ 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 - Eric F Crist Secure Computing Networks - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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