Re: [Nagios-users] r...@walkermartyn.co.uk - Re: NRPE/NSClient++ CheckCPU Error? - Email found in subject

2012-01-30 Thread Matthew Jurgens


On 31/01/2012 3:57 AM, Robert Jackson wrote:


I'm trying out check_wmi_plus at the moment. I've got some basic tests 
working from a command line (namely checkuptime, checkmem and 
checkdrivesize). All well and good. However my problems start when I 
try to run checkcpu within a Nagios environment -- "UNKNOWN - 
Permission denied when trying to store the state data. Sometimes this 
happens if you have been testing the plugin from the command line as a 
different user to the Nagios process user." is being displayed. It 
works just fine from a command line.




The error message for that problem is very explicit.
The rest of the that message that you didn't paste into your message 
tells you what you need to do

It will say something along the lines of:

"You will need to change the permissions on the file or remove it. The 
actual error text is: Can't create /tmp/cwpss_checkcpu_.state"


Do what it says and you should be ok

Also I can't for the life of me get the checkts --s sessions(2003) 
working at all "WARNING: Could not correctly parse "customfield" 
definition in ini file:  (for checkts sessions2003)" is being displayed.




Something might not be quite right with the ini files you have. Try this -
1) Try downloading them again, try the command again
2) Remove the ini files one at time, running the command after each 
removal until the error goes away. Leave check_wmi_plus.ini to last as 
that is the one that contains the checkts checks. This should identify 
which one has the error.

3) Zip/tar them up and send them to me

--
Smartmon System Monitoring 
www.smartmon.com.au 
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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_Ping plugin not Incrementing Check Attempt Value

2012-01-30 Thread Robert V. Bolton
On Mon, Jan 30, 2012 at 11:39 AM, Claudio Kuenzler
wrote:

> It looks like you use parent-child-relationships?
> That would explain why it's written "Host Unreachable (172.21.10.170) "
> instead of Host Down.
> Was the parent of this host down as well? In this case, Nagios 'knows'
> that it doesn't make sense to continue checks on the child hosts.
>

This host is duel homed using both Ethernet and Infiniband networks. To
Nagios's point of view the parent of this host is the Ethernet switch that
it is plugged into, which didn't go down at all during this outage. Host
Unreachable is a valid ICMP code, so that's why the plugin reported this
error, not because of any Nagios parent/child relationship.

So in this situation Nagios should have increased the check attempts count
by one until the max check attempts threshold was reached, thus sending out
a service notification. Is this an error in Nagios or the check_ping
plugin. I'm using Nagios v3.2.3 and check_ping v1.4.15 by the way.

--
*Robert V. Bolton*
Email: rob...@robertvbolton.com
Web: http://robertvbolton.com
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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_Ping plugin not Incrementing Check Attempt Value

2012-01-30 Thread Claudio Kuenzler
It looks like you use parent-child-relationships?
That would explain why it's written "Host Unreachable (172.21.10.170) "
instead of Host Down.
Was the parent of this host down as well? In this case, Nagios 'knows' that
it doesn't make sense to continue checks on the child hosts.

On Mon, Jan 30, 2012 at 7:24 PM, Robert V. Bolton
wrote:

> Over the weekend I had a weird event happen in my monitoring set. I have a
> host that has an Infiniband interface, and we are running the IP protocol
> over Infiniband, while using the check_ping plugin to verify network
> connectivity. This weekend our Ethernet to Infiniband gateway went down and
> the check_ping plugin reported that state as CRITICAL, however the it
> didn't increment the check attempt value, and thus a notification wasn't
> sent out since the max check attempts threshold was never reached. I've
> included some of the output of /var/log/messages that indicates the
> problem. Has anyone else seen this issue? As a side note I've since changed
> my service check to use check_icmp instead of check_ping.
>
> Jan 28 17:12:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:13:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:14:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:15:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
>
> Jan 28 17:42:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:43:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:44:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:47:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:48:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:49:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 17:50:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
>
> Jan 28 18:31:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 18:32:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 18:33:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
>
> Jan 28 18:42:23 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 18:43:23 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 18:44:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
> Jan 28 18:45:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
> IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
> (172.21.10.170)
>
>
> --
> *Robert V. Bolton*
> Email: rob...@robertvbolton.com
> Web: http://robertvbolton.com
>
>
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> 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
>
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, 

