Re: [Nagios-users] Nagios & SNMP

2010-08-11 Thread Gius, Mark
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 ste

Re: [Nagios-users] Service notification

2010-08-04 Thread Gius, Mark
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

Re: [Nagios-users] Nagios for iPhone

2010-07-14 Thread Gius, Mark
I'm not aware of any Iphone-specific interfaces, but I know that if you put In the 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

Re: [Nagios-users] randomize a service's check interval

2010-07-02 Thread Gius, Mark
You'll also probably want to set up freshness checking for this service, so that if the script stops sending in data, Nagios will take steps to manually scrape the info, or restart the script. http://nagios.sourceforge.net/docs/3_0/freshness.html -Gius From: Jaden Bentley [mailto:jaden.bent...

Re: [Nagios-users] wiki down?

2010-06-30 Thread Gius, Mark
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: Wedn

Re: [Nagios-users] Help - I just blew away my configs

2010-06-24 Thread Gius, Mark
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 runn

Re: [Nagios-users] Where to store plugins in a standard nagios3 installation

2010-06-22 Thread Gius, Mark
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 $HO

Re: [Nagios-users] Escalate after X warnings or criticals

2010-06-16 Thread Gius, Mark
essage----- > 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

Re: [Nagios-users] Escalate after X warnings or criticals

2010-06-16 Thread Gius, Mark
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 i

Re: [Nagios-users] check_snmp and quoted oid's

2010-03-23 Thread Gius, Mark
In my Nagios command definitions I always escape quote anything like this. IE, check_snmp \'OID"b"\' -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: [Nag

[Nagios-users] Circular Service Dependencies: Better ways?

2010-03-04 Thread Gius, Mark
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