Subject: Re: Problem with check_procs on FreeBSD 5.2.1 & 5.3 - msg#00032
List: network.nagios.plugins
Michael Bakker wrote:
Hi,
I've got a problem with the check_procs plugin on systems with FreeBSD
5.2.1 and 5.3:
$ /usr/local/nagios/libexec/check_procs
OK - 10 processes running
There are much more processes running than 10 running - the other
problem is:
$ ps auxw | grep [c]ron
root 419 0.0 0.3 1344 776 ?? Ss 23Jul04 1:38.28 /usr/sbin/cron
Why grep [c]ron when it's exactly equivalent to grep cron?
$ /usr/local/nagios/libexec/check_procs -w 1: -C cron
WARNING - 0 processes running with command name cron
What happens if you give /usr/sbin/cron as argument to the -C switch?
check_procs from nagios-plugins v1.3.1 and 1.4.0-alpha3 return the same
results for me.
--
Andreas Ericsson andreas.ericsson-n0Zl8IkGad4@xxxxxxxxxxxxxxxx
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Problem with check_procs on FreeBSD 5.2.1 & 5.3
Hi,
I've got a problem with the check_procs plugin on systems with FreeBSD
5.2.1 and 5.3:
$ /usr/local/nagios/libexec/check_procs
OK - 10 processes running
There are much more processes running than 10 running - the other
problem is:
$ ps auxw | grep [c]ron
root 419 0.0 0.3 1344 776 ?? Ss 23Jul04 1:38.28 /usr/sbin/cron
$ /usr/local/nagios/libexec/check_procs -w 1: -C cron
WARNING - 0 processes running with command name cron
check_procs from nagios-plugins v1.3.1 and 1.4.0-alpha3 return the same
results for me.
--
Greets,
Michael Bakker
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
Next Message by Date:
click to view message preview
RE: Problem with check_procs on FreeBSD 5.2.1 & 5.3
Michael,
What is the output from check_procs -v -v -v ?
Also, what is the ps command in config.h? If this ps command is not the best
one to run for FreeBSD, can you suggest an alternative?
Ton
-----Original Message-----
From: Michael Bakker [mailto:michael-o7tR/nIX9VhNDPpjycvLNg@xxxxxxxxxxxxxxxx]
Sent: 16 December 2004 14:27
To: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
Subject: [Nagiosplug-help] Problem with check_procs on FreeBSD 5.2.1 & 5.3
Hi,
I've got a problem with the check_procs plugin on systems with FreeBSD 5.2.1
and 5.3:
$ /usr/local/nagios/libexec/check_procs
OK - 10 processes running
There are much more processes running than 10 running - the other problem
is:
$ ps auxw | grep [c]ron
root 419 0.0 0.3 1344 776 ?? Ss 23Jul04 1:38.28 /usr/sbin/cron
$ /usr/local/nagios/libexec/check_procs -w 1: -C cron
WARNING - 0 processes running with command name cron
check_procs from nagios-plugins v1.3.1 and 1.4.0-alpha3 return the same
results for me.
--
Greets,
Michael Bakker
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-----------------------------------------
This private and confidential e-mail has been sent to you by Egg. The Egg
group of companies includes Egg Banking plc registered no. 2999842), Egg
Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
(registered no. 3403963) which is authorised and regulated by the Financial
Services Authority. Egg Investments Ltd. is entered in the FSA register
under number 190518. Registered in England and Wales. Registered
offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
are not the intended recipient of this e-mail and have received it in
error, please notify the sender by replying with 'received in error' as the
subject and then delete it from your mailbox.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
Previous Message by Thread:
click to view message preview
Problem with check_procs on FreeBSD 5.2.1 & 5.3
Hi,
I've got a problem with the check_procs plugin on systems with FreeBSD
5.2.1 and 5.3:
$ /usr/local/nagios/libexec/check_procs
OK - 10 processes running
There are much more processes running than 10 running - the other
problem is:
$ ps auxw | grep [c]ron
root 419 0.0 0.3 1344 776 ?? Ss 23Jul04 1:38.28 /usr/sbin/cron
$ /usr/local/nagios/libexec/check_procs -w 1: -C cron
WARNING - 0 processes running with command name cron
check_procs from nagios-plugins v1.3.1 and 1.4.0-alpha3 return the same
results for me.
--
Greets,
Michael Bakker
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
Next Message by Thread:
click to view message preview
Re: Problem with check_procs on FreeBSD 5.2.1 & 5.3
On Thu, Dec 16, 2004 at 03:46:31PM +0100, Andreas Ericsson wrote:
> Michael Bakker wrote:
> >Hi,
> >
> >I've got a problem with the check_procs plugin on systems with FreeBSD
> >5.2.1 and 5.3:
> >
> >$ /usr/local/nagios/libexec/check_procs
> >OK - 10 processes running
> >
> >There are much more processes running than 10 running - the other
> >problem is:
> >
> >$ ps auxw | grep [c]ron
> >root 419 0.0 0.3 1344 776 ?? Ss 23Jul04 1:38.28
> >/usr/sbin/cron
>
> Why grep [c]ron when it's exactly equivalent to grep cron?
This [] is a nice trick so you won't see the grep process greping itself
:)
> >$ /usr/local/nagios/libexec/check_procs -w 1: -C cron
> >WARNING - 0 processes running with command name cron
> >
>
> What happens if you give /usr/sbin/cron as argument to the -C switch?
$ /usr/local/nagios/libexec/check_procs -w 1: -C /usr/sbin/cron
WARNING - 0 processes running with command name /usr/sbin/cron
> >check_procs from nagios-plugins v1.3.1 and 1.4.0-alpha3 return the same
> >results for me.
> >
>
> --
> Andreas Ericsson
> andreas.ericsson-n0Zl8IkGad4@xxxxxxxxxxxxxxxx
> OP5 AB www.op5.se
> Lead Developer
>
--
Greets,
Michael Bakker
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null