[Nagios-users] Check_Ping plugin not Incrementing Check Attempt Value

2012-01-30 Thread Robert V. Bolton
Over the weekend I had a weird event happen in my monitoring set. I have a
host that has an Infiniband interface, and we are running the IP protocol
over Infiniband, while using the check_ping plugin to verify network
connectivity. This weekend our Ethernet to Infiniband gateway went down and
the check_ping plugin reported that state as CRITICAL, however the it
didn't increment the check attempt value, and thus a notification wasn't
sent out since the max check attempts threshold was never reached. I've
included some of the output of /var/log/messages that indicates the
problem. Has anyone else seen this issue? As a side note I've since changed
my service check to use check_icmp instead of check_ping.

Jan 28 17:12:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:13:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:14:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:15:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)

Jan 28 17:42:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:43:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:44:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:47:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:48:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:49:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 17:50:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)

Jan 28 18:31:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 18:32:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 18:33:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)

Jan 28 18:42:23 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 18:43:23 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 18:44:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)
Jan 28 18:45:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4
IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable
(172.21.10.170)


--
*Robert V. Bolton*
Email: rob...@robertvbolton.com
Web: http://robertvbolton.com
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] Different notification intervals for WARNING and CRITICAL

2012-01-30 Thread John Kennedy
On Mon, Jan 30, 2012 at 16:47, Andreas Ericsson  wrote:

> On 01/30/2012 05:18 PM, John Kennedy wrote:
> > I have tried to Google and look at docs but think my brain is
> > deserting me...I am relatively new to Nagios, very new to
> > GroundWork.
> >
> > Is it possible to set up a plugin to send email at different
> > intervals for warning and critical alerts. For example, a file system
> > is 90% full, triggering a WARNING email. Since there is still time, I
> > would like this email every hour. Once the filesystem is 95% full,
> > triggering a CRITICAL email, I would like the notification sent every
> > 10 minutes.
> >
>
> Will you look at your mail more often if you get one new mail every 10
> minutes, or do you expect your admins to react faster if you present
> them with buggerware?
>
> I think I know one or two installations where they've really sat down
> and thought about it and then figured out that more than one notification
> to the same person per problem is what they need.
>
> --
> Andreas Ericsson   andreas.erics...@op5.se
> OP5 AB www.op5.se
> Tel: +46 8-230225  Fax: +46 8-230231
>
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.
>

Andreas,
The timings are hypothetical (although, as it stands now, some WARNINGS are
coming every 10 minutes...I want to convince my boss that it is too often).
Having too many notifications is often times worse than not having any at
all...If my boss REALLY wants the 10 minute emails, then I would like it to
be only for CRITICAL problems...
Thanks,
John
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] r...@walkermartyn.co.uk - Re: NRPE/NSClient++ CheckCPU Error? - Email found in subject

2012-01-30 Thread Robert Jackson
I'm trying out check_wmi_plus at the moment. I've got some basic tests
working from a command line (namely checkuptime, checkmem and
checkdrivesize). All well and good. However my problems start when I try
to run checkcpu within a Nagios environment - "UNKNOWN - Permission
denied when trying to store the state data. Sometimes this happens if
you have been testing the plugin from the command line as a different
user to the Nagio process user." is being displayed. It works just fine
from a command line.  Also I can't for the life of me get the checkts -s
sessions(2003) working at all "WARNING: Could not correctly parse
"customfield" definition in ini file:  (for checkts sessions2003)" is
being displayed.







Regards,

Rab.

=

Robert Jackson  Phone: +44 (0) 141 332
7999

IT Manager   Fax: +44 (0) 141
331 2820

