[Nagios-users] Access Control for disable notification?

2009-06-19 Thread Litwin, Matthew
Is there a way to control user access for just the controls to disable/enable notification alerts for a monitor in nagios.cfg or elsewhere? -- Are you an open source citizen? Join us for the Open Source Bridge conference!

Re: [Nagios-users] Access Control for disable notification?

2009-06-22 Thread Litwin, Matthew
This would disable notifications across the board, wouldn't it? From: Sean Carley [mailto:scar...@gmi-mr.com] Sent: Friday, June 19, 2009 1:47 PM To: Litwin, Matthew; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Access Control for disable

Re: [Nagios-users] passing arguments with spaces

2009-09-11 Thread Litwin, Matthew
I am having the same problem as you and tried what you suggest but I am getting this error when I try the double backslash: Sep 11 20:02:02 sjvp00dbs001.stubhub.com Sep 11 20:02:02 nrpe[4988]: [ID 494588 daemon.error] Error: Request contained illegal metachars! Did you encounter this?

Re: [Nagios-users] No Debug logging for NRPE when trying tsNRPE:Unable to read output

2009-09-11 Thread Litwin, Matthew
tsNRPE:Unable to read output On Sep 11, 2009, at 3:10 PM, Litwin, Matthew wrote: deamon.debug or *.debug are not configured. This is how our production environment is setup, on purpose. For the given server I can change it, but what would be better would be to just configure the nrpe instance

[Nagios-users] Means of setting ENV parameters in nrpe

2009-09-11 Thread Litwin, Matthew
I am running nrpe in Solaris and I have to launch nrpe as nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d After much head banging I discovered that nrpe doesn't acknowledge the nagios user ENV assignments at all unless I launch this as the nagios user. If you launch with

[Nagios-users] hostgroups of hostgroups?

2009-09-24 Thread Litwin, Matthew
I was looking through the core documentation to see if there was a way to put hostgroups in other hostgroups in order have a multi-tiered cake of hostgroup types. Is this possible? -- Come build with us! The

[Nagios-users] improving the 300 second resolution nagiosgraph

2010-01-04 Thread Litwin, Matthew
I need some assistance with nagiosgraph, specifically with how it handles RRD data. I am finding that there is a 300 second resolution limitation with nagiosgraph and how it uses rrdtool. I see the 300 second resolution clearly in the graphs themselves (regardless of how much I zoom) which

Re: [Nagios-users] improving the 300 second resolution nagiosgraph

2010-01-05 Thread Litwin, Matthew
Thank you very much. This correlates with the results I am seeing. Normally this behavior is something that is beneficial for any sort of floating point arithmetic but can easily produce confusing results for monitors with (1) integer values and (2) have checks more frequent that the step or

Re: [Nagios-users] question about running Nagios on Solaris LDom and Zone servers

2010-01-12 Thread Litwin, Matthew
I am looking at the same situation myself and have decided that I am going to have to run NRPE on each zone lest I rewrite all my plugins. Now I am deciding which checks should run on the LDom and which on the zones. It seems that disk checks are are good first choice to run on the LDom only,

Re: [Nagios-users] question about running Nagios on Solaris LDom and Zone servers

2010-01-13 Thread Litwin, Matthew
things you already have, so what you've written will be helpful. Regards Ewan -Original Message- From: Litwin, Matthew [mailto:mlit...@stubhub.com] Sent: 12 January 2010 19:01 To: Scott, Ewan Cc: Morris, Patrick; Nagios Mailinglist Subject: Re: [Nagios-users] question about running

Re: [Nagios-users] Check NRPE working with two servers, and not a third?

2010-01-20 Thread Litwin, Matthew
That is the log entry in nsclient.log file? Try diffing the config file with that from a working config file. You might have a typo in there. Did you try running the check_nrpe plugin on the nagios server against that server to see if it responds with a valid response to see if this is a

Re: [Nagios-users] Where to change the email address for notifications

2010-01-20 Thread Litwin, Matthew
Under nagios.cfg you can change the nagios admin email, but really you should be using contacts.cfg for configuring notifications. If you just want one notification email for every monitor, which is what it sounds like what you want, you can define the contact_email in templates.cfg and it will

