(repost from nagios-devel)
Hi folks,
I'm currently using Nagios 2.0b3 (never change a running system ;)) and
ran into the following problem:
Service went critical
SMS and emails got dispatched
found problem, decided to reboot the machine to fix it
scheduled downtime for host
rebooted host
every
>Strip out the comments and post the complete nrpe.cfg
pid_file=/var/run/nrpe.pid
server_port=5666
#server_address=192.168.1.1
nrpe_user=nagios
nrpe_group=nagios
allowed_hosts=127.0.0.1,192.168.0.34,10.0.0.34
dont_blame_nrpe=0
debug=1 #which appears to do Jack shit as it happens
command_t
When you try to check an LVM partition, this happens…
/check_disk -w 10% -c 5% --partition
/dev/mapper/VolGroup00-LogVol01
INPUT ERROR: C_IDFP (0.00) should be less than W_IDFP
(0.0) and both should be between zero and 100 percent, inclusive for
/dev/mapper/VolGroup00-LogVol01
Also doesn’t support raid.
[EMAIL PROTECTED] nagios]# ./check_disk -w 10%
-c 5% -p /dev/md0
INPUT ERROR: C_IDFP (0.00) should be
less than W_IDFP (0.0) and both should be between zero and 100 percent,
inclusive for /dev/md0
check_disk: Could not parse arguments
Usage: check_disk
Hello and thank you for your reply.
I figured out 99% of my problems. I completely overlooked minimal.cfg
and that is where it was pulling everything from. I also had those
"already defined" errors before and had to move my checkcommands.cfg
file as well as a few other ones. Now I know why. I
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Martin J. Green
> Sent: Monday, July 31, 2006 5:18 AM
> To: nagios-users@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: [Nagios-users] BUG: check_disk doesn't support LVM volume
If I specify path, I get the exact same error.
But if you look at the error returned by the plugin - its complaining
about the values of -w and -c - surely its parsing it wrong (possibly
because its being passed back something it doesn't understand?)
M
> -Original Message-
> From: [EMA
Thanks for the input Steve. I was afraid it would come to that. Oh well.
Off to write some Perl...
Thanks again!
>From: "Steve Shipway" <[EMAIL PROTECTED]>
>To: "The Other1"
><[EMAIL PROTECTED]>,
>Subject: Re: [Nagios-users] Tracking dynamic parents?
>Date: Mon, 31 Jul 2006 09:55:00 +1200
>
I indicated that the Axe approach would removed all history. --
"Axe: stop nagios; remove nagios.log; start nagios; remove archives/*.
***That will remove all history for all hosts and
services***"
You'll likely need to use Assumed States for your availability reports
until the in
Martin J. Green said...
|/check_disk -w 10% -c 5% --partition /dev/mapper/VolGroup00-LogVol01
|
|=20
|
|INPUT ERROR: C_IDFP (0.00) should be less than W_IDFP (0.0) and both
|should be between zero and 100 percent, inclusive for
|/dev/mapper/VolGroup00-LogVol01
|
|check_disk: Could not parse ar
Okay that's fine, but if I go to a host a view availability, shouldn't the time from when nagios started to current time be refected here?
Justin
On 7/31/06, Marc Powell <[EMAIL PROTECTED]> wrote:
I indicated that the Axe approach would removed all history. --"Axe: stop nagios; remove nagios.log
Did a search on here for it but the posts were rather old. Just
wanted to get some feedback on Oreon or anything else that's like
it. I run v2.0 right now, so it should support that. Anyone using
this front-end?
I noticed most of the notes on it are in French and during the installati
on pro
Only if nagios can determine what the initial state was. Normally,
nagios does not log the first check of a host or service, only when it
changes state. As such, when you run reporting now, nagios is probably
showing the states as undetermined because it doesn't have anything in
the logs to use to
Both -p & --partition have been tried. Whether I use
/dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the
same error
INPUT ERROR: C_IDFP (0.00) should be less than W_IDFP (0.0) and both
should be between zero and 100 percent, inclusive for
/dev/VolGroup00/LogVol01
check_disk:
Martin J. Green said...
|
|Both -p & --partition have been tried. Whether I use
|/dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the
|same error
Do you have any non-RAID, non-LVM partitions
to try with check_disk on this system, to
verify what's happening? If so, does it work
c
/ is the lvm volume and there's no hda1 (the machine has scsi disks in
hardware raid), but if I don't use *any* partition as an argument it
shows everything correctly (all partitions). I can also look at other
stuff like /dev/shm etc ok.
Output of df...
Filesystem 1K-blocks Used Av
Think I might see the problem... look at the % used for the partitions
that don't work (its not a %)
M
-Original Message-
From: Martin J. Green
Sent: 31 July 2006 16:57
To: 'Miles O'Neal'; nagios-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: RE: [Nagios-users] BUG: check_dis
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Martin J. Green
> Sent: Monday, July 31, 2006 9:02 AM
> To: Martin J. Green; Miles O'Neal; nagios-users@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Nagios-users] BUG: check_disk doe
Martin J. Green said...
|
|Think I might see the problem... look at the % used for the partitions
|that don't work (its not a %)
No, all the % columns have the %, though some
are scooted way over.
This is the one that matters, because this is the format
used by check_disk on Linux systems:
|And
Hi
using check_disk and running it remotely using nrpe - I wonder is there
any way to make it only check local disks as it seems to also check my
san mounted partitions and nfs partitions - Is there a switch to say
only local disks?
thanks
-
We had the same error using check_disk on solaris 9 last week with newly
compiled plugins. Had to get the CVS version to fix it, I believe.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miles
O'Neal
Sent: Monday, July 31, 2006 10:15 AM
To: nagios-users@
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Tom Brown
> Sent: Monday, July 31, 2006 9:17 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_disk - Only local disks
>
> Hi
>
> using check_disk and running it remotely
Hi,
On Sun, 2006-07-30 at 19:05 -0700, Mike Koponick wrote:
> I wondered of anyone else has configured Syslog-NG to send data via
> NSCA, and let Nagios handle the notifications, etc. I'm curious to see
> how Nagios is configured as the server, and Nagios as the client.
We use syslog-ng at Nagios
Tom Brown said...
|using check_disk and running it remotely using nrpe - I wonder is there
|any way to make it only check local disks as it seems to also check my
|san mounted partitions and nfs partitions - Is there a switch to say
|only local disks?
None I'm aware of. But you can run
it onc
-l, --local
Only check local filesystems
Matt Thomas
Server Operations Engineer
InnovationsTech
412.722.0839 - Office
412.335.5467 - Cell
[EMAIL PROTECTED]
Accelerating Productivity. Managed IT Solutions.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Thanks very much, Phil!
I'm having a little difficulty finding any documentation that tells
enumerates the
PDH counters. The Microsoft documentation I can find seems to talk more
about the
API for using PDH rather than enumerating the possible keys you can
search on. I
See there's a PDHbrowser f
-Original Message-
From: Morris, Patrick [mailto:[EMAIL PROTECTED]
Sent: 31 July 2006 17:08
To: Martin J. Green; Miles O'Neal; nagios-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: RE: [Nagios-users] BUG: check_disk doesn't support LVM volumes
> /dev/mapper/VolGroup00-LogVo
> -Original Message-
> From: Martin J. Green [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 31, 2006 9:25 AM
> To: Morris, Patrick; nagios-users@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Nagios-users] BUG: check_disk doesn't support
> LVM volumes
>
>
>
> -Origin
> -l, --local
> Only check local filesystems
damn - sorry all for the spam
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT
On Mon, 31 Jul 2006 [EMAIL PROTECTED] wrote:
> I'm currently using Nagios 2.0b3 (never change a running system ;)) and
> ran into the following problem:
>
> Service went critical
> SMS and emails got dispatched
> found problem, decided to reboot the machine to fix it
> scheduled downtime for host
perfect, since I didn't know how to to specify initial assumed state "OK", I changed log_initial_states to 1 and now I'm graphing availability again. thanks
On 7/31/06, Marc Powell <[EMAIL PROTECTED]> wrote:
Only if nagios can determine what the initial state was. Normally,nagios does not log
such as schedule downtime for a host or service, or disabling notifications I understand this could be seperate issues, but I have permission for "nagiosadmin" to be able to issue external commands et al. When I try to schedule downtime, nagios tells me
Error: Could not open command file
On Mon, 31 Jul 2006, Justin Craig wrote:
> such as schedule downtime for a host or service, or disabling
> notifications I understand this could be seperate issues, but I have
> permission for "nagiosadmin" to be able to issue external commands et al.
> When I try to schedule downtime, nagios
Interesting, what should it be? This is the default as I have not changed it, and nagios.cmd does exist in usr/local/nagios/var/rw
On 7/31/06, Patrick Morris <[EMAIL PROTECTED]> wrote:
On Mon, 31 Jul 2006, Justin Craig wrote:> such as schedule downtime for a host or service, or disabling
> notific
On Mon, 31 Jul 2006, Justin Craig wrote:
> Interesting, what should it be? This is the default as I have not changed
> it, and nagios.cmd does exist in usr/local/nagios/var/rw
>
> On 7/31/06, Patrick Morris <[EMAIL PROTECTED]> wrote:
> >
> >On Mon, 31 Jul 2006, Justin Craig wrote:
> >
> >> such
On Mon, 31 Jul 2006, Patrick Morris wrote:
> Without a slash at the beginning, it's a relative path. It's only going
> to be right if you're in the home directory.
I assume you mean root directory here.
> For example, try typing "cd usr/local/nagios/var/rw" from /home. It
> won't work.
~ swee
On Mon, 31 Jul 2006, Hugo van der Kooij wrote:
> On Mon, 31 Jul 2006, Patrick Morris wrote:
>
> > Without a slash at the beginning, it's a relative path. It's only going
> > to be right if you're in the home directory.
>
> I assume you mean root directory here.
Ayup. Sometimes the five remain
Solved!
After all this thread the problem is resolved.
I changed the "mail" command by "mailx"
Thanks Marc, Mike, Hugo, Aaron, Morris and all the others that read this thread.
2006/7/28, Mike Emigh <[EMAIL PROTECTED]>:
>
>
> On 7/28/06, Aaron Segura <[EMAIL PROTECTED]> wrote:
> > Shameless plu
I had installed the version 2.4 by binary way and we had using NagiosQL to
configure.
The servers had been monitored ok
In all time that nagios was installed here none of the serves had not been
down any moment
On the first server down one, the nagios process did not send any e.mail
using the p
Title: RE: [Nagios-users] Nagios do not send e.mails
Are notifications turned on in the nagios.cfg file?
Mike
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Marcos Marinho
Sent: Monday, July 31, 2006 2:57 PM
To: nagios-users@lists.sourceforge.net
Title: RE: [Nagios-users] Nagios do not send e.mails
Yes, Mike ,
In the
nagios.cfg there is a line config like this :
enable_notifications=1
Is this right ?
Thanks for your cooperation
[Marcos
Marinho] -Mensagem original-De: Mike
Koponick [mailto:[EMAI
On Thursday 27 July 2006 11:43, Colby Williams wrote:
> Has any one come up with a way to back up important Nagios files?
>
> Files like:
>
> *.cfg and httpd.conf
Combining some of the best features of rsync and version control -
there's rsnapshot - see http://www.rsnapshot.org
Brian
pgpH0y5O
Hello,
I am having another slight issue and would like some guidance on
this. Here's the situation:
I have one host that is being pinged and the SMTP is being checked
just fine. It's in Group A. Now, I went ahead and defined 6 new
hosts that need to be just pinged. I used the same template
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Artyom Khmelnitsky
> Sent: Monday, July 31, 2006 9:13 PM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] getting some flyby errors
>
> check_ping!100.0,10%!500.0,40%!5
>
> "c
On Tue, 1 Aug 2006, Morris, Patrick wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of Artyom Khmelnitsky
> > Sent: Monday, July 31, 2006 9:13 PM
> > To: nagios-users@lists.sourceforge.net
> > Subject: Re: [Nagios-users] getting some fl
Almost all of the hosts I monitor with Nagios use some kind of
volume manager
(either LVM on HP-UX and Linux, or VxVM on Solaris),
and I have no problem whatsoever with check_disk on those.
I wonder why you check the partitions (or better LVs in your
case)
instead of having all local mounts checke
46 matches
Mail list logo