Walker Martyn Ltd

1 Park Circus PlaceEmail:
r...@walkermartyn.co.uk 

Glasgow G3 6AH, Scotland   Web:
http://www.walkermartyn.co.uk 

=







From: Matthew Jurgens [mailto:nagiosus...@edcint.co.nz]
Sent: Monday 30 January 2012 11:06
To: Nagios Users List
Cc: Robert Jackson
Subject: r...@walkermartyn.co.uk - Re: [Nagios-users] NRPE/NSClient++
CheckCPU Error? - Email found in subject



You might like to try

www.edcint.co.nz/checkwmiplus

On 30/01/2012 9:07 PM, Robert Jackson wrote:

Why does the NSClient++ command CheckCPU always sit as a critical
condition within Nagios? The command I have in place is:



$USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$
crit=$ARG2$ time=5m



$ARG1$ is set to 80%  and $ARG2$ is set to 95% (have tried with and
without % symbol)



The output display in Nagios is: CRITICAL: 5m: average load 15% >
critical



Anyone have any ideas why this is generating a critical condition?



Regards,

Rab.

=

Robert Jackson  Phone: +44 (0) 141 332
7999

IT Manager   Fax: +44 (0) 141
331 2820

Walker Martyn Ltd

1 Park Circus PlaceEmail:
r...@walkermartyn.co.uk 

Glasgow G3 6AH, Scotland   Web:
http://www.walkermartyn.co.uk 

=



--
Smartmon System Monitoring 
www.smartmon.com.au





The information in this internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Walker Martyn Ltd or any of its affiliates. If you are not the
intended recipient please contact  administra...@walkermartyn.co.uk

Walker Martyn Ltd, company number SC197533. Company is
registered in Scotland and has its registered office at 1 Park
Circus Place, Glasgow G3 6AH, UK.




--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] Different notification intervals for WARNING and CRITICAL

2012-01-30 Thread Andreas Ericsson
On 01/30/2012 05:18 PM, John Kennedy wrote:
> I have tried to Google and look at docs but think my brain is
> deserting me...I am relatively new to Nagios, very new to
> GroundWork.
> 
> Is it possible to set up a plugin to send email at different
> intervals for warning and critical alerts. For example, a file system
> is 90% full, triggering a WARNING email. Since there is still time, I
> would like this email every hour. Once the filesystem is 95% full,
> triggering a CRITICAL email, I would like the notification sent every
> 10 minutes.
> 

Will you look at your mail more often if you get one new mail every 10
minutes, or do you expect your admins to react faster if you present
them with buggerware?

I think I know one or two installations where they've really sat down
and thought about it and then figured out that more than one notification
to the same person per problem is what they need.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] Different notification intervals for WARNING and CRITICAL

2012-01-30 Thread John Kennedy
I have tried to Google and look at docs but think my brain is deserting
me...I am relatively new to Nagios, very new to GroundWork.

Is it possible to set up a plugin to send email at different intervals for
warning and critical alerts.
For example, a file system is 90% full, triggering a WARNING email. Since
there is still time, I would like this email every hour. Once the
filesystem is 95% full, triggering a CRITICAL email, I would like the
notification sent every 10 minutes.

We are using Nagios 3.0.6 on RHEL 5.7 with GroundWork Community Edition
5.3.0.

Thanks,
John

John Kennedy
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] AUTO: Eliot Picken is out of the office (returning 10/02/2012)

2012-01-30 Thread Eliot Picken

I am out of the office until 10/02/2012.

I am currently out of the office on leave, and your email has not been
forwarded.

For emergency issues, please contact Alex Lawrie on +44 (0) 1224 894 000
otherwise I will respond to your email upon my return







Note: This is an automated response to your message  "Re: [Nagios-users]
NRPE/NSClient++ CheckCPU Error?" sent on 1/30/2012 12:51:49 PM.

This is the only notification you will receive while this person is away.


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] NRPE/NSClient++ CheckCPU Error?

