Re: [Nagios-users] Warning threshold must be float or float

2006-08-03 Thread Miles O'Neal
Justin,

|sorry, where is my /tmp/nagios directory.  I do a find / -name */tmp/nagios*
|I don't see anything.

All pertinent path names should be specified
in your nagios.cfg file.

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Antwort: Re: Recovery not getting sent during

2006-08-02 Thread Miles O'Neal
[EMAIL PROTECTED] said...

|Every admin that is currently offsite can't know about the reboot
|(cause it happened in downtime and noone noticed despite the one who
|rebooted) and will never get notified about the recovery. That poses a
|big problem for bigger companies who have numerous admins getting
|notifications from nagios. If such a case occurs I usually get a call from
|my CTO why problem XY wasn't fixed yet and I have to tell him:
|I fixed it with a reboot, but nagios didn't send out the recovery because
|of the downtime.
|
|It wastes time and ressources.
|Time and ressources mean money.
|Wasted money is bad.

Depending on the company and CTO, it's also bad at review time.

``Doesn't keep management aware of crit sits.''
``Can't properly configure monitoring tools.''
Etc.

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] getting some flyby errors

2006-08-01 Thread Miles O'Neal
Have you done a grep for check_ping in all teh files in that dir
to make sure there's not another check_ping that overries that?

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] getting some flyby errors

2006-08-01 Thread Miles O'Neal
Artyom Khmelnitsky said...
|
|My directory structure is as follows:
|
|/etc/nagios/ contains the main files (cgi, nagios, resources)
|
|/etc/nagios/mysite contains all the other files (hosts, services,
| servicegroups, checkcommands, etc..) 
|
|What files do you think I should grep for check ping?

