sing?
You just said it right there, actually. You are confusing
contacts and contact-groups. You would put jdoe-email and
jdoe-pager into the same contact group and assign that to the
service. You only need one host, one service, one contactgroup,
and two contacts in that group.
-J
your
notification command and have it decide based on severity how to
route the alert.
-Jason Martin
--
The first step to making a dream come true is to wake up
This message is PGP/MIME signed.
pgpgUSkj0jKEm.pgp
Description: PGP signature
-
On Mon, Aug 14, 2006 at 10:30:41AM -0600, Aaron Segura wrote:
> I would check the xinetd.conf. Maybe your config is throttling the
> connection after X attempts in Y seconds?
Read up on the 'cps' parameter for xinetd. There is a default
that you might be running afoul of
h reads
> allowed_hosts=III.III.III.111, III.III.III.222
Try removing the space after the comma.
-Jason Martin
--
Unsolicited advice answers unasked questions
This message is PGP/MIME signed.
pgpx5lGy1AWzm.pgp
Description: PGP signature
---
ile' checks. Unfortunately Nagios
does not support your ideal situation of log check staying red
until manually cleared.
-Jason Martin
--
3 kinds of people: those who can count & those who can't.
This message is PGP/MIME signed.
pgpBTeRMxvcRd.pgp
D
os server.
-Jason Martin
--
The moving cat sheds, and having shed, moves on...
This message is PGP/MIME signed.
pgpTF4lLv1iHo.pgp
Description: PGP signature
-
Using Tomcat but need to do more? Need to support web services, secu
On Sat, Aug 05, 2006 at 05:29:29PM -0700, Rob Brown wrote:
> Does anyone have a simple way to check whether or not notifications are
> disabled? Preferrably from the command line.
You should be able to parse the status file for that data.
-Jason Martin
--
.ASM programmers drive stick
d from
> other working services that only specify the "use", "host_name",
> "service_description" and "check_command" lines):
What is the definition of check_nrpe?
-Jason Martin
--
People say I'm
TS because they are
> too temporary.)
To do this in Nagios you'll pretty much have to concatenate all
of the errors into one line, such as "X,Y,Z failed".
Alternatively, have the plugin store the list of jobs that
failed somewhere and have it just alarm you to tell you to visit
that l
x27; space. You've asked
for a critical if the disk is more than 15% full, and a warning
if it is more than 5% full.
-Jason Martin
--
My other cat is a Jaguar.
This message is PGP/MIME signed.
pgpe6SdQrdXvs.pgp
Description: PGP signature
--
from
NRPE if the plugin does not complete in 10s as well.
-Jason Martin
--
Man who speaks with forked tongue should not kiss balloon
This message is PGP/MIME signed.
pgpc1sdIT3FM7.pgp
Description: PGP signature
-
Take Survey
cking on the modified date on the file)
There is a plugin called check_nagios that checks the nagios
status file for that very thing. The CGI's can also call this
plugin, although you'll have to check what the output looks like
when Nagios is down to see what to check for with the HTTP
monitor.
>
> and I was able to send test messages from localhost, but when I try to
> send the same message from remote
> server, all I could see in /var/log/messages that it opens up connection
> and closes it and remote host saying that
> 0 messages sent to the host.
tcp_wrappers pe
ot;sqlplus "
> and successfully get a login prompt on the database server.
How does it get in the nagios users's path? Could Nagios have
been restarted in such a way that the profile or whatever didn't
get sourced?
-Jason Martin
--
This mes
On Thu, Jul 06, 2006 at 05:28:08PM +0100, Hari Sekhon wrote:
> Can anybody confirm that this means there is no DB support in 2.x so you
> can no longer use a MySQL/PostgreSQL backend?
Correct, although there is a module for the event broker that
mimics some of that functionality.
-Jason
E or install Oracle on the host initiating the check.
-Jason Martin
--
Captain, why not just give the Borg Windows? - Worf
This message is PGP/MIME signed.
pgpGR0PszAA8b.pgp
Description: PGP signature
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quick
ilure messages
when the host dies, you probably have some sort of dummy check
defined for the host.
-Jason Martin
> I am runing nagios version 2.0b and how do i configure these.
>
> can you hlep, please.
>
>
>
>
> ___
On Mon, May 22, 2006 at 03:09:49PM -0500, jeff vier wrote:
> On Mon, 2006-05-22 at 13:03 -0700, Jason Martin wrote:
> > So what are the requirements again? Install a stock Linux
> > distribution, install Nagios, install plugins, install a stock web
> > config gui tool, a
g, again?
> >
> > Wow, you running a discount week or something? That seems a tad cheap
> > given the requirements.
So what are the requirements again? Install a stock Linux
distribution, install Nagios, install plugins, install a stock web
config gui tool, and install the client po
u did manually? That
is often the cause of differing results from NRPE then normal.
-Jason Martin
--
I xeroxed my watch. Now I have time to spare.
This message is PGP/MIME signed.
pgpScpXLSzFqQ.pgp
Description: PGP signature
On Fri, May 19, 2006 at 03:53:21PM +0200, Matteo Mancini wrote:
> # /usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/cciss/c0d0p10
> DISK CRITICAL - free space:| [/dev/cciss/c0d0p10 not found]
-p is partition, not disk. Try /vmfs/vmhba0:0:0:10.
-Jason Martin
> # vdf -h
>
happy. Can I do a dummy service connectivity check?
Ping is a valid check.
-Jason Martin
--
I am, therefore I am (I don't draw conclusions).
This message is PGP/MIME signed.
pgpHcNumUkm0f.pgp
Description: PGP signature
on over a long period of time.
-Jason Martin
> -Original Message-----
> From: Jason Martin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 16, 2006 1:12 PM
> To: Eli Stair
> Cc: Keller, Steve; nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] "Agentless
FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=39
-Jason Martin
--
A true adman writes the prose and cons.
This message is PGP/MIME signed.
pgpvDEjD2P8eQ.pgp
Description: PGP signature
:)
I think it just acts as a 'ssh session manager' and doesn't do
any crypto itself.
> Then again, check_by_fsh sounds nice too! Have to look at SSH4 features now
> that you mentioned it Steve.
Can you provide a link to SSH4? I'm not seeing anything relevant
on goog
care of the SSH overhead problem.
> this has the problem that a host which is down, or busy, could delay
> checking other hosts.
If you are writing this in perl, you can have your plugins
timeout gracefully to prevent that. Nagios can be configured to
time out plugins as well.
-Jason Ma
presentitive characters
and redirect it into sendmail and have it send it to you. I
suspect that the characters are being lost by sendmail, in which
case it is your sendmail config that would need modification.
-Jason Martin
--
If the shoe fits, put it in your mouth.
This message is PGP/MIME sign
nagios when it runs. i did not test it and im
> not sure about services but im pretty sure it can be extended
> to do what you need
Keep in mind that this isn't a "runtime" change, rather it is a
plugin that rewrites your config files and HUPs nagios. It is a
significant diff
ngine.org. That, possibly combined with the
package manager of your choice, handles the situation fairly
well.
-Jason Martin
--
Oxymoron: Science Fiction.
This message is PGP/MIME signed.
pgpRZhqLy683H.pgp
Description: PGP signature
On Fri, May 05, 2006 at 12:28:36PM -0400, James Nachlin wrote:
> May 5 14:34:03 survivor nrpe[19415]: refused connect from 192.168.2.30
> (192.168.2.30)
>
> Could this just be an issue where nrpe is configured not to accept any
> connections from that network? There are two interfaces on survi
mode? Does the connection clise
immediately? Are there any messages in syslog on survivor about
it?
-Jason Martin
>
> Can anyone suggest what to try next? Any and all suggestions appreciated.
>
> Finally, nrpe.cfg:
> pid_file=/var/run/nrpe.pid
> server_port=5666
> nrpe_user=
he output of the nagios preflight? Did you restart
Nagios after modifying the hosts file?
-Jason Martin
--
Machine-independent: does not run on any existing machine.
This message is PGP/MIME signed.
pgpjwLcVDvWMH.pgp
Description: PGP signature
e to not have 'u'.
> What causes socket errors and how can I prevent them?
What was the exact error message?
-Jason Martin
--
Is "tired old cliche" one?
This message is PGP/MIME signed.
pgp0z4EeI9MST.pgp
Description: PGP signature
have the script invoked on the client by check_nrpe
call back to the nagios host and get the time.
-Jason Martin
>
> Jim
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends
an get this by turning on the OCSP to log to a file, which
will get you both active and passive checks. Alternatively,
turning on Stalking should do it too.
-Jason Martin
--
The future isn't what it used to be.
This message is PGP/MIME signed.
pgphKT670OwPK.pgp
Description: PGP signature
On Fri, Apr 14, 2006 at 10:11:27AM -0500, Marc Powell wrote:
> An active check is one in which the host or service check_command is run
> by nagios itself. You can force an active check to happen by
> re-scheduling the next check of the service.
>
> A passive check is one in which the host or serv
ata to the central server.
-Jason Martin
>
>
> Thank You,
>
> Matt
>
--
All stressed out, and no one to choke...
This message is PGP/MIME signed.
pgpLuPCZLeNtu.pgp
Description: PGP signature
you are using the OCSP, couldn't you just modify that
script to prepend the hostname to the plugin output?
-Jason Martin
> A little background into my setup:
> - 4 nagios servers (all running 2.2 now)
> - nag1, nag2 and nag3 at each office/colo
> - nag4 is the central server r
It sounds like the problem is plugin based, not Nagios based.
Which plugin was hung / spiked? What exact version of the plugin
was it? So on and so forth..
-Jason Martin
--
If you're not confused, you're not paying attention.
This message is PGP/MIME signed.
pgpESylaPqgoW.pgp
Description: PGP signature
es
the script load all of its environmental dependencies (there is
no .profile loaded under NRPE)?
-Jason Martin
--
Computer Lie #1: You'll never use all that disk space.
This message is PGP/MIME signed.
pgpHr83o3DHNQ.pgp
Description: PGP signature
there to specify the LDAP location.
-Jason Martin
--
Clarvoiants meeting canceled due to unforseen events.
This message is PGP/MIME signed.
pgpIoG0eskRwu.pgp
Description: PGP signature
to checkout GraphViz
(www.graphviz.org).
-Jason Martin
--
[Please insert a quarter in Drive A: for the next tagline.]
This message is PGP/MIME signed.
pgpKkkHY4P97W.pgp
Description: PGP signature
64 decoder in
the plugin and put the encoded string in the Nagios config.
Ugly.
-Jason Martin
--
Shell to DOS...come in, DOS...do you read...over?
This message is PGP/MIME signed.
pgpTJYHPyztjn.pgp
Description: PGP signature
to look at sending all your syslogs to a central
server, and having Simple Event Correlator
(http://freshmeat.net/projects/sec) send passive alerts in to
Nagios about it. It is very good at handling X-matches-over-time
and so on.
-Jason Martin
--
I lost a button hole today.
This message is
into the nagios.cmd
file to cause Nagios to believe there is a failure. Look up
'passive check results'.
-Jason Martin
--
You can't go home again, unless you set $HOME.
This message is PGP/MIME signed.
pgpMCBTjC7rGf.pgp
Description: PGP signature
iew function. Edit that
then recompile.
If you want Nagios to create that BW monitoring image for
you,well, that is a much larger task.
-Jason Martin
--
This message is PGP/MIME signed.
pgpE20jcUpIkA.pgp
Description: PGP signature
ure that
only authorized IP addresses connect, IE your Nagios hosts.
There's no need for a random desktop host to be able to invoke
NRPE.
-Jason Martin
--
I distinctly remember forgetting that.
This message is PGP/MIME signed.
pgp0lXpRb7Hmx.pgp
Description: PGP signature
wn internal configuration to only accept
connections from a given set of hosts.
What sort of attack are you worried about that isn't covered by
tcpwrappers?
-Jason Martin
--
This message is PGP/MIME signed.
pgpaD9aoMCWce.pgp
Description: PGP signature
On Thu, Mar 02, 2006 at 12:14:18PM -0500, Peter L. Berghold wrote:
> In the case of the host definition I'm trying to put really generic
A object cannot have multiple 'use' statements, but a template
can inherit a template, allowing you to create a tree-like
structure.
-Ja
provider, smarthost
might matter if only a small set of hosts on the local network
are allowed to connect outbound on port 25.
I didn't mean iptables on the Nagios box, but on some edge
firewall on the network.
-Jason Martin
--
An unbreakable toy is useful for breaking other toys.
This
rthost in sendmail? Otherwise sendmail
will attempt to connect directly, which your firewall rules
might prevent.
-Jason Martin
--
An unbreakable toy is useful for breaking other toys.
This message is PGP/MIME signed.
pgphAzBabWW7h.pgp
Description: PGP signature
loperinfo/externalcommands/commandlist.php
specficially,
http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=119
-Jason Martin
--
"I think not," said Descartes, and promptly disappeared.
This message is PGP/MIME signed.
pgp6NHosyiBsn.pgp
Description: PGP signature
On Fri, Feb 17, 2006 at 01:10:54PM -0600, Demetri Mouratis wrote:
> >Has anyone used Nagios to monitor tripwire events?
Check_log could monitor tripwire's logfile for any alerts.
-Jason Martin
--
This message is PGP/MIME signed.
pgpFF6v2ETtNm.pgp
Description: PGP signature
ut the service into alarm state and you'll get the
notifications.
-Jason Martin
--
That must be wonderful! I don't understand it at all.
This message is PGP/MIME signed.
pgp6rP1VYPzII.pgp
Description: PGP signature
of your application logs, syslogs, weblogs, etc etc and then do
keyword and time searches for it to see that, for example,
switch port X went to half-duplex mode the same time that Oracle
thew a threw a fibblebitzi error in its alert log.
-Jason Martin
--
This message is PGP/MIM
, and you only need to
> make a couple of easy tweaks to a couple of files to get it working.
Note that the free version will only process 500MB/day of input.
-Jason Martin
--
Where there's a will, there's an inheritance tax.
This message is PGP/MIME signed.
pgp9aDqyoXIaR.pgp
Description: PGP signature
server
instead of on the remote servers.
-Jason Martin
--
Where there's a will, there's an inheritance tax.
This message is PGP/MIME signed.
pgpRB1KcZ0hzy.pgp
Description: PGP signature
could use the existing log
checking plugins to alert on the error.
-Jason Martin
--
A waist is a terrible thing to mind.
This message is PGP/MIME signed.
pgpUQOprmGknw.pgp
Description: PGP signature
value.
-Jason Martin
--
Support bacteria - it's the only culture some people have!
This message is PGP/MIME signed.
pgphHLJ0lIlbQ.pgp
Description: PGP signature
hat can be written to
the nagios.cmd pipe in a given time period, due to kernel limits
on the buffer for it. Does it improve if you length your check
interval?
-Jason Martin
--
Don't buy furs, it takes trees to make protest signs.
This message is PGP/MIME signed.
pgp3fuc8JQuXB.pgp
Description: PGP signature
output -- why do you want it in the
output?
If you really want it in the output, you could modify
check_http.c (or is it check_tcp.c, I forget) to prepend that
data, OR write a wrapper script that does the same thing.
-Jason Martin
--
I like to reminisce with people I don't know.
This mess
are correct on both points.
-Jason Martin
--
If all goes well, you've overlooked something!
This message is PGP/MIME signed.
pgpq8xd1SRG8U.pgp
Description: PGP signature
erver and a
notification method that sends it through jabber.
-Jason Martin
--
How do you write zero in Roman numerals?
This message is PGP/MIME signed.
pgpU8Bdjiumqg.pgp
Description: PGP signature
ificant. In the past you haven't been able
to put the 'extra info' objects in the same file, such as
hostextinfo and servicextinfo -- perhaps that is what you are
thinking about.
-Jason Martin
> contactgroups, etc. When I place the content of my existing hosts.cfg,
> hostgrou
On Thu, Jan 05, 2006 at 12:09:43PM -0600, Chris McKeever wrote:
> Is there a way to execute code after a service failure?
Look up 'event handlers' in the docs, they do this.
-Jason Martin
--
It is ten o'clock; do you know where your processes are?
This message
exit 2
#END
The above is a dummy plugin that would always show up as
CRITICAL.
-Jason Martin
> -Original Message-
> From: Robert Reeves
> Sent: Tuesday, January 03, 2006 3:50 PM
> To: Robert Reeves; Subhendu Ghosh
> Cc: nagios-users@lists.sourceforge.net
> Subject: RE
f those thorugh Nagios. Also, the pattern capabilities of
check_log2 are a bit limited for comprehensive syslog
monitoring.
-Jason Martin
--
Experience is a good teacher but her fees are high...
This message is PGP/MIME signed.
pgpdkAhPqpaMC.pgp
Description: PGP signature
is is not necessary, just replace the part where it invokes
the restart command with the appropriate NRPE call.
-Jason Martin
--
Press Ctrl-Alt-Del to continue...
This message is PGP/MIME signed.
pgpVTVH0bUFNo.pgp
Description: PGP signature
NRPE that performs the restart and invoke it
as a event handler. You may have to use passwordless SUDO to
give it the correct permissions. I suggest thinking about using
tcp wrappers or iptables, as anyone with a NRPE client could
invoke the restart script.
-Jason MArtin
> Write a monitor s
drive, then a service dependency between the two such that
the drive is only checked when it is present.
-Jason Martin
--
Never draw fire, it irritates everyone around you
This message is PGP/MIME signed.
pgpag7Sf7qQXc.pgp
Description: PGP signature
Is anyone monitoring a VMWare GSX/ESX server with Nagios? If so,
could you share what components you are monitoring and with
which plugins?
Thank you,
-Jason Martin
--
Is "tired old cliche" one?
This message is PGP/MIME signed.
pgp8gUeZi3prc.pgp
Description: PGP signature
On Tue, Nov 22, 2005 at 10:28:00AM -0500, Mohanty, Amitabh (Corporate,
consultant) wrote:
> Hi,
> Doe any one know if we can monitor JVM using Nagios (using
> SNMP if possible).
If the JVM has a snmp daemon, sure. Check out check_snmp. No
magic here.
-Jason Martin
--
Pet Store: &quo
set DB, instead have it link to the
Asset record.
-Jason Martin
--
On a radiator repair shop: Best place to take a leak.
This message is PGP/MIME signed.
pgpVhqLSOIESA.pgp
Description: PGP signature
On Thu, Nov 10, 2005 at 05:07:11PM +1030, Mark Limburg wrote:
> lets say I have 14 matched instances when I do my check_logs.pl .. via NRPE
> is it possible to return EACH of the 14 instances for the email?
No. A plugin can return one line of output, and only one status
for that checks.
On Wed, Nov 09, 2005 at 10:16:39AM +1030, Mark Limburg wrote:
> On 11/9/05, Jason Martin <[EMAIL PROTECTED]> wrote:
> > What plugin is nrpe calling? I haven't seen anything like that
> > before.
> Here's the report from the server, which is calling NRPE ..
>
On Wed, Nov 09, 2005 at 09:13:32AM +1030, Mark Limburg wrote:
> Howdy
>
> On 11/9/05, Jason Martin <[EMAIL PROTECTED]> wrote:
> >
> > What plugin generates that output? NRPE normally acts as a
> > transparent pass-through and doesn't change the output.
>
ly acts as a
transparent pass-through and doesn't change the output.
-Jason Martin
--
What if there were no hypothetical situations?
This message is PGP/MIME signed.
pgplJRy3v0eG9.pgp
Description: PGP signature
On Mon, Nov 07, 2005 at 06:59:36PM +0100, Mohr James wrote:
> So, if I am reading it right, because we define the
> ocsp_command in nagios.cfg, it will be valid for every single
> service.
Yes, if the 'obsess_over_service' option is on for that service.
-Jason Martin
of
Is apache asking for the authentaction information? Is your
apache configured to honor .htaccess files, and allow them to
override authorization configuration?
-Jason Martin
--
They told me I was gullible ... and I believed them!
This message is PGP/MIME signed.
pgpZYOdSXVHc9.pgp
Description: PGP signature
79 matches
Mail list logo