2012-01-30 Thread Claudio Kuenzler
In the NSClient++ documentation, CheckCPU works with normal integers as
thresholds (so no %-sign required).

As an alternative, you can also check the CPU Utilization with the
NSClientListener/check_nt plugin:
http://nsclient.org/nscp/wiki/NSClientListener

I use this way of checking the cpu loads/percentages for several hundreds
of Windows servers and it works just fine.

On Mon, Jan 30, 2012 at 12:06 PM, Matthew Jurgens
wrote:

>  You might like to try
>
> www.edcint.co.nz/checkwmiplus
>
>
> On 30/01/2012 9:07 PM, Robert Jackson wrote:
>
>  Why does the NSClient++ command CheckCPU always sit as a critical
> condition within Nagios? The command I have in place is:
>
> ** **
>
> $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ crit=$ARG2$
> time=5m
>
> ** **
>
> $ARG1$ is set to 80%  and $ARG2$ is set to 95% (have tried with and
> without % symbol)
>
> ** **
>
> The output display in Nagios is: CRITICAL: 5m: average load 15% > critical
> 
>
> ** **
>
> Anyone have any ideas why this is generating a critical condition?
>
> ** **
>
> Regards,
>
> Rab.
>
> =
>
> Robert Jackson  Phone: +44 (0) 141 332 7999
> 
>
> IT Manager   Fax: +44 (0) 141 331
> 2820
>
> Walker Martyn Ltd
>
> 1 Park Circus PlaceEmail:
> r...@walkermartyn.co.uk
>
> Glasgow G3 6AH, Scotland   Web:
> http://www.walkermartyn.co.uk
>
> =
>
>
> --
>  Smartmon System Monitoring 
> www.smartmon.com.au
>
>
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> 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
>
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] NRPE/NSClient++ CheckCPU Error?

2012-01-30 Thread Matthew Jurgens

You might like to try

www.edcint.co.nz/checkwmiplus

On 30/01/2012 9:07 PM, Robert Jackson wrote:


Why does the NSClient++ command CheckCPU always sit as a critical 
condition within Nagios? The command I have in place is:


$USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ 
crit=$ARG2$ time=5m


$ARG1$ is set to 80%  and $ARG2$ is set to 95% (have tried with and 
without % symbol)


The output display in Nagios is: CRITICAL: 5m: average load 15% > critical

Anyone have any ideas why this is generating a critical condition?

Regards,

Rab.

=

Robert Jackson  Phone: +44 (0) 141 332 
7999


IT Manager   Fax: +44 (0) 141 
331 2820


Walker Martyn Ltd

1 Park Circus PlaceEmail: 
r...@walkermartyn.co.uk 


Glasgow G3 6AH, Scotland   Web: 
http://www.walkermartyn.co.uk 


=



--
Smartmon System Monitoring 
www.smartmon.com.au 
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] NRPE/NSClient++ CheckCPU Error?

2012-01-30 Thread Robert Jackson
Why does the NSClient++ command CheckCPU always sit as a critical
condition within Nagios? The command I have in place is:



$USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$
crit=$ARG2$ time=5m



$ARG1$ is set to 80%  and $ARG2$ is set to 95% (have tried with and
without % symbol)



The output display in Nagios is: CRITICAL: 5m: average load 15% >
critical



Anyone have any ideas why this is generating a critical condition?



Regards,

Rab.

=

Robert Jackson  Phone: +44 (0) 141 332
7999

IT Manager   Fax: +44 (0) 141
331 2820

Walker Martyn Ltd

1 Park Circus PlaceEmail:
r...@walkermartyn.co.uk 

Glasgow G3 6AH, Scotland   Web:
http://www.walkermartyn.co.uk 

=







The information in this internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Walker Martyn Ltd or any of its affiliates. If you are not the
intended recipient please contact  administra...@walkermartyn.co.uk

Walker Martyn Ltd, company number SC197533. Company is
registered in Scotland and has its registered office at 1 Park
Circus Place, Glasgow G3 6AH, UK.




--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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