Re: [Nagios-users] Nagios SNMP
I'm not aware of any good SNMP tutorials. Your best bet is probably the Wikipedia entry for SNMP (which focuses more on the protocol and less on using snmp to actually monitor stuff) or the net-snmp project's FAQ and documentation (http://net-snmp.sourceforge.net/docs/FAQ.html). Your first step should be to determine if the tools from net-snmp are able to successfully scrape data from the target device. Once you're able to do that using the 'snmpwalk' or 'snmpget' set of commands, you'll be in good shape to have Nagios pull information from target devices. Trying to debug SNMP through Nagios is far harder than doing it via the commandline. -Gius -Original Message- From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] Sent: Wednesday, August 11, 2010 8:24 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios SNMP Well, in fact no. I use nagios with several plugins but not yet snmp. I would like use SNMP plugin to monitor printers, network switchs, IP thermometer... I don't succeed to use the check_snmp so I'm looking for a howto. Le 11/08/10 16:51, Parish, Brent a écrit : Hi When you say work together, does that mean you already have SNMP running and gathering data? If you mean just using Nagios to collect data via SNMP, there is a built-in check (part of the plugins package), called check_snmp I think. I used Perl to write all my own SNMP checks and that works very well. As long as the output of the agent/plugin conforms to the Nagios requirements: http://nagios.sourceforge.net/docs/3_0/pluginapi.html You should be ok. Brent -Original Message- From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] Sent: Wednesday, August 11, 2010 9:52 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios SNMP Hi, I don't succeed to make Nagios with SNMP work together. So I'm looking for an UP-TO-DATE howto. The documentation on the nagios official website seems to be down. Can anybody tell me where I can find a such howto ? BR - --- -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-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 - - This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-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 --- --- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-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 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-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 notification
This is right. You should use your check-host-up service check as a host check instead. That will get the behavior you're looking for. -Gius -Original Message- From: Herb J. [mailto:nag...@herb-j.com] Sent: Friday, July 30, 2010 9:54 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Service notification Nagios won't do that. If I recall correctly, when the host check fails, it refuses to generate any further service notifications for that host until the host check succeeds again. It also won't generate service recovery notifications when those services actually come back online either. Our solution for that was to add a second host check (i.e., create a new define command block) for devices that don't respond to PING. For those devices, we configure them to use the new host check (i.e., use the command you just created for that host's check command directive) that checks HTTP status. I work at a web hosting company, so 100% of our servers listen on either PING, HTTP, or FTP, so we have those three choices for the host check. You will need to create another host check (or two or three if necessary) that can be used for the devices that don't respond to PING and configure those devices to use one of the alternate host checks. On 07/30/2010 10:54 AM, Aex wrote: Ok, I mean that if server down - service notification cannot be send. How can I reconfigure Nagios to send service notification from specific service even if server down? - - The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ 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 --- --- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ 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 -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ 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 for iPhone
I'm not aware of any Iphone-specific interfaces, but I know that if you put meta name=viewport content=width=device-width / In the head element, the safari (and android) browser will attempt to do things to make everything fit reasonably on the screen. This site (http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/) seems to have some reasonable suggestions for quick fixes you can try to make the default interface look better on mobile browsers. -Gius -Original Message- From: Giorgio Zarrelli [mailto:zarre...@linux.it] Sent: Wednesday, July 14, 2010 8:31 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios for iPhone Hi, Anyone using an easy interface for Nagios on iPhone? I do not mean some native iPhone app, I mean something server side like Nagios 4 iPhone. Any hints? Ciao, Giorgio --- --- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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] wiki down?
I wasn't even aware that there was a wiki until this email thread. What exactly are you missing that the wiki contains? I've never needed anything other than the docs that ship with Nagios. -Gius -Original Message- From: Roy Sigurd Karlsbakk [mailto:r...@karlsbakk.net] Sent: Wednesday, June 30, 2010 5:45 AM To: Nagios Users List Subject: Re: [Nagios-users] wiki down? This is getting silly - can someone please fix that wiki, or should we all move over to Icinga and do some real work for once? - Original Message - Bah! If you don't have an event handler that fences the misbehaving machine at the first sign of trouble, you're not trying hard enough ;-) On Mon, Jun 28, 2010 at 8:34 AM, Max perld...@webwizarddesign.com wrote: On Mon, Jun 28, 2010 at 8:29 AM, Matt Simmons standalone.sysad...@gmail.com wrote: If only there were some kind of software available to let us know when websites were down... Or people to respond to alerts from the software :) --- --- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. - - This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 -- Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. --- --- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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] Help - I just blew away my configs
A pretty significant portion of the configurations are stored in the objects cache (/var/log/Nagios/objects.cache for me). This won't be as clean as your configs (and I'm not sure Nagios can use this file as a config directly), but you should be able to recover a pretty good amount of your running configs from there, and start reconstructing the config files. May I be the first to suggest placing your configuration in revision control, which will help mitigate this problem in the future. I would suggest Subversion (http://subversion.tigris.org/) or git (http://git-scm.com/). Good luck! -Gius -Original Message- From: Litwin, Matthew [mailto:mlit...@stubhub.com] Sent: Thursday, June 24, 2010 3:17 PM To: Nagios Users List Subject: [Nagios-users] Help - I just blew away my configs I just blew away all my nagios config files. Nagios is still running. Is there any way I can make nagios spit up the configs that were loaded from the command line or is all hope lost? --- --- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] Where to store plugins in a standard nagios3 installation
We use two variables, USER1 and USER2 to reflect the location of the default Nagios plugins and any custom plugins that we write. So a sample command definition looks like: ## Ping check definition define command { command_namecheck-host-alive command_line$USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 -4 } Where $USER1$ is defined as the location that our Nagios RPM installs plugins (/var/lib/Nagios/plugins I believe). Most of our custom plugins are executed entirely on our central Nagios server, so this setup works well for us. -Gius -Original Message- From: sandma...@libero.it [mailto:sandma...@libero.it] Sent: Tuesday, June 22, 2010 3:37 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Where to store plugins in a standard nagios3 installation Hi, I'm testing nagios 3 on ubuntu 10.04. I've downloaded a plugin from nagios exchange, but where the file must be in order to be run? Particularly, I've downloaded check_cisco.pl from nagios exchange, and I've put it in /usr/lib/nagios/plugins I've also given a chmod 0755, and chown root:root. The problem is taht it is not recognized, i.e. in a .cfg file I've used it as check_command .pl check_cisco -h $HOSTADDRESS$ -c public -i BRI0 but when I do a /etc/init.d/nagios3 restart I have the following error: Error: Host check command 'check_cisco.pl -h $HOSTADDRESS$ -c public -i BRI0/0/0:1' specified for host 'ISDNRouter' is not defined anywhere! What have I done wrong Thanks in advance Francesco --- --- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] Escalate after X warnings or criticals
I had submitted a patch a while back that allows for distinguishing between warning and critical. I don't think it's going to be included in any 3.0.X releases, because it apparently breaks plugins that access Nagios' state data directly. I don't know whether or not my patch will be included in 3.2.x or higher releases. You can grab my patch (which I'm applying to vanilla 3.0.6 Nagios sources) out of this thread. At the time I wrote it, it also patched cleanly against HEAD, but I haven't kept up with it. http://article.gmane.org/gmane.network.nagios.devel/7083/ -Gius -Original Message- From: Mike Lindsey [mailto:mike-nag...@5dninja.net] Sent: Tuesday, June 15, 2010 8:11 PM To: Nagios Users List Subject: Re: [Nagios-users] Escalate after X warnings or criticals If it hasn't, I'll be adding it myself and will be happy to submit my patches back. I've been needing this functionality for awhile, and was planning on rolling it in, in the next 2-3 months. Andrew Li wrote: Does anyone know if the notification count problem got fixed in 3.2.1? I had a read of the ChangeLog but it doesn't mention anything related to this problem since 3.0.6. -- Mike Lindsey --- --- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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] Escalate after X warnings or criticals
Erk, you're going to want this one, it includes directives for host states as well as unknown service states. It's got some docs in it as well, but the docs don't patch cleanly against 3.0.6. http://thread.gmane.org/gmane.network.nagios.devel/7083 -Gius -Original Message- From: Gius, Mark Sent: Wednesday, June 16, 2010 10:25 AM To: Nagios Users List Subject: Re: [Nagios-users] Escalate after X warnings or criticals I had submitted a patch a while back that allows for distinguishing between warning and critical. I don't think it's going to be included in any 3.0.X releases, because it apparently breaks plugins that access Nagios' state data directly. I don't know whether or not my patch will be included in 3.2.x or higher releases. You can grab my patch (which I'm applying to vanilla 3.0.6 Nagios sources) out of this thread. At the time I wrote it, it also patched cleanly against HEAD, but I haven't kept up with it. http://article.gmane.org/gmane.network.nagios.devel/7083/ -Gius -Original Message- From: Mike Lindsey [mailto:mike-nag...@5dninja.net] Sent: Tuesday, June 15, 2010 8:11 PM To: Nagios Users List Subject: Re: [Nagios-users] Escalate after X warnings or criticals If it hasn't, I'll be adding it myself and will be happy to submit my patches back. I've been needing this functionality for awhile, and was planning on rolling it in, in the next 2-3 months. Andrew Li wrote: Does anyone know if the notification count problem got fixed in 3.2.1? I had a read of the ChangeLog but it doesn't mention anything related to this problem since 3.0.6. -- Mike Lindsey - -- --- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 --- --- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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_snmp and quoted oid's
In my Nagios command definitions I always escape quote anything like this. IE, check_snmp options \'OIDb\' -Gius -Original Message- From: Joseph L. Casale [mailto:jcas...@activenetwerx.com] Sent: Tuesday, March 23, 2010 3:36 PM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] check_snmp and quoted oid's Seems this is an old issue fixed in some distros and shod full of creative quoting suggestions but I can't get it to work. Anyone know how to pass an oid such as: REDHAT-CLUSTER-MIB::rhcServiceRunningOnNode.service to the check_snmp plugin? Thanks! jlc --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Circular Service Dependencies: Better ways?
I have a problem that pretty much the same as this one from a couple years back: http://thread.gmane.org/gmane.network.nagios.devel/4167/focus=4168 Basically, I want to only send notifications when both of these services are in the red: define servicedependency{ host_name server0 dependent_host_name server1 dependent_service_description service0 service_description service0 inherits_parent 0 execution_failure_criteria n notification_failure_criteria o } define servicedependency{ host_name server1 dependent_host_name server0 dependent_service_description service0 service_description service0 inherits_parent 0 execution_failure_criteria n notification_failure_criteria o } Nagios throws an error with the above configuration (which can be overridden with -x). The thread I reference above talks about using check_cluster, although the documentation on that is a little sparse, and it specifically references Nagios 2, so it may not have been updated in quite some time. Is there any better way to achieve this behavior, or is the solution from two years ago still the way to go? -Gius -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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