[Nagiosplug-help] NO SERVICE NOTIFICATION

YEONG, Kin Meng [Gordon] gordon_yeong at astro.com.my
Tue Dec 10 01:53:02 CET 2002


hello,Pascal,
  I figured certain things out.
The problem here is that with the "Sendmsg" syntax, it's written by someone
else in my company who poked his itchy fingers into my linux server. Hence,
I have that problem I told you as I have always been importing my *.cfg
files from one NAgios Installation to another.

  Anyway, I got that problem cleared out but deleting the line ,
"event_handler senderrmsg" in the services.cfg file.

 However, I notice that NAGIOS now successfully sends warnings about HOST
problems but not about SERVICES problems. 

For example, 
     I have 4 servers that are currently down right now(really!). I don't
get any emails from NAGIOS about the PING SERVICES that failed on all 4
servers. I only get the emails for the HOST DOWN status...

please advice,Pascal. Merci.

Regards,
 Kin Meng.
 (GORDON YEONG)
 Systems Analyst,
 Application Systems, IT Services Division
 MEASAT Broadcast Networks Systems Sdn Bhd
 Tel: (603) 9543-6688 (ext. 8106)
 
   Log on to www.astro.com.my


-----Original Message-----
From: nagiosplug-help-request at lists.sourceforge.net
[mailto:nagiosplug-help-request at lists.sourceforge.net]
Sent: Tuesday, December 10, 2002 4:29 AM
To: nagiosplug-help at lists.sourceforge.net
Subject: Nagiosplug-help digest, Vol 1 #141 - 10 msgs


Send Nagiosplug-help mailing list submissions to
	nagiosplug-help at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
or, via email, send a message with subject or body 'help' to
	nagiosplug-help-request at lists.sourceforge.net

You can reach the person managing the list at
	nagiosplug-help-admin at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagiosplug-help digest..."


Today's Topics:

   1. RE: Compiling check_radius (Pascal Wessel)
   2. check-radius and attributes (Giuliano Zorzi)
   3. Check-all script (jesper at rooth.com)
   4. SENDMSG (YEONG, Kin Meng [Gordon])
   5. Re: SENDMSG (Pascal Miquet)
   6. RE: check-radius and attributes (Pascal Wessel)
   7. Slight OT - Fan / Temp monitoring of NT hardware... (Michael
Kingsbury)
   8. RE: Slight OT - Fan / Temp monitoring of NT har
       dware... (Chris Losch)
   9. Re: check_dig SEGV. (Peter Radcliffe)

--__--__--

Message: 1
From: "Pascal Wessel" <pascal.wessel at media-online.ch>
To: "'Chris Dos'" <chris at chrisdos.com>,
	<nagiosplug-help at lists.sourceforge.net>
Subject: RE: [Nagiosplug-help] Compiling check_radius
Date: Mon, 9 Dec 2002 07:34:28 +0100

RH 7.3 ... Well, I don't run RH anymore. I switched to Debian (years
ago) and Mandrake ("new" happy user).

But, anyway, on Mandrake I installed the following (from RPM) in order
to have check_radius compiling and working:

[check_radius]# rpm -qa | grep radius
libradius0-0.3.2-1mdk
radiusclient-utils-0.3.2-1mdk
libradius0-devel-0.3.2-1mdk

As you can see, I have also libradius0-devel installed. I tought it was
better to have it (header files, etc...) in order to compile.

Hope it helps.
Pascal


-----Original Message-----
From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] On Behalf Of Chris
Dos
Sent: samedi, 7. d=E9cembre 2002 04:42
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] Compiling check_radius


I can't for the life of me to get configure pick up that radiusclient=20
libraries.  I've installed radiusclient from rpm, compiled it from=20
source and anything else I could think of.  How do I tell configure to=20
pick up the radiusclients files that it needs and build the Makefile so=20
it will build radiusclient?  I'm building on RedHat 7.3.  Thanks for any

help regarding this.

	Chris



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagiosplug-help mailing list Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help



--__--__--

Message: 2
From: Giuliano Zorzi <g.zorzi at tecom.it>
To: nagios plugins <nagiosplug-help at lists.sourceforge.net>
Organization: Tecom
Date: 09 Dec 2002 08:08:23 +0100
Subject: [Nagiosplug-help] check-radius and attributes

Hi
 currently check_radius sends User-Name and Password attributes to the