I just do something like

   grep check_ping /etc/nagios/* /etc/nagios/mysite/*

to check everything.

-Miles

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] BUG: check_disk doesn't support LVM volumes

2006-07-31 Thread Miles O'Neal
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 arguments
|
|Usage: check_disk -w limit -c limit [-p path | -x device] [-t
|timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q]

Have you tried -p instead of --partition?
Have you tried escaping all arguments by putting
them inside single quotes?
Have you tried all this from a command line?

This command just parses the output of a df command.
But it looks like it's complaining about what you
passed in as an argument.

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] BUG: check_disk doesn't support LVM volumes

2006-07-31 Thread Miles O'Neal
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 df -hP
|
|FilesystemSize  Used Avail Use% Mounted on
|/dev/mapper/VolGroup00-LogVol01  137G   72G   58G  56% /
|/dev/md0   99M   11M   84M  11% /boot
|/dev/shm  3.0G 0  3.0G   0% /dev/shm
|192.168.254.1:/storage/vm  1.1T  974G   38G  97% /mnt/storage
|
|Oh and nfs mounts don't work either (again they show up when its passed
|no partition as an argument, but try and check it on its own and it
|doesn't work).

Sorry, I'm out of ideas other than trying
another version of the plugins in case this
one has a bug.  The only problem I have
seen with check_disk is when an NFS mount
goes weird and the df -hP returns outout
without numbers, as in

fred:/dev/foo   -   -   -   - /dev/foo

I use check_disk primarily on NFS mounted
partitions and a handful of local disks.
Everything else handle through nagios-statd
on remote boxes, which also uses the df -hP
command, but different code to parse and
report, so it's not relevant.

Actual command line example with only the
names changed:

somesys:meo[142]/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p 
/export/foo
DISK WARNING [23126152 kB (6%) free on somefiler:/vol/vol0/foo]

What version are you running?  I have:

   somesys:meo[148]rpm -q nagios-plugins
   nagios-plugins-1.3.1-10.1.el3.rf.x86_64

and as I said it works fine here.

-Miles

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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_disk - Only local disks

2006-07-31 Thread Miles O'Neal
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 once per partition you care about
with the -p arg.

What you describe would be an easy to
implement feature, but AFAIK it's not
there.

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] adding multiple checks to a host, how?

2006-07-29 Thread Miles O'Neal
|Forgive me for asking again. I accidentally cleared the messages for 
|this mailbox and that is why I asked again. I know you helped me out in 
|the last post Hugo and I was actually looking for your reply. If you 
|would be so kind as to post it again, I would be greateful.

As I recall, the place where you find the
signup for this list includes a way to
view the archives.  Just look back through
the recent posts.

-Miles

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] what mail server to use?

2006-07-29 Thread Miles O'Neal
nagios said...
|
|Does anyone have any recommendations on what mail server to use? I'm 
|planning on going with Sendmail, but I know that there are a few others 
|out there. Any suggestions are welcome.

We converted to postfix at work; it's
more straightforward to configure.  My
personal server still runs sendmail,
just because I have it config'd pretty
thoroughly.  I really need to learn
postfix...

They both seem to work fine, though I
keep hearing sendmail has more problems
in terms of security.  I know there are
some anti-spam concepts I wish it had.

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] not receiving the nagios notifications

2006-07-28 Thread Miles O'Neal
Felipe Tocchetto said...
+I notice somethig:
+
+bash-3.00# printf TEST123 | mail -s test mail to felipe [EMAIL PROTECTED]
+com
+
+Without the ! in the end of the subject it was sent with no problems
+
+bash-3.00# printf TEST123 | mail -s test mail to felipe! [EMAIL PROTECTED]
+.com
+bash: !: event not found
+
+and now with the ! in the end of the -s parameter. It wasnt send to me...

Since ! tells bash to invoke a previous comand, bash
is trying to execute a bogus command  (!).  If you want special
shell characters in a string, you need to escape them.  Try
   printf TEST123 | mail -s test mail to felipe\! [EMAIL PROTECTED]

If that doesn't work try

   printf TEST123 | mail -s 'test mail to felipe\!' [EMAIL PROTECTED]

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] How to pronounce Nagios

2006-07-28 Thread Miles O'Neal
Jim Perrin said...

|To some, its pronunciation is one of several complex phrases, ranging
|from Oh crap. Is that box dead AGAIN? to more email? and even wow
|that saved my ass. As you can see, its pronunciation varies from
|admin to admin and contact to contact. While it may be a FAQ, the faq
|does not contain all possible pronunciations.

But the FAQ did include a very important
alternate pronunciation: nachos.

M.  Nachos!

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] plug timeout w/o Bind

2006-07-28 Thread Miles O'Neal
Derek Olsen said...

|   What I've done because I like to use hostname's in my configs instead 
|of ip addresses.
|   1.  Create a monitor using the check_dns plugin which queries the dns 
|server directly by IP address attempting to resolve 1 host in my DNS 
|records.
|   2.   Setup a master dependency that every service relies on.  So if 
|my DNS service goes into a warning/critical/unknown state none of my 
|other  serfvices will execute.

Instead of or in addition to #2, you can
run a caching name server (named or
something else) on the nagios system.

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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_http combine -e and -s

2006-07-28 Thread Miles O'Neal
Gary Danko said...
|
|Can you use both -e and -s with check_http?

Yes.

But really, you'll typically find out faster
if you just try it.  You can't hurt it.  Just
run test commands from the command line.

I did the following:

/usr/lib64/nagios/plugins/check_http -H aaa.bbb.ccc.ddd -e HTTP/1 -s index.html
/usr/lib64/nagios/plugins/check_http -H aaa.bbb.ccc.ddd -e HTTP/1 -s fred
/usr/lib64/nagios/plugins/check_http -H aaa.bbb.ccc.ddd -e HTTP/0 -s fred

The first one reported all well as expected.
The next reported bad content.
The last reported bad header.

-Miles

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] plugns

2006-07-26 Thread Miles O'Neal
Martin J. Green said...

|[EMAIL PROTECTED] nagios]# /usr/libexec/nagios/check_disk -w 85% -c 95% -p 
/dev/hda1

You have it backwards.  You need to use the % available,
not the % used.  So you want -w 15% -c 5%.

Not sure about the other problems, but that's why
it says critical; you have less than 95% left on
your disk. 8^)

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Some beginner answers

2006-07-25 Thread Miles O'Neal
|1. The .cfg files, I assumed, are supposed to be owned by nagios user 
|and group and be chmod 755?

Ours are owned by me (I manage them via RCS),
and are 644 or 444, depending on whether they're
checked out for editing.  There's no reason for
execute permission AFAIK.

|2. For instance, in the hosts.cfg file, am I able to define hosts one 
|after another in the same file as follows:
|
|define hosts{
|info here
|}
|define hosts{
|different host here
|}
|etc...

Yes.

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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 using wrong ip for host?

2006-07-20 Thread Miles O'Neal
Hari Sekhon said...

|My nagios server is telling me that a host is down despite also saying 
|that a service on that host is up !!
|
|MyServer Oracle   OK 20-07-2006 18:23:52 0d 0h 48m 44s 
|1/3 OK - dummy login connected
|
|SSHCRITICAL 20-07-2006 18:22:26 0d 1h 
|28m 30s 3/3 No route to host
|
|Looking at the host status is says
|
|MyServerDOWN 20-07-2006 18:25:19 0d 1h 30m 54s CRITICAL 
|- Host Unreachable (192.168.1.29)
|
|but the ip address for the server is 192.168.1.43, why is it using the 
|wrong address?

First off, did you grep for the offending address
in the configs?

Most likely something is hosed in the status file.
When I've had massively weird stuff like this, I
stoped nagios, deleted the offending line (in this
case the one with the bad IP) from the status.sav
file, and restarted nagios.

-Miles

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] config files and upograding

2006-07-18 Thread Miles O'Neal
We've been running 1.2 pretty much since it came out.
I'd liike to try a 2.x version, but nowhere am I
finding anything about config file changes.  Can I
just start with the 1.2 config files and have it work?
If not, can someone point me to a doc about the steps
to upgrade?

The upgrade from whatever nagios was before to nagios
was a major pain.  (In fact, I wish there had been an
option for using the old format; I prefer to manage config
files with old-fashioned *nix command line tools, and
that works much better when each line is an entire config
command!)

Thanks,
Miles

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Init error

2006-07-11 Thread Miles O'Neal
Antonio Pereira said...
|
|Hello,
|
|I am having an error show up when I do a status on the nagios
|
|
|The error is as follows:
|
|**
|/etc/rc.d/init.d/nagios status
|No lock file found in /usr/local/nagios/var/nagios.lock

Did you check permission?  Mine shows:

   drwxr-xr-x   13 root root 4096 Jul  5 16:28 /var/run/
   -rw-r--r--1 root root6 Jul  5 16:28 /var/run/nagios.pid

While the processes all end up running as nagios, the
pid file gets written by root.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] surge in Service Check Timed Out messages

2006-07-07 Thread Miles O'Neal
I've been running nagios 1.2 for some time with
no problems.  It's on fairly lightly loaded system.
In the last month or so, I've started seeing an
odd problem.  Once or twice a day, anywhere from 10
to 30 chekcs will suddenly have Servce Check Timed
Out problems, resulting in a bunch of critical flags.
These will hang around until I either restart or
reload nagios; then everything goes back to green.
It's a consistent fix.  But it's rather annoying.

Eventually the conditions will clear if left alone,
but it can take 10 - 60 minutes.  They tend to clear
in batches.  If, for example, I suddenly have 29
critical messages, 10-15 minutes later I suddenly
have 19.  A couple of minutes later I'll have 4, and
a couple of minutes later, back to 0.

Some of the monitored systems are swamped, but some
are just under a normal, medium load.  I *believe*
all the timeouts are related to nagios-statd checks,
but I can't swear to that.  Certainly most are.  And,
no, we haven't changed the nagios-statd version lately.

We haven't expanded the scope of what's monitored,
we've actually reduced system and service count in
nagios as we've upgraded to fewer, faster systems in
our compute farm and infrastructure.  The network
isn't any busier than it was.  I'm not seeing any
evidence of NIC problems.

Even though the nagios server is lightly loaded, I
have tried backing off the timings.  No change.

The results do show up in the status.log file;
this isn't a GUI issue.

Anyone know what's going on?


I searched the archives and found nothing useful.
(The sourceforge search interface is really annoying;
is there a way to get results in threaded view,
instead of every post in a thread having its own
link in the results?)


Thanks,
Miles

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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