Re: [Nagios-users] Multiple NRPE Processes

2010-01-20 Thread Litwin, Matthew
In solaris it is critical that you run nrpe on solaris in daemon mode. You need to launch it with like so: /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d Running it like this you should be able to kill it without a problem as it will maintain the pid. Make sure in nrpe.cfg

[Nagios-users] Help with nagiosgraph?

2010-03-02 Thread Litwin, Matthew
I thought I might try posting this here in case someone has lots of experience with nagiosgraph. I am setting up nagiosgraph-1.4.1 on a nagos 3.0.6 installation on CentOS 5.2 and I have this peculiar problem where only some of the hosts and services are having their rrd data populating. It

[Nagios-users] Patterns in serviceextinfo.conf?

2010-03-05 Thread Litwin, Matthew
Is it possible to set up entries in serviceextinfo.conf to match a pattern to avoid having to re-enter similarly named services with the exact same notes_url definition? For instance, can entries like this: define serviceextinfo { service_description Oracle Tablespace - STSPDB -

Re: [Nagios-users] Patterns in serviceextinfo.conf?

2010-03-06 Thread Litwin, Matthew
On Mar 6, 2010, at 3:38 AM, Jim Avery wrote: On 6 March 2010 01:04, Litwin, Matthew mlit...@stubhub.com wrote: Is it possible to set up entries in serviceextinfo.conf to match a pattern to avoid having to re-enter similarly named services with the exact same notes_url definition

[Nagios-users] monitoring for exactly 1 process on 3 hosts

2010-06-07 Thread Litwin, Matthew
I need to monitor that a process is running on one of three hosts and that is not running on the other two. Is there a way to set up a service such that a check must return OK for only one host of a hostgroup and alarm if there is less or more than one instance running in that hostgroup?

[Nagios-users] Define dependencie in service defs?

2010-06-21 Thread Litwin, Matthew
Is there a way to define what service a service depends on within te service definition itself for cases where the dependency heirarchy is localized to the same host? Dependency definitions are terrific in that they are so flexible, but it would be nice to contain that functionailty

Re: [Nagios-users] Define dependencie in service defs?

2010-06-21 Thread Litwin, Matthew
On Jun 21, 2010, at 10:03 AM, Assaf Flatto wrote: Litwin, Matthew wrote: Is there a way to define what service a service depends on within te service definition itself for cases where the dependency heirarchy is localized to the same host? Dependency definitions are terrific

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

2010-06-24 Thread Litwin, Matthew
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

[Nagios-users] groups of hostgroups?

2010-06-25 Thread Litwin, Matthew
It doesn't appear that there is a way to have a way to include hostgroups in other hostgroups, but is there some other way to get this behavior? Since my environment has several dozen types of servers in our environment, it would be helpful to define a class of host somehow rather than having

[Nagios-users] setting ENV for checks in commands.cfg

2010-07-07 Thread Litwin, Matthew
Hi, I need to set up my checks in command.cfg to source an ENV file before running a command however I am not sure how I can do this since the semicolon (;) is designated as the comment sign. For instance, I want to do something like this: # check_oracle_login define command{

Re: [Nagios-users] setting ENV for checks in commands.cfg

2010-07-07 Thread Litwin, Matthew
in your resource fileconfigmain.html#resource_file to a semicolon and then referencing the appropriate $USER$ macro in the command_line directive in place of the semicolon. On Jul 7, 2010, at 8:00 PM, Litwin, Matthew wrote: Hi, I need to set up my checks in command.cfg to source an ENV file before

[Nagios-users] user lists in cgi.cfg

2010-07-08 Thread Litwin, Matthew
Hi, is there a means to define a list of user accounts that cfg.cfg uses in authorized_for_system_commands, authorized_for_system_commands, etc... so you can define this list in one place rather than explicitly at each directive?

[Nagios-users] using multiple templates

2010-07-09 Thread Litwin, Matthew
Are there any consequences to using multiple templates other than that the last one defined gets precedence? I would like to have sevice templates the do things like define notifications interval separately from escalation path, time periods etc I was thinking of ending up with something

[Nagios-users] Dependencies and notifications

2010-07-25 Thread Litwin, Matthew
Hello everyone, could I please ask for some assisntance / am-I-off-my-rocker soft of advice I am working with using dependencies and I am having a problem that while dependencies are successfully suppressing the execution of monitors because their dependencies are not being satisfied which is

Re: [Nagios-users] Dependencies suppressing execution but not notification

2010-07-28 Thread Litwin, Matthew
No responses. Was it because it looked overcomplicated, too long, just something? Spelling cortical provided by iPhone. On Jul 25, 2010, at 7:45 PM, Litwin, Matthew mlit...@stubhub.com wrote: Hi, Here is hopefully a more clear explanation of the problem I posted last night. I have

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-23 Thread Litwin, Matthew
that aren't really timing out so the check may take 10 minutes or more to complete which would really screw up your overall latencies. Like the checks wouldn't have finished before the next time they were supposed to be run. Mark From: Litwin, Matthew

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-23 Thread Litwin, Matthew
For the Total Services, what are the three X / X / X values mean? Is it last 1/5/15 min? On Oct 23, 2010, at 9:48 AM, Litwin, Matthew wrote: Here are my stats... definitely have a problem if latencies are between 5-10 minutes! check_reaper_frequency was set at 10, which seems high. I am

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-23 Thread Litwin, Matthew
On Oct 22, 2010, at 7:09 PM, Jonathan Angliss wrote: On 10/22/10 19:29, Litwin, Matthew wrote: --Service information-- Last Updated: Sat Oct 23 00:19:02 UTC 2010 --Service State Information-- Current Status: OK (for 7d 16h 14m 46s) Status Information: CPU STATISTICS OK : user=0.12% system

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-23 Thread Litwin, Matthew
On Oct 22, 2010, at 6:53 PM, Frost, Mark {PBC} wrote: Matthew, You don't say, but my guess would be that you have high latencies. That is for one of several reasons, Nagios is not able to run checks when it thinks it should. You can see this information and other stats by looking at

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-24 Thread Litwin, Matthew
You hit the nail on the head. Changing MaxBytes to a very large number made latency totally dwarf execution time. So now what do I do? On Oct 23, 2010, at 4:07 PM, Mathieu Gagné wrote: On 2010-10-23 18:31, Litwin, Matthew wrote: I have set up MRTG to track nagios performace

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-24 Thread Litwin, Matthew
not! On Oct 24, 2010, at 10:58 AM, Mathieu Gagné wrote: On 2010-10-24 03:54, Litwin, Matthew wrote: You hit the nail on the head. Changing MaxBytes to a very large number made latency totally dwarf execution time. So now what do I do? Try disabling environment variables in nagios.cfg

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-24 Thread Litwin, Matthew
On Oct 24, 2010, at 3:02 PM, Andreas Ericsson wrote: On 10/24/2010 10:14 PM, Litwin, Matthew wrote: Hi Matthieu (and anyone else who might want to throw their hat into the ring): I'll chip in. Your MUA seems to not wrap lines at all though, which makes replying inline a bit tricky

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-24 Thread Litwin, Matthew
to solve this. :-C On Oct 24, 2010, at 4:19 PM, Litwin, Matthew wrote: On Oct 24, 2010, at 3:02 PM, Andreas Ericsson wrote: On 10/24/2010 10:14 PM, Litwin, Matthew wrote: Hi Matthieu (and anyone else who might want to throw their hat into the ring): I'll chip in. Your MUA seems

[Nagios-users] tim format in nagios.log

2010-10-24 Thread Litwin, Matthew
how can I change time from unix time to human readable? -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-25 Thread Litwin, Matthew
What happens when you disable performance-data parsing and writing? Actually, that was what I am trying to get working properly. My RRD data files are sparse as a result. Even so, try disabling it for a bit and see if the way performance data is handled is causing problems. What

[Nagios-users] Setting Command Timeout that isn't global?

2010-11-09 Thread Litwin, Matthew
Is there a way to set the command timeout within an object definition that overrides the global definition? -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the