radius server. I need it to send the NAS-IP-Address too. I tried hacking
the sources, but I got only a segmantation fault :-( Is it possible to
send this attribute too (via external file or parameter) or simply use
the radiusclient instead of the check-radius ?

Thanks in advance

Giuliano



--__--__--

Message: 3
Date: Mon, 09 Dec 2002 08:17:48 GMT
To: nagiosplug-help at lists.sourceforge.net
From: jesper at rooth.com
Subject: [Nagiosplug-help] Check-all script

Hi! 

I'm about to move from our BMC Patrol enviroment to Nagios. We have 
about 600 Solaris (Sparc) 
machines and I wonder if it's possible to run this enviroment with 
active checks (with NRPE) with 
one monitor server.

With the host checks and service checks (about 5-10 per machine) we 
would get about 5000 NRPE
requests. If we would like to check CPU load serval times per hour we 
would get a huge scheduling
queue on the Nagios server.

Now to the questions/(solutions)! :)

1) Is it ok to run tests such as CPU load, swap, disk usage as 
passive checks. Would this make
    the queue on the server faster/more efficiant?

2) If we run a distributed monitoring enviroment; do we have to 
configure the hosts and services on 
    the central server and in the check-only server?

3) To optimize the NRPE check procedure, would it be a good idea to 
make a "check-all" script?
    This script would include all the checks and write a error 
message only for the service down.
    The script would check cpu load, swap, memory usage, disk usage, 
etc. 

Best regards
Jesper Rooth


--__--__--

Message: 4
From: "YEONG, Kin Meng [Gordon]" <gordon_yeong at astro.com.my>
To: nagiosplug-help at lists.sourceforge.net
Date: Mon, 9 Dec 2002 17:33:07 +0800 
Subject: [Nagiosplug-help] SENDMSG

Hi,all,
 I've got NAGIOS running pretty well. Need to ask a question regarding the
"sendmsg" plugin which is supposed to be in the "libexec" directory. I
notice that my new installation of NAGIOS doesn't send mails out and from
the log file(nagios.log), NAGIOS isn't able to send mails out because
"sendmsg" is not available in the "libexec" directory.
I have installed many versions of the plugins in the NAGIOS webpage but it
hasn't been successful.
please help.

Regards,
Gordon Yeong.


--__--__--

Message: 5
Subject: Re: [Nagiosplug-help] SENDMSG
From: "Pascal Miquet" <p.miquet at hafiba.fr>
To: "YEONG Kin Meng   ""[Gordon]" <gordon_yeong at astro.com.my>
Cc: Nagios Plugin Help <nagiosplug-help at lists.sourceforge.net>
Date: 09 Dec 2002 10:52:15 +0100

Hi,

I understand that your nagios server isn't able to send notifications
via an Email ?
Note that mails are sent by the command /bin/mail, and this feature is
managed into the misccommands.cfg file.

What you can first try, is to manually send an Email to your contact,
and see if this works. If no mail are received, may be you should
configure your MTA, certainly sendmail, to see what happend.

HTH
Regards
PM

Le lun 09/12/2002 =C3=A0 10:33, YEONG, Kin Meng [Gordon] a =C3=A9crit :
> Hi,all,
>  I've got NAGIOS running pretty well. Need to ask a question regarding th=
e
> "sendmsg" plugin which is supposed to be in the "libexec" directory. I
> notice that my new installation of NAGIOS doesn't send mails out and from
> the log file(nagios.log), NAGIOS isn't able to send mails out because
> "sendmsg" is not available in the "libexec" directory.
> I have installed many versions of the plugins in the NAGIOS webpage but i=
t
> hasn't been successful.
> please help.
>=20
> Regards,
> Gordon Yeong.
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help




--__--__--

Message: 6
From: "Pascal Wessel" <pascal.wessel at media-online.ch>
To: "'Giuliano Zorzi'" <g.zorzi at tecom.it>,
	"'nagios plugins'" <nagiosplug-help at lists.sourceforge.net>
Subject: RE: [Nagiosplug-help] check-radius and attributes
Date: Mon, 9 Dec 2002 12:48:05 +0100


Well... Not sure it will help you...

Below is my check_radius settings

Add this in ../etc/checkcommands.cfg
#
#   Get tarball nagios Contrib plugins and compile check_radius.
#   Make sure you installed libradius-client and libradius-devel, needed
to compile this stuff.
#
define command {
command_name                    check_radius
command_line                   $USER1$/check_radius $ARG1$ $ARG2$
$HOSTADDRESS$ $ARG3$ $ARG4$
}

Add this into ../etc/services.cfg

