Nagios-users digest, Vol 1 #2774 - 11 msgs
Ravi Kumar
ravikmrs at yahoo.com
Fri Aug 26 18:55:36 CEST 2005
I'm getting error message "UNKNOWN;HARD;5;No perf-definition for service" after configuring new linux box.Please advice
nagios-users-request at lists.sourceforge.net wrote:Send Nagios-users mailing list submissions to
nagios-users at lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
nagios-users-request at lists.sourceforge.net
You can reach the person managing the list at
nagios-users-admin at lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagios-users digest..."
Today's Topics:
1. RE: check_nt configuration (Lori Adams)
2. RE: check_nt configuration (Jon)
3. Need Help (Chandresh Suthar)
4. Help Desk Software (nuffers at tsainc.com)
5. RE: more - remote nagios server report to main (Marc Powell)
6. Re: Help Desk Software (Bobby Bradshaw)
7. RE: Help Desk Software (Millard, Matt)
8. RE: Need Help (Marc Powell)
9. RE: RE: Host check behavior (Marc Powell)
10. Re: Need Help (Subhendu Ghosh)
11. Checking Tomcat 5.5 with the check_http plugin (Dixie Peterson)
--__--__--
Message: 1
Subject: RE: [Nagios-users] check_nt configuration
Date: Thu, 25 Aug 2005 11:30:26 -0700
From: "Lori Adams"
To: "dan dang" ,
Did you follow everything that was mentioned in the Bobby Bradshaw
thread? =20
Do you have nsclient (Nagios Agent) running on your remote machine? =20
-Lori
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of dan dang
> Sent: Thursday, August 25, 2005 12:54 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_nt configuration
>=20
> hi all,
>=20
> I have the same problem as Bobby Bradshaw (from whom I quoted the
message
> below) :
> My Nagios setup is:
> Nagios v1.3 (October 24, 2004)
> Nagios plugins v1.4.1
>=20
> I have Nagios running correctly, sending notifications, checking ping
and
> HTTP on several hosts. BUT I have exactly the same problem as Bobby
> Bradshaw which is the fact that I can't get Nagios to run "./check_nt
-H
> 192.168.1.111 -v UPTIME" command without getting a "CRITICAL - Socket
> timeout after 10 seconds" error or any of the check_nt commands
without an
> error. I have the Nsclient 2.01 on my Windows NT host.
>=20
> The error I have is the fact that the system doesn't find the check_nt
> service BUT I have installed it in the /usr/local/nagios/libexec/
file, in
> fact in my case I changed the path to /usr/lib/nagios/plugins/ since
it's
> where the services are located in my configuration.
>=20
> I have exactly the same question as Bobby Brawn : Is there better
> documentation than what is provided with Nsclient? Can I get some
pointers
> on ALL the cfg files that I have to edit to get the check_nt command
to
> work.
> Bobby Bradshaw, I saw that u solved your problem, can u tell how did u
do
> ? If anyone has an idea, please advise. Thanks in advance !!
>=20
> Quoc-Dan DANG
>=20
>=20
> NB: I have edited the "checkcommands.cfg" file by adding the following
> lines :
>=20
>=20
> # 'check_nt_disk' command definition
> define command{
> command_name check_nt_disk
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
USEDDISKSPACE
> -l $ARG1$ -w $ARG2$ -c $ARG3$
> }
>=20
>=20
> # 'check_nt_upload' command definition
> define command {
> command_name check_nt_cpuload
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD
-l
> $ARG1$
> }
>=20
>=20
> # 'check_nt_uptime' command definition
> define command {
> command_name check_nt_uptime
> command_line $USER1$/check_nt #-H $HOSTADDRESS$ -p 1248 -v UPTIME
> }
I see that you have the above line with a comment. This will make it
hard to run correctly. Also have you tried -p 1250 as suggested in the
Bobby Bradshaw thread. =20
> # 'check_nt_clientversion' command definition
> define command {
> command_name check_nt_clientversion
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
> CLIENTVERSION
> }
>=20
>=20
> # 'check_nt_process' command definition
> define command {
> command_name check_nt_process
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
PROCSTATE -l
> $ARG1$
> }
>=20
>=20
> # 'check_nt_service' command definition
> define command{
> command_name check_nt_service
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
SERVICESTATE -d
> SHOWALL -l $ARG1$
> }
>=20
>=20
> # 'check_nt_memuse' command definition
> define command{
> command_name check_nt_memuse
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w
> $ARG1$ -c $ARG2$
> }
>=20
>=20
> # 'check_nt_fileage' command definition
> define command{
> command_name check_nt_fileage
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l
> $ARG1$ -w $ARG2$ -c $ARG3$
> }
>=20
>=20
> # 'check_nt_pagingfile' command definition
> define command{
> command_name check_nt_pagingfile
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l
> "\\Paging File(_Total)\\%% Usage","Paging File usage
is
> %.2f %%" -w $ARG1$ -c $ARG2$
> }
>=20
>=20
>=20
>=20
> QUOTE from Bobby Bradshaw who had the same problem as I currently have
:
>=20
> "From: nagios-users-admin at li... on
> > behalf
> > > of
> > > >>Bobby Bradshaw
> > > >>Sent: Fri 8/19/2005 2:43 PM
> > > >>To: nagios-users at li...
> > > >>Subject: [Nagios-users] check_nt configurations/setup
> > > >>
> > > >>
> > > >>Hi all,
> > > >>
> > > >>My Nagios setup is:
> > > >>Suse 9.3 Professional
> > > >>Nagios v1.2
> > > >>Nagios plugins v1.4
> > > >>Nagios nrpe v2.0
> > > >>
> > > >>I have Nagios running correctly, sending notifications, checking
> ping
> > and
> > > >>HTTP on several hosts. Although, I am having so much trouble
trying
> to
> > > get
> > > >>Nagios to run "./check_nt -H 192.168.1.111 -v UPTIME" command
> without
> > > >>getting a "CRITICAL - Socket timeout after 10 seconds" error or
any
> of
> > the
> > > >>check_nt commands without an error. I have the Nsclient 2.01 on
my
> > > Windows
> > > >>XP host. Is there better documentation than what is provided
with
> > > Nsclient?
> > > >> Can I get some pointers on ALL the cfg files that I have to
edit to
> get
> > > the
> > > >>check_nt command to work.
> > > >>
> > > >>Thanks in advance!
> > > >>
> > > >>--
> > > >>Bobby Bradshaw, Jr.
> > > >>bobby.bradshaw at gm...
> > > >
> > > >
> > > >
> > >
> > > --
> > > Andreas Ericsson andreas.ericsson at op...
> > > OP5 AB http://www.op5.se
>
> > > Lead Developer
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> > Practices
> > > Agile & Plan-Driven Development * Managing Projects & Teams *
Testing
> & QA
> > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at li...
> > > 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
> > >
> > >
> >
> >
> > --
> > Bobby Bradshaw, Jr.
> > bobby.bradshaw at gm ...
> >
> >
>=20
>=20
> --
> Bobby Bradshaw, Jr.
> bobby.bradshaw at gm...
>=20
>=20
>=20
> From: Bobby Bradshaw
> Re: check_nt configurations/setup
>
> 2005-08-22 08:18
> Found it. Thank you guys very much.
>=20
> Much appreciated
>=20
--__--__--
Message: 2
From: "Jon"
To: "Nagios-Users"
Subject: RE: [Nagios-users] check_nt configuration
Date: Thu, 25 Aug 2005 14:45:40 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0022_01C5A983.AF035BD0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi,
Since you mentioned that you have installed the plugins in a different
location, did you make change to the $USER1$ variable to point it to the
correct location? To set the variable $USER1$ to /usr/lib/nagios/plugins/
you need to edit the resource.cfg.
You can also try executing the command to see if it actually works. Just go
to where the check_nt is located and run it. That would eliminate a few
things.
HTH,
Jon
_____
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of dan dang
Sent: Thursday, August 25, 2005 3:54 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_nt configuration
hi all,
I have the same problem as Bobby Bradshaw (from whom I quoted the message
below) :
My Nagios setup is:
Nagios v1.3 (October 24, 2004)
Nagios plugins v1.4.1
I have Nagios running correctly, sending notifications, checking ping and
HTTP on several hosts. BUT I have exactly the same problem as Bobby Bradshaw
which is the fact that I can't get Nagios to run "./check_nt -H
192.168.1.111 -v UPTIME" command without getting a "CRITICAL - Socket
timeout after 10 seconds" error or any of the check_nt commands without an
error. I have the Nsclient 2.01 on my Windows NT host.
The error I have is the fact that the system doesn't find the check_nt
service BUT I have installed it in the /usr/local/nagios/libexec/ file, in
fact in my case I changed the path to /usr/lib/nagios/plugins/ since it's
where the services are located in my configuration.
I have exactly the same question as Bobby Brawn : Is there better
documentation than what is provided with Nsclient? Can I get some pointers
on ALL the cfg files that I have to edit to get the check_nt command to
work.
Bobby Bradshaw, I saw that u solved your problem, can u tell how did u do ?
If anyone has an idea, please advise. Thanks in advance !!
Quoc-Dan DANG
NB: I have edited the "checkcommands.cfg" file by adding the following lines
:
# 'check_nt_disk' command definition
define command{
command_name check_nt_disk
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l
$ARG1$ -w $ARG2$ -c $ARG3$
}
# 'check_nt_upload' command definition
define command {
command_name check_nt_cpuload
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l
$ARG1$
}
# 'check_nt_uptime' command definition
define command {
command_name check_nt_uptime
command_line $USER1$/check_nt #-H $HOSTADDRESS$ -p 1248 -v UPTIME
}
# 'check_nt_clientversion' command definition
define command {
command_name check_nt_clientversion
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION
}
# 'check_nt_process' command definition
define command {
command_name check_nt_process
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l
$ARG1$
}
# 'check_nt_service' command definition
define command{
command_name check_nt_service
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d
SHOWALL -l $ARG1$
}
# 'check_nt_memuse' command definition
define command{
command_name check_nt_memuse
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$
-c $ARG2$
}
# 'check_nt_fileage' command definition
define command{
command_name check_nt_fileage
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$
-w $ARG2$ -c $ARG3$
}
# 'check_nt_pagingfile' command definition
define command{
command_name check_nt_pagingfile
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l
"\\Paging File(_Total)\\%% Usage","Paging File usage is
%.2f %%" -w $ARG1$ -c $ARG2$
}
QUOTE from Bobby Bradshaw who had the same problem as I currently have :
"From: nagios-users-admin at li... on
> behalf
> > of
> > >>Bobby Bradshaw
> > >>Sent: Fri 8/19/2005 2:43 PM
> > >>To: nagios-users at li...
> > >>Subject: [Nagios-users] check_nt configurations/setup
> > >>
> > >>
> > >>Hi all,
> > >>
> > >>My Nagios setup is:
> > >>Suse 9.3 Professional
> > >>Nagios v1.2
> > >>Nagios plugins v1.4
> > >>Nagios nrpe v2.0
> > >>
> > >>I have Nagios running correctly, sending notifications, checking ping
> and
> > >>HTTP on several hosts. Although, I am having so much trouble trying
to
> > get
> > >>Nagios to run "./check_nt -H 192.168.1.111 -v UPTIME" command without
> > >>getting a "CRITICAL - Socket timeout after 10 seconds" error or any of
> the
> > >>check_nt commands without an error. I have the Nsclient 2.01 on my
> > Windows
> > >>XP host. Is there better documentation than what is provided with
> > Nsclient?
> > >> Can I get some pointers on ALL the cfg files that I have to edit to
get
> > the
> > >>check_nt command to work.
> > >>
> > >>Thanks in advance!
> > >>
> > >>--
> > >>Bobby Bradshaw, Jr.
> > >>bobby.bradshaw at gm...
> > >
> > >
> > >
> >
> > --
> > Andreas Ericsson andreas.ericsson at op...
> > OP5 AB http://www.op5.se
> > Lead Developer
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
QA
> > Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at li...
> > 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
> >
> >
>
>
> --
> Bobby Bradshaw, Jr.
> bobby.bradshaw at gm ...
>
>
--
Bobby Bradshaw, Jr.
bobby.bradshaw at gm...
From: Bobby Bradshaw
Re:
check_nt configurations/setup
2005-08-22 08:18
Found it. Thank you guys very much.
Much appreciated
------=_NextPart_000_0022_01C5A983.AF035BD0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
charset=3Dus-ascii">
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"State"/>
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"City"/>
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
st1\:*{behavior:url(#default#ieooui) }
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
pre
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:701705761;
mso-list-template-ids:-1480584024;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Hi,
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Since you mentioned that you have
installed the plugins in a different location, did you make change to =
the
$USER1$ variable to point it to the correct location? To set the =
variable
$USER1$ to /usr/lib/nagios/plugins/ you need to edit the =
resource.cfg.
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>You can also try executing the =
command to
see if it actually works. Just go to where the check_nt is located =
and run it.
That would eliminate a few things.
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>HTH,
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Jon
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>
size=3D3
face=3D"Times New Roman">
---------------------------------
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:size=3D2
face=3DTahoma> =
nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] style=3D'font-weight:
bold'>On Behalf Of dan dang
Sent: Thursday, August =
25, 2005
3:54 AM
To:
nagios-users at lists.sourceforge.net
Subject: [Nagios-users] =
check_nt
configuration
style=3D'font-size:
12.0pt'>
style=3D'font-size:
12.0pt'>hi all,
style=3D'font-size:
12.0pt'>
style=3D'font-size:
12.0pt'>I have the same problem as Bobby Bradshaw (from whom I =
quoted the
message below) :
style=3D'font-size:
12.0pt'>My Nagios setup is:
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050826/1ff59097/attachment.html>
More information about the Users
mailing list