define service {
use                            generic-service          ; Name of
service template to use
host_name                      radius-server-name
service_description            RADIUS
is_volatile                    0
check_period                   24x7
max_check_attempts             3
contact_groups                 linux-admins
notification_interval          120
notification_period            24x7
notification_options           c,r
check_command
check_radius!myuser at mydomain.org!mypasswd!1812!secretkey
}

You problem is that you need to pass more parms than checkcommands.cfg
radius config allows...
Well, just add more $ARGn$ ???

Let's see how check_radius is compiled:
../libexec/check_radius --help
Usage: ./check_radius username passwd servername nas_port_id secretkey
[ppphint] [nasname]

Hum... Username is $ARG1$, password is $ARG2$, forget $HOSTADDRESS$
which is passed by the services.cfg config,
Radius Auth port is $ARG3$, the secret key is $ARG4$.

What about the [ppphint] stuff?=20
Well, just bypass it with quotes. At the command line try:
./check_radius username passwd servername nas_port_id secretkey ''
your-nas-name,
And look at the radius server log to see if it works. (Works here on my
configured radius and Nagios boxes).

If so, try to modify your checkcommands radius config like that:
$USER1$/check_radius $ARG1$ $ARG2$ $HOSTADDRESS$ $ARG3$ $ARG4$ $ARG5$
$ARG6$
   $ARG5$ would be the [ppphint]
   $ARG6$ would be the nas name.
And do not forget to modify services.cfg as well:
check_command
check_radius!myuser at mydomain.org!mypasswd!1812!secretkey!''!nas-name
Or even
check_command
check_radius!myuser at mydomain.org!mypasswd!1812!secretkey!!nas-name
Sorry I can't test the latest hack myself, I have only one nagios
instance running and I can't afford to have down time recorded for this
customer service.

Godd luck and have a nice day.
Pascal



-----Original Message-----
From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] On Behalf Of
Giuliano Zorzi
Sent: lundi, 9. d=E9cembre 2002 08:08
To: nagios plugins
Subject: [Nagiosplug-help] check-radius and attributes


Hi
 currently check_radius sends User-Name and Password attributes to the
radius server. I need it to send the NAS-IP-Address too. I tried hacking
the sources, but I got only a segmantation fault :-( Is it possible to
send this attribute too (via external file or parameter) or simply use
the radiusclient instead of the check-radius ?

Thanks in advance

Giuliano



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagiosplug-help mailing list Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help



--__--__--

Message: 7
Date: Mon, 9 Dec 2002 11:55:12 -0500
From: "Michael Kingsbury" <beaker at beakerware.net>
To: <nagiosplug-help at lists.sourceforge.net>
Subject: [Nagiosplug-help] Slight OT - Fan / Temp monitoring of NT
hardware...

This is a multi-part message in MIME format.

------_=_NextPart_001_01C29FA3.BD52CF10
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

    Anyone find a decent way of getting MB & CPU temperature & fan
status?  I can do it from Linux with sensors, but haven't found a way of
getting to it from NT/2k/XP...
=20
-mike

------_=_NextPart_001_01C29FA3.BD52CF10
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 5.50.4725.2100" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D897595216-09122002><FONT face=3DArial =
size=3D2>   =20
Anyone find a decent way of getting MB & CPU temperature & fan=20
status?  I can do it from Linux with sensors, but haven't found a =
way of=20
getting to it from NT/2k/XP...</FONT></SPAN></DIV>
<DIV><SPAN class=3D897595216-09122002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D897595216-09122002><FONT face=3DArial=20
size=3D2>-mike</FONT></SPAN></DIV></BODY></HTML>
=00
------_=_NextPart_001_01C29FA3.BD52CF10--


--__--__--

Message: 8
From: Chris Losch <Chris.Losch at newham.gov.uk>
To: 'Michael Kingsbury' <beaker at beakerware.net>
Cc: "'nagiosplug-help at lists.sourceforge.net'"
	 <nagiosplug-help at lists.sourceforge.net>
Subject: RE: [Nagiosplug-help] Slight OT - Fan / Temp monitoring of NT har
	dware...
Date: Mon, 9 Dec 2002 17:23:35 -0000 

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C29FA7.B462E4D0
Content-Type: text/plain; charset="iso-8859-1"

It depends on your hardware, and how it reports, 
 
The SNMP plugin on Compaq Servers - with the Management Agents installed -
can do it via SNMP, and I presume with other major hardware manufacturers
can do it also.
 
Get a SIDWalker to check the SNMP information available to you.
 
For Compaq : The OID .1.3.6.1.4.1.232.6.2.x should get you started in the
right place.
 
1.3.6.1.4.1.232.6.2.6.4.0 is a fan status for instance.
 
There is a web page with a lot of information, but i cant remember the name
right now, it appeared in a nagios mailing list previously, so you could do
a search.
 
Chris

-----Original Message-----
From: Michael Kingsbury [mailto:beaker at beakerware.net]
Sent: 09 December 2002 16:55
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] Slight OT - Fan / Temp monitoring of NT
hardware...


    Anyone find a decent way of getting MB & CPU temperature & fan status?
I can do it from Linux with sensors, but haven't found a way of getting to
it from NT/2k/XP...
 
-mike



**********************************************************************
Important:
This e-mail is intended for the above named person only and should be
treated as confidential. If this has come to you in error you should take
no action based on it, nor should you copy or show it to anyone; 
please telephone us immediately.
**********************************************************************


------_=_NextPart_001_01C29FA7.B462E4D0
Content-Type: text/html; charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff size=2>It

depends on your hardware, and how it reports, </FONT></SPAN></DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff
size=2>The 
SNMP plugin on Compaq Servers - with the Management Agents installed - can
do 
it via SNMP<FONT face=Arial color=#0000ff size=2></FONT>, and I presume

with other major hardware manufacturers can do it also.</FONT></SPAN></DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff
size=2>Get a 
SIDWalker to check the SNMP information available to
you.</FONT></SPAN></DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff
size=2>For 
Compaq : The OID .1.3.6.1.4.1.232.6.2.x should get you started in the right 
place.</FONT></SPAN></DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff 
size=2>1.3.6.1.4.1.232.6.2.6.4.0 is a fan status for 
instance.</FONT></SPAN></DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff
size=2>There 
is a web page with a lot of information, but i cant remember the name right
now, 
it appeared in a nagios mailing list previously, so you could do a 
search.</FONT></SPAN></DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031581017-09122002><FONT face=Arial color=#0000ff 
size=2>Chris</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Michael Kingsbury 
  [mailto:beaker at beakerware.net]<BR><B>Sent:</B> 09 December 2002 
  16:55<BR><B>To:</B>
nagiosplug-help at lists.sourceforge.net<BR><B>Subject:</B> 
  [Nagiosplug-help] Slight OT - Fan / Temp monitoring of NT 
  hardware...<BR><BR></FONT></DIV>
  <DIV><SPAN class=897595216-09122002><FONT face=Arial
size=2>    
  Anyone find a decent way of getting MB & CPU temperature & fan 
  status?  I can do it from Linux with sensors, but haven't found a way
of 
  getting to it from NT/2k/XP...</FONT></SPAN></DIV>
  <DIV><SPAN class=897595216-09122002><FONT face=Arial 
  size=2></FONT></SPAN> </DIV>
  <DIV><SPAN class=897595216-09122002><FONT face=Arial 
  size=2>-mike</FONT></SPAN></DIV></BLOCKQUOTE><CODE><FONT SIZE=3><BR>
<BR>
**********************************************************************<BR>
Important:<BR>
This e-mail is intended for the above named person only and should be<BR>
treated as confidential. If this has come to you in error you should
take<BR>
no action based on it, nor should you copy or show it to anyone; <BR>
please telephone us immediately.<BR>
**********************************************************************<BR>
</FONT></CODE>
</BODY></HTML>

------_=_NextPart_001_01C29FA7.B462E4D0--


--__--__--

Message: 9
Date: Mon, 9 Dec 2002 13:11:52 -0500
From: Peter Radcliffe <pir at pir.net>
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] check_dig SEGV.

Karl DeBisschop <karl at debisschop.net> probably said:
> Found it.
> Fixed in CVS.
> I'll go kick off another snapshot now so testing should be pretty easy.

Now that I'm back from vacation I've tested the new snapshot and it
seems to work as expected. Thanks !

> Thanks for the bug report and the continued testing.

Welcome. I've also got a patch I was working on (and have just updated
to patch against 1.7) to add checking for authorative responses (I
need to check that my auth machines are actually being authorative)
and making a particular type of query. It's available from;

  http://www.net.tufts.edu/~pir/check_dig.c-1.7p1.patch

Thanks,
P.

-- 
pir                pir-sig at pir.net                 pir-sig at net.tufts.edu




--__--__--

_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help


End of Nagiosplug-help Digest




More information about the Help mailing list