Problems with Nagios

Asaf Rapoport arapoport at telepacific.com
Sat Apr 19 18:53:09 CEST 2003


# service nagios start
Starting network monitor: nagios
No lock file found in /usr/local/nagios/var/nagios.lock

Anyone?

-----Original Message-----
From: nagios-users-request at lists.sourceforge.net
[mailto:nagios-users-request at lists.sourceforge.net]
Sent: Friday, April 18, 2003 1:09 PM
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users digest, Vol 1 #1425 - 21 msgs


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. SV: [Nagios-users] check_real: what does it really do? and is it
enough? (Magnus.M.Glantz at telia.se)
   2. Re: web application monitoring - windows authentication (Atul
Shrivastava)
   3. Re: Pop Up Alerts (=?iso-8859-1?q?Steve=20Dussaux?=)
   4. Notifications only get to certain email accounts (NOC at eiiecomm.com)
   5. Configuring nrpe (Jeff Lane)
   6. Re: Configuring nrpe (Subhendu Ghosh)
   7. Mail FROM field needs to be changed (Val Vechnyak)
   8. CGI trouble (Frank Gadot)
   9. Re: CGI trouble (Lionel.Ostric at arm.com)
  10. Notifications only get to certain email accounts
(Mike.Hall at eiiecomm.com)
  11. RE: Mail FROM field needs to be changed (Carroll, Jim P [Contractor])
  12. RE: Notifications only get to certain email accounts (Marc Powell)
  13. acknowledgements in config files (Mark Natoli)
  14. RE: Mail FROM field needs to be changed (Val Vechnyak)
  15. Configuring still (Jeff Lane)
  16. Re: Configuring nrpe (Subhendu Ghosh)
  17. Re: Re: Configuring nrpe (Jeff Lane)
  18. RE: acknowledgements in config files (Carroll, Jim P [Contractor])
  19. RE: Mail FROM field needs to be changed (Carroll, Jim P [Contractor])
  20. incredible disappearing host (Mitchell K. Smith)
  21. Re: incredible disappearing host (Marc Powell)

--__--__--

Message: 1
Subject: SV: [Nagios-users] check_real: what does it really do? and is it
enough?
Date: Fri, 18 Apr 2003 09:54:45 +0200
From: <Magnus.M.Glantz at telia.se>
To: <David at feedroom.com>
Cc: <nagios-users at lists.sourceforge.net>

My $0.05.
$USER1$/check_tcp -H $HOSTADDRESS$ -p 1755 -w $ARG1$ -c $ARG2$
=20
It checks that you can make a TCP connection to the Windows Media =
Streaming server.
=20
I think that writing a decent plug-in for Windows Media would be very =
difficult, cause the MMS protocoll is 'closed' and heavily copywrited.
=20
I guess that if someone managed to write a plug-in and implement the =
protocoll, it couldnt not be published without payin' some heavy dues to =
Microsoft, and that plug-in could not be OpenSource.
=20
I guess that if someone figured out what to send and what to expect as =
answere, you could use the check_tcp plugin -s and/or -e switches..
=20
Cheers,
//Magnus Glantz

	-----Ursprungligt meddelande-----=20
	Fr=E5n: David Gitman [mailto:David at feedroom.com]=20
	Skickat: to 2003-04-17 17:02=20
	Till: Glantz, Magnus M. /Communications /070-211 99 22, 070-211 99
22=20
	Kopia: nagios-users at lists.sourceforge.net=20
	=C4mne: RE: [Nagios-users] check_real: what does it really do? and
is =
it enough?
=09
=09

	Has anyone written a plug-in for Windows Media 9 Streaming?
=09
	[-d]
=09
	-----Original Message-----
	From: Magnus.M.Glantz at telia.se [mailto:Magnus.M.Glantz at telia.se]
	Sent: Tuesday, April 15, 2003 7:01 PM
	To: David Gitman
	Cc: nagios-users at lists.sourceforge.net
=09
	Well, I'm drawing the conclusion after talking with some streaming =
specialists that sending a DESCRIBE method to the streaming server =
should do the trick.
=09
	A successful try indicates that you got a two-way connection to/from
=
the server, the file you're searching for (on, for example an ondemand =
server) exists, and the server can send you a description of the file.
=09
	The people I've talked to cannot see any problems that should hinder
an =
actual stream from taking place after the server successfully answered =
to the DESCRIBE method.
=09
	Though, I'm still doing some research on this. I'll prolly know in =
acouple of days, should this not be the case.
=09
	I'll send a mail to the list, when I know more. :-)
=09
	Cheers,
	//Magnus Glantz
=09
=09
	        -----Ursprungligt meddelande-----
	        Fr=E5n: David Gitman [mailto:David at feedroom.com]
	        Skickat: ti 2003-04-15 19:45
	        Till: Magnus Glantz
	        Kopia:
	        =C4mne: RE: [Nagios-users] check_real: what does it really
do? =
and is it enough?
	      =20
	      =20
=09
	        Have you found out anything?
=09
	       =20
=09
	        [-d]
=09
	      =20
	  _____=20
=09
=09
	        From: Magnus Glantz [mailto:magnus at hacka.net]
	        Sent: Friday, April 11, 2003 2:33 PM
	        To: nagios-users at lists.sourceforge.net
=09
	       =20
=09
	        I'm trying to figure out what exactly the check_real plugin
=
checks.. using the -url option, does it actually start a stream with the =
server? Or does it only check if the .rm file is there and reachable? If =
check_real only checks for a description of the file, is it enough to =
say that the service is OK?
=09
	       =20
=09
	        I dumped the conversation (tcpdump -X) while doing:
=09
	        ./check_real -H host -u /url/file.rm
=09
	       =20
=09
	        I'm not 100% sure what happens..
=09
	        Though.. I've been able to understand some stuff..
=09
	       =20
=09
	        ( I've had some help interpeting the packets from the RTSP
RFC.
=09
	        http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 )
=09
	       =20
=09
	       =20
=09
	        16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P =
1:36(35) ack 1 win 5840 <nop,nop,timestamp 293933168 2773241811> (DF)
	        0x0000   4500 0057 a274 4000 4006 4bd5 c2ec e2e9        =
E..W.t at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b21d 7381 de14        =
.C.=3D...*P...s...
	        0x0020   8018 16d0 04f6 0000 0101 080a 1185 1070        =
...............p
	        0x0030   a54c 4fd3 4f50 5449 4f4e 5320 7274 7370        =
.LO.OPTIONS.rtsp
	        0x0040   3a2f 2f28 6e75 6c6c 293a 3535 3420 5254        =
://(null):554.RT
	        0x0050   5350                                           SP
=09
	       =20
=09
	        Above.. the Nagios server asks the real server for the =
available methods. (PLAY PAUSE etc..)
=09
	       =20
=09
	       =20
=09
	        16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P =
45:102(57) ack 270 win 6432 <nop,nop,timestamp 293933175 2773241817> =
(DF)
	        0x0000   4500 006d a277 4000 4006 4bbc c2ec e2e9        =
E..m.w at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b249 7381 df21        =
.C.=3D...*P..Is..!
	        0x0020   8018 1920 0dac 0000 0101 080a 1185 1077        =
...............w
	        0x0030   a54c 4fd9 4445 5343 5249 4245 2072 7473        =
.LO.DESCRIBE.rts
	        0x0040   703a 2f2f 286e 756c 6c29 3a35 3534 2f74        =
p://(null):554/t
	        0x0050   692f                                           i/
=09
	       =20
=09
	        Above..  check_real asks the real-server of a description of
=
the file.
=09
	       =20
=09
	        16:59:51.276763 streaming-server.rtsp > netsaint.37062: P =
4614:5232(618) ack 111 win 33304 <nop,nop,timestamp 2773241837 =
293933187> (DF)
	        0x0000   4500 029e 1e46 4000 3906 d4bc c343 e33d        =
E....F at .9....C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 f019 50ff b28b        =
.....*..s...P...
	        0x0020   8018 8218 a8af 0000 0101 080a a54c 4fed        =
.............LO.
	        0x0030   1185 1083 7468 203c 2032 3630 3030 292c        =
....th.<.26000),
	        0x0040   4176 6572 6167 6542 616e 6477 6964 7468        =
AverageBandwidth
	        0x0050   3d31                                           =3D1
=09
	       =20
=09
	        After this Nagios (the Netsaint host) sends win 0, and =
finilizes the connection.
=09
	       =20
=09
	        Now, the question is.. what did the check_real plugin test?
=
That you can get an description of a file on the server?
=09
	        The author of the plug-in writes in his source code =
(check_real.c).
=09
	        ----------------snip-------------
=09
	         /* Part II - Check stream exists and is ok */
	                if ((result =3D=3D STATE_OK) && (server_url !=3D
NULL)) =
{
=09
	       =20
=09
	                        /* Part I - Server Check */
=09
	       =20
=09
	                        /* send the OPTIONS request */
	                        sprintf (buffer, "DESCRIBE rtsp://%s:%d%s =
RTSP/1.0\n", host_name,
	
server_port, =
server_url);
	                        result =3D send (sd, buffer, strlen
(buffer), =
0);
=09
	       =20
=09
	                        /* send the header sync */
	                        sprintf (buffer, "CSeq: 2\n");
	                        result =3D send (sd, buffer, strlen
(buffer), =
0);
=09
	       =20
=09
	                        /* send a newline so the server knows we're
=
done with the request */
	                        sprintf (buffer, "\n");
	                        result =3D send (sd, buffer, strlen
(buffer), =
0);
	        ----------------snip-------------
=09
	       =20
=09
	        DESCRIBE seems to be the last actuall command that the =
check_real plugin send to the server.
=09
	        But I could be wrong.. please check for yourselfs.
=09
	       =20
=09
	        An actual stream is from what I can tell, not initialized..
=09
	        Though, if the server give an description of the file (the =
description comes from the file itself) I guess a stream should
=09
	        be able to be initialized.. but.. then again, I'm no TCP/IP
or =
RTSP expert.
=09
	       =20
=09
	       =20
=09
	        Full dump of "check_real -H hostname -u /url/file.rm"
below..
=09
	       =20
=09
	        Hope you can shed some light upon this..
=09
	        Cheers,
=09
	        //Magnus Glantz
=09
	       =20
=09
	       =20
=09
	       =20
=09
	        16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp:
S =
1358934556:1358934556(0) win 5840 <mss 1460,sackOK,timestamp 293933166 =
0,nop,wscale 0> (DF)
	        0x0000   4500 003c a272 4000 4006 4bf2 c2ec e2e9        =
E..<.r at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b21c 0000 0000        =
.C.=3D...*P.......
	        0x0020   a002 16d0 2ce0 0000 0204 05b4 0402 080a        =
....,...........
	        0x0030   1185 106e 0000 0000 0103 0300                  =
...n........
=09
	       =20
=09
	        16:59:50.696763 streaming-server.rtsp > netsaint.37062: S =
1937890835:1937890835(0) ack 1358934557 win 33304 <nop,nop,timestamp =
2773241811 293933166,nop,wscale 0,nop,nop,sackOK,mss 1460> (DF)
	        0x0000   4500 0040 1e3f 4000 3906 d721 c343 e33d        =
E.. at .?@.9..!.C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 de13 50ff b21d        =
.....*..s...P...
	        0x0020   b012 8218 68cb 0000 0101 080a a54c 4fd3        =
....h........LO.
	        0x0030   1185 106e 0103 0300 0101 0402 0204 05b4        =
...n............
=09
	       =20
=09
	        16:59:50.696763 netsaint.37062 > streaming-server.rtsp: .
ack 1 =
win 5840 <nop,nop,timestamp 293933168 2773241811> (DF)
	        0x0000   4500 0034 a273 4000 4006 4bf9 c2ec e2e9        =
E..4.s at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b21d 7381 de14        =
.C.=3D...*P...s...
	        0x0020   8010 16d0 14dd 0000 0101 080a 1185 1070        =
...............p
	        0x0030   a54c 4fd3                                      .LO.
=09
	       =20
=09
	        16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P =
1:36(35) ack 1 win 5840 <nop,nop,timestamp 293933168 2773241811> (DF)
	        0x0000   4500 0057 a274 4000 4006 4bd5 c2ec e2e9        =
E..W.t at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b21d 7381 de14        =
.C.=3D...*P...s...
	        0x0020   8018 16d0 04f6 0000 0101 080a 1185 1070        =
...............p
	        0x0030   a54c 4fd3 4f50 5449 4f4e 5320 7274 7370        =
.LO.OPTIONS.rtsp
	        0x0040   3a2f 2f28 6e75 6c6c 293a 3535 3420 5254        =
://(null):554.RT
	        0x0050   5350                                           SP
=09
	       =20
=09
	        16:59:50.726763 streaming-server.rtsp > netsaint.37062: .
ack =
36 win 33304 <nop,nop,timestamp 2773241814 293933168> (DF)
	        0x0000   4500 0034 1e40 4000 3906 d72c c343 e33d        =
E..4.@@.9..,.C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 de14 50ff b240        =
.....*..s...P..@
	        0x0020   8010 8218 a96e 0000 0101 080a a54c 4fd6        =
.....n.......LO.
	        0x0030   1185 1070                                      ...p
=09
	       =20
=09
	        16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P =
36:45(9) ack 1 win 5840 <nop,nop,timestamp 293933171 2773241814> (DF)
	        0x0000   4500 003d a275 4000 4006 4bee c2ec e2e9        =
E..=3D.u at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b240 7381 de14        =
.C.=3D...*P.. at s...
	        0x0020   8018 16d0 f6b3 0000 0101 080a 1185 1073        =
...............s
	        0x0030   a54c 4fd6 4353 6571 3a20 310a 0a               =
.LO.CSeq:.1..
=09
	       =20
=09
	        16:59:50.766763 streaming-server.rtsp > netsaint.37062: P =
1:270(269) ack 45 win 33304 <nop,nop,timestamp 2773241817 293933171> =
(DF)
	        0x0000   4500 0141 1e41 4000 3906 d61e c343 e33d        =
E..A.A at .9....C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 de14 50ff b249        =
.....*..s...P..I
	        0x0020   8018 8218 1a2f 0000 0101 080a a54c 4fd9        =
...../.......LO.
	        0x0030   1185 1073 5254 5350 2f31 2e30 2032 3030        =
...sRTSP/1.0.200
	        0x0040   204f 4b0d 0a43 5365 713a 2031 0d0a 4461        =
.OK..CSeq:.1..Da
	        0x0050   7465                                           te
=09
	       =20
=09
	        16:59:50.766763 netsaint.37062 > streaming-server.rtsp: .
ack =
270 win 6432 <nop,nop,timestamp 293933175 2773241817> (DF)
	        0x0000   4500 0034 a276 4000 4006 4bf6 c2ec e2e9        =
E..4.v at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b249 7381 df21        =
.C.=3D...*P..Is..!
	        0x0020   8010 1920 1147 0000 0101 080a 1185 1077        =
.....G.........w
	        0x0030   a54c 4fd9                                      .LO.
=09
	       =20
=09
	        16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P =
45:102(57) ack 270 win 6432 <nop,nop,timestamp 293933175 2773241817> =
(DF)
	        0x0000   4500 006d a277 4000 4006 4bbc c2ec e2e9        =
E..m.w at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b249 7381 df21        =
.C.=3D...*P..Is..!
	        0x0020   8018 1920 0dac 0000 0101 080a 1185 1077        =
...............w
	        0x0030   a54c 4fd9 4445 5343 5249 4245 2072 7473        =
.LO.DESCRIBE.rts
	        0x0040   703a 2f2f 286e 756c 6c29 3a35 3534 2f74        =
p://(null):554/t
	        0x0050   692f                                           i/
=09
	       =20
=09
	        16:59:50.886763 streaming-server.rtsp > netsaint.37062: .
ack =
102 win 33304 <nop,nop,timestamp 2773241831 293933175> (DF)
	        0x0000   4500 0034 1e42 4000 3906 d72a c343 e33d        =
E..4.B at .9..*.C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 df21 50ff b282        =
.....*..s..!P...
	        0x0020   8010 8218 a807 0000 0101 080a a54c 4fe7        =
.............LO.
	        0x0030   1185 1077                                      ...w
=09
	       =20
=09
	        16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P =
102:111(9) ack 270 win 6432 <nop,nop,timestamp 293933187 2773241831> =
(DF)
	        0x0000   4500 003d a278 4000 4006 4beb c2ec e2e9        =
E..=3D.x at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b282 7381 df21        =
.C.=3D...*P...s..!
	        0x0020   8018 1920 f1f3 0000 0101 080a 1185 1083        =
................
	        0x0030   a54c 4fe7 4353 6571 3a20 320a 0a               =
.LO.CSeq:.2..
=09
	       =20
=09
	        16:59:51.046763 streaming-server.rtsp > netsaint.37062: . =
270:1718(1448) ack 111 win 33304 <nop,nop,timestamp 2773241837 =
293933187> (DF)
	        0x0000   4500 05dc 1e43 4000 3906 d181 c343 e33d        =
E....C at .9....C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 df21 50ff b28b        =
.....*..s..!P...
	        0x0020   8010 8218 3fd8 0000 0101 080a a54c 4fed        =
....?........LO.
	        0x0030   1185 1083 5254 5350 2f31 2e30 2032 3030        =
....RTSP/1.0.200
	        0x0040   204f 4b0d 0a43 5365 713a 2032 0d0a 4461        =
.OK..CSeq:.2..Da
	        0x0050   7465                                           te
=09
	       =20
=09
	        16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R =
111:111(0) ack 1718 win 8688 <nop,nop,timestamp 293933203 2773241837> =
(DF)
	        0x0000   4500 0034 a279 4000 4006 4bf3 c2ec e2e9        =
E..4.y at .@.K.....
	        0x0010   c343 e33d 90c6 022a 50ff b28b 7381 e4c9        =
.C.=3D...*P...s...
	        0x0020   8014 21f0 0259 0000 0101 080a 1185 1093        =
..!..Y..........
	        0x0030   a54c 4fed                                      .LO.
=09
	       =20
=09
	        16:59:51.136763 streaming-server.rtsp > netsaint.37062: P =
1718:3166(1448) ack 111 win 33304 <nop,nop,timestamp 2773241837 =
293933187> (DF)
	        0x0000   4500 05dc 1e44 4000 3906 d180 c343 e33d        =
E....D at .9....C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b        =
.....*..s...P...
	        0x0020   8018 8218 6d86 0000 0101 080a a54c 4fed        =
....m........LO.
	        0x0030   1185 1083 300a 613d 5374 6172 7454 696d        =
....0.a=3DStartTim
	        0x0040   653a 696e 7465 6765 723b 300a 613d 4176        =
e:integer;0.a=3DAv
	        0x0050   6742                                           gB
=09
	       =20
=09
	        16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R =
1358934667:1358934667(0) win 0 (DF)
	        0x0000   4500 0028 0000 4000 ff06 2f78 c2ec e2e9        =
E..(.. at .../x....
	        0x0010   c343 e33d 90c6 022a 50ff b28b 0000 0000        =
.C.=3D...*P.......
	        0x0020   5004 0000 cd0d 0000                            =
P.......
=09
	       =20
=09
	        16:59:51.236763 streaming-server.rtsp > netsaint.37062: . =
3166:4614(1448) ack 111 win 33304 <nop,nop,timestamp 2773241837 =
293933187> (DF)
	        0x0000   4500 05dc 1e45 4000 3906 d17f c343 e33d        =
E....E at .9....C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 ea71 50ff b28b        =
.....*..s..qP...
	        0x0020   8010 8218 97b0 0000 0101 080a a54c 4fed        =
.............LO.
	        0x0030   1185 1083 696e 7465 6765 723b 3131 3739        =
....integer;1179
	        0x0040   3538 0a61 3d45 6e64 4f6e 6552 756c 6545        =
58.a=3DEndOneRuleE
	        0x0050   6e64                                           nd
=09
	       =20
=09
	        16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R =
1358934667:1358934667(0) win 0 (DF)
	        0x0000   4500 0028 0000 4000 ff06 2f78 c2ec e2e9        =
E..(.. at .../x....
	        0x0010   c343 e33d 90c6 022a 50ff b28b 0000 0000        =
.C.=3D...*P.......
	        0x0020   5004 0000 cd0d 0000                            =
P.......
=09
	       =20
=09
	        16:59:51.276763 streaming-server.rtsp > netsaint.37062: P =
4614:5232(618) ack 111 win 33304 <nop,nop,timestamp 2773241837 =
293933187> (DF)
	        0x0000   4500 029e 1e46 4000 3906 d4bc c343 e33d        =
E....F at .9....C.=3D
	        0x0010   c2ec e2e9 022a 90c6 7381 f019 50ff b28b        =
.....*..s...P...
	        0x0020   8018 8218 a8af 0000 0101 080a a54c 4fed        =
.............LO.
	        0x0030   1185 1083 7468 203c 2032 3630 3030 292c        =
....th.<.26000),
	        0x0040   4176 6572 6167 6542 616e 6477 6964 7468        =
AverageBandwidth
	        0x0050   3d31                                           =3D1
=09
	       =20
=09
	        16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R =
1358934667:1358934667(0) win 0 (DF)
	        0x0000   4500 0028 0000 4000 ff06 2f78 c2ec e2e9        =
E..(.. at .../x....
	        0x0010   c343 e33d 90c6 022a 50ff b28b 0000 0000        =
.C.=3D...*P.......
	        0x0020   5004 0000 cd0d 0000                            =
P.......
=09
	       =20
=09
=09



--__--__--

Message: 2
Date: Fri, 18 Apr 2003 10:20:53 +0530 (IST)
From: Atul Shrivastava <atulsh at hclinsys.com>
To: sakrafd <sakrafd at yahoo.com>
cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] web application monitoring - windows
authentication

Hello,

You can do it by this command:

./check_tcp -H HostIP -p 80

This 80 port is used if you are using the default web service else you
have to specify the respective port.
This you can check from the command prompt and then use the check_tcp
command with the argument as:

check_tcp!80!warning!critical


Regards,

Atul

On Thu, 17 Apr 2003, sakrafd wrote:

> 
> Hi,
> 
> I am trying to set up nagios to monitor a web application that is located
in a different windows domain on an intranet. The IIS5 server the
application runs on does not allow anonymous or basic authentication access
- all users have do have specific ACL's to view the site (a windows
challenge/response prompt pops up in IE when first attempting to hit the
app). Is it possible to monitor this type of application with nagios? If so,
how? If not, does anyone know of a free monitoring tool that will?
> 
> Thanks in advance,
> 
> Dave
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.

-- 

Regards and have a nice day,
                           Atul Shrivastava
	                   Info Structure Services
       		           HCL INFOSYSTEMS LTD.
               		   E - 4,5,6 Sector XI,
                	   Noida - 201301
       		           Tel: 91-120-2526910,2443013




 
 




--__--__--

Message: 3
Date: Fri, 18 Apr 2003 13:51:02 +0200 (CEST)
From: =?iso-8859-1?q?Steve=20Dussaux?= <stevox2000 at yahoo.com>
Subject: Re: [Nagios-users] Pop Up Alerts
To: chbaker at powersystems.rockwell.com, nagios-users at lists.sourceforge.net

If the Nagios operator is under Microsoft OS you can send Winpopup by using
smbclient.

Steve


 --- chbaker at powersystems.rockwell.com a ecrit : > I think I know the answer
to this, but just to
be sure I'll ask. Does
> nagios
> have any JavaScript popups to alert an operator of a problem?
> 
> Charles H. Baker
> chbaker at powersystems dot rockwell dot com
> work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302
> BOFH excuse #426:
> internet is needed to catch the etherbunny
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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 

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en francais !
Yahoo! Mail : http://fr.mail.yahoo.com


--__--__--

Message: 4
From: NOC at eiiecomm.com
To: nagios-users at lists.sourceforge.net
Date: Fri, 18 Apr 2003 09:43:17 -0400
Subject: [Nagios-users] Notifications only get to certain email accounts

Hi all,
I am having trouble figuring out why notifications get to my yahoo email 
but, don't get to my Road Runner email. I get notifications on my ATT cell 
phone but, can't get them at my corporate email through Lotus notes. Does 
anyone have suggestions on how I might remedy this issue? 

Nagios is sending notification perfectly but, it appears that certain 
email servers do not all the three section domain name. 

ie; nagios at hostname.domainname.com

Any help would be greatly appreciated

Mike Hall


--__--__--

Message: 5
Date: Fri, 18 Apr 2003 10:13:42 -0400
From: Jeff Lane <crash at pinehurst.net>
To:  nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Configuring nrpe

Good morning all...

I need a little help in configureing a check for nrpe... the one thing 
that has me stumped is how to check a process that is started by /bin/sh

specifically mysqld.

I have tried the following in nrpe.cfg:

command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
'/bin/sh /usr/bin/safe_mysqld'
command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
"/bin/sh /usr/bin/safe_mysqld"
command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
`/bin/sh /usr/bin/safe_mysqld`
command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
/usr/bin/safe_mysqld
command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
/bin/sh\ /usr/bin/safe_mysqld

and none of these worked...

here is what mysql looks like to ps:


28887 ?        S      0:00 /bin/sh /usr/bin/safe_mysqld 
--defaults-file=/etc/my.
28914 ?        S      0:00  \_ /usr/libexec/mysqld 
--defaults-file=/etc/my.cnf -
28916 ?        S      0:16      \_ /usr/libexec/mysqld 
--defaults-file=/etc/my.c
28917 ?        S      1:29          \_ /usr/libexec/mysqld 
--defaults-file=/etc/

I have even tried it wiht the child process names as well...

since this is a server that is constantly tweaked, just using the 
process number would be futile, as it changes at least once a week... 
so could someone point me in the right direction to getting this checked???

Thanks!
Jeff


-- 
Jeffrey Lane
ConnectNC.com / Internet of the Sandhills
W4KDH at arrl.net

chown -r us:us /yourbase/




--__--__--

Message: 6
Date: Fri, 18 Apr 2003 11:05:42 -0400 (EDT)
From: Subhendu Ghosh <sghosh at sghosh.org>
Subject: Re: [Nagios-users] Configuring nrpe
To: nagios-users at lists.sourceforge.net


You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld"

note the ps on the command line probably has different defaults than ps in 
check_procs.  Take look at your config.h for PS_COMMAND.

-sg

On Fri, 18 Apr 2003, Jeff Lane wrote:

> Good morning all...
> 
> I need a little help in configureing a check for nrpe... the one thing 
> that has me stumped is how to check a process that is started by /bin/sh
> 
> specifically mysqld.
> 
> I have tried the following in nrpe.cfg:
> 
> command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
> '/bin/sh /usr/bin/safe_mysqld'
> command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
> "/bin/sh /usr/bin/safe_mysqld"
> command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
> `/bin/sh /usr/bin/safe_mysqld`
> command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
> /usr/bin/safe_mysqld
> command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C 
> /bin/sh\ /usr/bin/safe_mysqld
> 
> and none of these worked...
> 
> here is what mysql looks like to ps:
> 
> 
> 28887 ?        S      0:00 /bin/sh /usr/bin/safe_mysqld 
> --defaults-file=/etc/my.
> 28914 ?        S      0:00  \_ /usr/libexec/mysqld 
> --defaults-file=/etc/my.cnf -
> 28916 ?        S      0:16      \_ /usr/libexec/mysqld 
> --defaults-file=/etc/my.c
> 28917 ?        S      1:29          \_ /usr/libexec/mysqld 
> --defaults-file=/etc/
> 
> I have even tried it wiht the child process names as well...
> 
> since this is a server that is constantly tweaked, just using the 
> process number would be futile, as it changes at least once a week... 
> so could someone point me in the right direction to getting this
checked???
> 
> Thanks!
> Jeff
> 
> 
> 

-- 




--__--__--

Message: 7
From: "Val Vechnyak" <val at nycity.com>
To: <nagios-users at lists.sourceforge.net>
Date: Fri, 18 Apr 2003 11:14:55 -0400
Subject: [Nagios-users] Mail FROM field needs to be changed

This is a multi-part message in MIME format.

------=_NextPart_000_01F4_01C3059B.BD889320
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

 

I apologize if this was discussed already in this list, but since I just
signed up I did not know.

 

My problem is when nagios is sending email notifications it includes the
entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com).
There is no problem when I send an email using PINE from nagios user, so my
sendmail is configured properly.

 

This is a problem for me because some email servers lookup the MX record of
the domain name and refuse email if it does not match.

 

ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still
puts the hostname in the FROM field.

 

Could anyone tell me where I can configure it?

 

Thanks,

 

Val

 


------=_NextPart_000_01F4_01C3059B.BD889320
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* 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:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I apologize if this was discussed already in this =
list, but
since I just signed up I did not know.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>My problem is when nagios is sending email =
notifications it
includes the entire hostname in MAIL FROM field (i.e. <a
href=3D"mailto:nagios at hostname.domainname.com">nagios at hostname.domainname=
.com</a>).
There is no problem when I send an email using PINE from nagios user, so =
my sendmail
is configured properly.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>This is a problem for me because some email servers =
lookup
the MX record of the domain name and refuse email if it does not =
match.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>ADMINEMAIL in nagios.cfg is <a
href=3D"mailto:nagios at myrealdomainname.com">nagios at myrealdomainname.com</=
a>, but nagios
still puts the hostname in the FROM field.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Could anyone tell me where I can configure =
it?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Val</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>

</div>

</body>

</html>

------=_NextPart_000_01F4_01C3059B.BD889320--



--__--__--

Message: 8
From: Frank Gadot <frank.gadot at epscorp.com>
To: Nagios-Users <nagios-users at lists.sourceforge.net>
Organization: EPS
Date: 18 Apr 2003 12:41:42 -0400
Subject: [Nagios-users] CGI trouble

Hi all,

Can somebody tell me how come my CGIs do not find the libgd.so.2 library
? I have it on my computer, here is the output of the cgi when I run it
from the command line...


./trends.cgi: error while loading shared libraries: libgd.so.2: cannot
open shared object file: No such file or directory

thank you for your help



--__--__--

Message: 9
From: <Lionel.Ostric at arm.com>
Subject: Re: [Nagios-users] CGI trouble
To: Frank Gadot <frank.gadot at epscorp.com>
Cc: Nagios-Users <nagios-users at lists.sourceforge.net>,
        nagios-users-admin at lists.sourceforge.net
Date: Fri, 18 Apr 2003 18:55:24 +0200


You are missing two directives in your http.conf file which are :

PassEnv LD_LIBRARY_PATH
SetEnv LD_LIBRARY_PATH /usr/local/lib

to tell your cgis where to find the libs ....


----------------------------------------------------------------------------
----------

Lionel Ostric - Systems Administrator - Engineering IT
ARM France - Les Cardoulines B2 - Route des Dolines
Sophia Antipolis - 06560 Valbonne - France
+33 (0)4 97 23 51 22 / +33 (0)6 03 83 02 63


|---------+---------------------------------------->
|         |           Frank Gadot                  |
|         |           <frank.gadot at epscorp.com>    |
|         |           Sent by:                     |
|         |           nagios-users-admin at lists.sour|
|         |           ceforge.net                  |
|         |                                        |
|         |                                        |
|         |           18/04/2003 18:41             |
|         |                                        |
|---------+---------------------------------------->
 
>---------------------------------------------------------------------------
---------------------------------------------------|
  |
|
  |       To:       Nagios-Users <nagios-users at lists.sourceforge.net>
|
  |       cc:
|
  |       Subject:  [Nagios-users] CGI trouble
|
 
>---------------------------------------------------------------------------
---------------------------------------------------|




Hi all,

Can somebody tell me how come my CGIs do not find the libgd.so.2 library
? I have it on my computer, here is the output of the cgi when I run it
from the command line...


./trends.cgi: error while loading shared libraries: libgd.so.2: cannot
open shared object file: No such file or directory

thank you for your help



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at 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







--__--__--

Message: 10
To: nagios-users at lists.sourceforge.net
From: Mike.Hall at eiiecomm.com
Date: Fri, 18 Apr 2003 13:13:50 -0400
Subject: [Nagios-users] Notifications only get to certain email accounts

Hi all,
I am having trouble figuring out why notifications get to my yahoo email 
but, don't get to my Road Runner email. I get notifications on my ATT cell 
phone but, can't get them at my corporate email through Lotus notes. Does 
anyone have suggestions on how I might remedy this issue? 

Nagios is sending notification perfectly but, it appears that certain 
email servers do not all the three section domain name. 

ie; nagios at hostname.domainname.com

Any help would be greatly appreciated

Mike Hall


--__--__--

Message: 11
From: "Carroll, Jim P [Contractor]" <jcarro10 at sprintspectrum.com>
To: "'Val Vechnyak'" <val at nycity.com>, nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail FROM field needs to be changed
Date: Fri, 18 Apr 2003 12:22:33 -0500

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_01C305CF.195012E3
Content-Type: text/plain;
	charset="ISO-8859-1"

I'm not convinced that your sendmail config is blameless.  Try the
following:
 
# su - nagios
$ echo 'hello' | /usr/lib/sendmail val at nycity.com <mailto:val at nycity.com> 
 
Let us know what the FROM header looks like on the receiving end.
 
jc
 

-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 10:15 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Mail FROM field needs to be changed



Hello,

 

I apologize if this was discussed already in this list, but since I just
signed up I did not know.

 

My problem is when nagios is sending email notifications it includes the
entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com
<mailto:nagios at hostname.domainname.com> ). There is no problem when I send
an email using PINE from nagios user, so my sendmail is configured properly.

 

This is a problem for me because some email servers lookup the MX record of
the domain name and refuse email if it does not match.

 

ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com
<mailto:nagios at myrealdomainname.com> , but nagios still puts the hostname in
the FROM field.

 

Could anyone tell me where I can configure it?

 

Thanks,

 

Val

 


------_=_NextPart_001_01C305CF.195012E3
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">


<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in
1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=189311417-18042003><FONT face="Comic Sans MS" color=#000080

size=2>I'm not convinced that your sendmail config is blameless.  Try
the 
following:</FONT></SPAN></DIV>
<DIV><SPAN class=189311417-18042003><FONT face="Comic Sans MS" color=#000080

size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=189311417-18042003><FONT face="Comic Sans MS" color=#000080

size=2># su - nagios</FONT></SPAN></DIV>
<DIV><SPAN class=189311417-18042003><FONT face="Comic Sans MS" color=#000080

size=2>$ echo 'hello' | /usr/lib/sendmail <A 
href="mailto:val at nycity.com">val at nycity.com</A></FONT></SPAN></DIV>
<DIV><SPAN class=189311417-18042003><FONT face="Comic Sans MS" color=#000080

size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=189311417-18042003><FONT face="Comic Sans MS" color=#000080

size=2>Let us know what the FROM header looks like on the receiving 
end.</FONT></SPAN></DIV>
<DIV><SPAN class=189311417-18042003><FONT face="Comic Sans MS" color=#000080

size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=189311417-18042003><FONT face="Comic Sans MS" color=#000080

size=2>jc</FONT></SPAN></DIV>
<DIV><SPAN class=189311417-18042003></SPAN> </DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid;
MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Val Vechnyak 
  [mailto:val at nycity.com]<BR><B>Sent:</B> Friday, April 18, 2003 10:15 
  AM<BR><B>To:</B> nagios-users at lists.sourceforge.net<BR><B>Subject:</B> 
  [Nagios-users] Mail FROM field needs to be changed<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I apologize if this was
discussed 
  already in this list, but since I just signed up I did not 
  know.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My problem is when nagios is 
  sending email notifications it includes the entire hostname in MAIL FROM
field 
  (i.e. <A 
 
href="mailto:nagios at hostname.domainname.com">nagios at hostname.domainname.com<
/A>). 
  There is no problem when I send an email using PINE from nagios user, so
my 
  sendmail is configured properly.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is a problem for me
because 
  some email servers lookup the MX record of the domain name and refuse
email if 
  it does not match.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ADMINEMAIL in nagios.cfg is <A

  href="mailto:nagios at myrealdomainname.com">nagios at myrealdomainname.com</A>,
but 
  nagios still puts the hostname in the FROM field.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Could anyone tell me where I
can 
  configure it?</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Val</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE:
12pt"></SPAN></FONT> </P></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C305CF.195012E3--


--__--__--

Message: 12
Subject: RE: [Nagios-users] Notifications only get to certain email accounts
Date: Fri, 18 Apr 2003 12:28:16 -0500
From: "Marc Powell" <mpowell at ena.com>
To: <Mike.Hall at eiiecomm.com>,
	<nagios-users at lists.sourceforge.net>

Is hostname.domainname.com in both forward _and_ reverse DNS? Do they
match? Some mail configurations will reject mail from hosts that do not
match. Also, is your IP a dialup/DSL or in some RBL listed IP range?

--
Marc

> -----Original Message-----
> From: Mike.Hall at eiiecomm.com [mailto:Mike.Hall at eiiecomm.com]
> Sent: Friday, April 18, 2003 12:14 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Notifications only get to certain email
accounts
>=20
> Hi all,
> I am having trouble figuring out why notifications get to my yahoo
email
> but, don't get to my Road Runner email. I get notifications on my ATT
cell
> phone but, can't get them at my corporate email through Lotus notes.
Does
> anyone have suggestions on how I might remedy this issue?
>=20
> Nagios is sending notification perfectly but, it appears that certain
> email servers do not all the three section domain name.
>=20
> ie; nagios at hostname.domainname.com
>=20
> Any help would be greatly appreciated
>=20
> Mike Hall
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


--__--__--

Message: 13
Date: Fri, 18 Apr 2003 10:37:10 -0700 (PDT)
From: Mark Natoli <mnatoli at yahoo.com>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] acknowledgements in config files

Hi,

  I've come to rely on the ntray tool heavily to let
me know the status of multiple systems at a glance.
This tool shows red, yellow, green in your system
tray.
  My problem is that occasionally I have systems that
are out of service for a couple of days for repairs,
etc. I don't want to rip out the configs for these or
comment out all of the services.
  How do I easily shut down the monitoring of these
services for a particular system using the config
files without removing/commenting all of the entries?

TIA
-Mark

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com


--__--__--

Message: 14
From: "Val Vechnyak" <val at nycity.com>
To: "'Carroll, Jim P [Contractor]'" <jcarro10 at sprintspectrum.com>,
   <nagios-users at lists.sourceforge.net>
Subject: RE: [Nagios-users] Mail FROM field needs to be changed
Date: Fri, 18 Apr 2003 14:20:52 -0400

This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C305B5.B7E1BDB0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Ummmmm, You are right. My bad. That's embarrassing.

=20

 It works using PINE, but not from the command line.

=20

Don't know what is going on. Thanks and sorry I took your time.

=20

-------------------------------------------------------------------------=
---

Val Vechnyak

MCP

=20

Technical support: support at msohosting.com

=20

-----Original Message-----
From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]=20
Sent: Friday, April 18, 2003 13:23
To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail FROM field needs to be changed

=20

I'm not convinced that your sendmail config is blameless.  Try the
following:

=20

# su - nagios

$ echo 'hello' | /usr/lib/sendmail val at nycity.com

=20

Let us know what the FROM header looks like on the receiving end.

=20

jc

=20

-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 10:15 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Mail FROM field needs to be changed

Hello,

=20

I apologize if this was discussed already in this list, but since I just
signed up I did not know.

=20

My problem is when nagios is sending email notifications it includes the
entire hostname in MAIL FROM field (i.e. =
nagios at hostname.domainname.com).
There is no problem when I send an email using PINE from nagios user, so =
my
sendmail is configured properly.

=20

This is a problem for me because some email servers lookup the MX record =
of
the domain name and refuse email if it does not match.

=20

ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios =
still
puts the hostname in the FROM field.

=20

Could anyone tell me where I can configure it?

=20

Thanks,

=20

Val

=20


------=_NextPart_000_0009_01C305B5.B7E1BDB0
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Comic Sans MS";
	panose-1:3 15 7 2 3 3 2 2 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:purple;
	text-decoration:underline;}
span.emailstyle17
	{font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{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;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Ummmmm, You are right. My bad. =
That’s
embarrassing.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> It works using PINE, but not =
from
the command line.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Don’t know what is going on. =
Thanks
and sorry I took your time.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'>--------------------------------------------------------=
--------------------</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
 style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>Val =
Vechnyak</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'>MCP</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'>Technical
support: <a =
href=3D"mailto:support at msohosting.com">support at msohosting.com</a></span><=
/font></p>

</div>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Carroll, Jim P =
[Contractor]
[mailto:jcarro10 at sprintspectrum.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, April 18, =
2003 13:23<br>
<b><span style=3D'font-weight:bold'>To:</span></b> 'Val Vechnyak';
nagios-users at lists.sourceforge.net<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: =
[Nagios-users] Mail
FROM field needs to be changed</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dnavy
face=3D"Comic Sans MS"><span =
style=3D'font-size:10.0pt;font-family:"Comic Sans MS";
color:navy'>I'm not convinced that your sendmail config is =
blameless.  Try
the following:</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dnavy
face=3D"Comic Sans MS"><span =
style=3D'font-size:10.0pt;font-family:"Comic Sans MS";
color:navy'># su - nagios</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dnavy
face=3D"Comic Sans MS"><span =
style=3D'font-size:10.0pt;font-family:"Comic Sans MS";
color:navy'>$ echo 'hello' | /usr/lib/sendmail <a =
href=3D"mailto:val at nycity.com">val at nycity.com</a></span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dnavy
face=3D"Comic Sans MS"><span =
style=3D'font-size:10.0pt;font-family:"Comic Sans MS";
color:navy'>Let us know what the FROM header looks like on the receiving =
end.</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dnavy
face=3D"Comic Sans MS"><span =
style=3D'font-size:10.0pt;font-family:"Comic Sans MS";
color:navy'>jc</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

</div>

<blockquote style=3D'border:none;border-left:solid navy =
1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'=
>

<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Val Vechnyak
[mailto:val at nycity.com]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, April 18, =
2003 10:15
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
nagios-users at lists.sourceforge.net<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Nagios-users] =
Mail FROM
field needs to be changed</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Hello,</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>I apologize if this was =
discussed
already in this list, but since I just signed up I did not =
know.</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>My problem is when nagios =
is sending
email notifications it includes the entire hostname in MAIL FROM field =
(i.e. <a
href=3D"mailto:nagios at hostname.domainname.com">nagios at hostname.domainname=
.com</a>).
There is no problem when I send an email using PINE from nagios user, so =
my
sendmail is configured properly.</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>This is a problem for me =
because
some email servers lookup the MX record of the domain name and refuse =
email if
it does not match.</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>ADMINEMAIL in nagios.cfg is =
<a
href=3D"mailto:nagios at myrealdomainname.com">nagios at myrealdomainname.com</=
a>, but
nagios still puts the hostname in the FROM field.</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Could anyone tell me where =
I can
configure it?</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Thanks,</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Val</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>

</blockquote>

</div>

</body>

</html>

------=_NextPart_000_0009_01C305B5.B7E1BDB0--



--__--__--

Message: 15
Date: Fri, 18 Apr 2003 14:35:12 -0400
From: Jeff Lane <crash at pinehurst.net>
To:  nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Configuring still

Oddly enough, I tried changing the command bit to mysqld and it 
worked... weird...  and changing it to just safe_mysqld worked as well...

Here is another problem however...

I have also put nrpe on a web server and I am getting problems iwth the 
checks timing out automatically...

Here is what the GUI shows:
webgnostics


Cobalt Admin Status
CRITICAL     04-18-2003 14:26:25     0d 0h 38m 1s     3/3 
CHECK_NRPE: Socket timeout after 10 seconds.

Current Load
CRITICAL     04-18-2003 14:26:48     0d 0h 37m 41s     3/3 
CHECK_NRPE: Socket timeout after 10 seconds.

Current Users
CRITICAL     04-18-2003 14:27:10     0d 0h 37m 11s     3/3 
CHECK_NRPE: Socket timeout after 10 seconds.


and there are many others... what causes this?  If I run the check_nrpe 
commands by hand, each and every one works perfectly... HOWEVER when 
they are run by nagios automatically, they all fail...

This failure is ONLY occuring for this one host.  I checked service.cfg 
and hosts.cfg and everthing seems to be correct in each of them

Any thoughts?

Jeff

Subhendu Ghosh wrote:

 > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld"
 >
 > note the ps on the command line probably has different defaults than 
ps in check_procs.  Take look at your config.h for PS_COMMAND.
 >





-- 
Jeffrey Lane
ConnectNC.com / Internet of the Sandhills
W4KDH at arrl.net

chown -r us:us /yourbase/




--__--__--

Message: 16
Date: Fri, 18 Apr 2003 14:34:54 -0400 (EDT)
From: Subhendu Ghosh <sghosh at sghosh.org>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Re: Configuring nrpe


Do you have the correct port number configured?

Does the command line and configure syntax match?

-sg

On Fri, 18 Apr 2003, Jeff Lane wrote:

> Oddly enough, I tried changing the command bit to mysqld and it 
> worked... weird...  and changing it to just safe_mysqld worked as well...
> 
> Here is another problem however...
> 
> I have also put nrpe on a web server and I am getting problems iwth the 
> checks timing out automatically...
> 
> Here is what the GUI shows:
> webgnostics
> 	
> 	
> Cobalt Admin Status
> CRITICAL 	04-18-2003 14:26:25 	0d 0h 38m 1s 	3/3 	CHECK_NRPE:
Socket 
> timeout after 10 seconds.
> 	
> Current Load
> CRITICAL 	04-18-2003 14:26:48 	0d 0h 37m 41s 	3/3 	CHECK_NRPE:
Socket 
> timeout after 10 seconds.
> 	
> Current Users
> CRITICAL 	04-18-2003 14:27:10 	0d 0h 37m 11s 	3/3 	CHECK_NRPE:
Socket 
> timeout after 10 seconds.
> 
> 
> and there are many others... what causes this?  If I run the check_nrpe 
> commands by hand, each and every one works perfectly... HOWEVER when 
> they are run by nagios automatically, they all fail...
> 
> This failure is ONLY occuring for this one host.  I checked service.cfg 
> and hosts.cfg and everthing seems to be correct in each of them
> 
> Any thoughts?
> 
> Jeff
> 	
> Subhendu Ghosh wrote:
> > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld"
> > 
> > note the ps on the command line probably has different defaults than ps
in 
> > check_procs.  Take look at your config.h for PS_COMMAND.
> > 
> 
> 
> 
> 

-- 




--__--__--

Message: 17
Date: Fri, 18 Apr 2003 14:57:55 -0400
From: Jeff Lane <crash at pinehurst.net>
To: Subhendu Ghosh <sghosh at sghosh.org>
CC:  nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Re: Configuring nrpe

Yep...

to try it manually, I am merely copying the configured commands and 
filling in the blanks...

for example...  to check the disk

I am using:

check_nrpe -H ip.of.host.machine -p portIchose -c check_disk1

which gives me a correct response...

however setting it automatically does not work... it isnt that just one 
or two things arent working for this host... Ic ould probably figure 
that out on my own... but the problem is that ALL checks are failing on 
this one host, even though I can do each and every one of them from 
command line and have them work.

I am pretty sure its not in the syntax either, since a good number of 
these checks are being run on some other machines as well, and are 
working fine on those machines. (for example the check_disk command, 
check_sshd command, and some other commands I have been using for 
general service checks).

Cheers
Jeff

Subhendu Ghosh wrote:
> Do you have the correct port number configured?
> 
> Does the command line and configure syntax match?
> 
> -sg
> 
> On Fri, 18 Apr 2003, Jeff Lane wrote:
> 
> 
>>Oddly enough, I tried changing the command bit to mysqld and it 
>>worked... weird...  and changing it to just safe_mysqld worked as well...
>>
>>Here is another problem however...
>>
>>I have also put nrpe on a web server and I am getting problems iwth the 
>>checks timing out automatically...
>>
>>Here is what the GUI shows:
>>webgnostics
>>	
>>	
>>Cobalt Admin Status
>>CRITICAL 	04-18-2003 14:26:25 	0d 0h 38m 1s 	3/3 	CHECK_NRPE:
Socket 
>>timeout after 10 seconds.
>>	
>>Current Load
>>CRITICAL 	04-18-2003 14:26:48 	0d 0h 37m 41s 	3/3 	CHECK_NRPE:
Socket 
>>timeout after 10 seconds.
>>	
>>Current Users
>>CRITICAL 	04-18-2003 14:27:10 	0d 0h 37m 11s 	3/3 	CHECK_NRPE:
Socket 
>>timeout after 10 seconds.
>>
>>
>>and there are many others... what causes this?  If I run the check_nrpe 
>>commands by hand, each and every one works perfectly... HOWEVER when 
>>they are run by nagios automatically, they all fail...
>>
>>This failure is ONLY occuring for this one host.  I checked service.cfg 
>>and hosts.cfg and everthing seems to be correct in each of them
>>
>>Any thoughts?
>>
>>Jeff
>>	
>>Subhendu Ghosh wrote:
>>
>>>You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld"
>>>
>>>note the ps on the command line probably has different defaults than ps
in 
>>>check_procs.  Take look at your config.h for PS_COMMAND.
>>>
>>
>>
>>
>>
> 


-- 
Jeffrey Lane
ConnectNC.com / Internet of the Sandhills
W4KDH at arrl.net

chown -r us:us /yourbase/




--__--__--

Message: 18
From: "Carroll, Jim P [Contractor]" <jcarro10 at sprintspectrum.com>
To: "'Mark Natoli'" <mnatoli at yahoo.com>, nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] acknowledgements in config files
Date: Fri, 18 Apr 2003 14:22:05 -0500

I asked a similar question months ago.  IIRC, the author said there's not
much he can do, until Nagios can provide XML on the interface.  Something
like this.

Sorry for being vague, but if you really need the e-mail in question, I can
try to dig it out.

jc


> -----Original Message-----
> From: Mark Natoli [mailto:mnatoli at yahoo.com]
> Sent: Friday, April 18, 2003 12:37 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] acknowledgements in config files
> 
> 
> Hi,
> 
>   I've come to rely on the ntray tool heavily to let
> me know the status of multiple systems at a glance.
> This tool shows red, yellow, green in your system
> tray.
>   My problem is that occasionally I have systems that
> are out of service for a couple of days for repairs,
> etc. I don't want to rip out the configs for these or
> comment out all of the services.
>   How do I easily shut down the monitoring of these
> services for a particular system using the config
> files without removing/commenting all of the entries?
> 
> TIA
> -Mark
> 
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> 


--__--__--

Message: 19
From: "Carroll, Jim P [Contractor]" <jcarro10 at sprintspectrum.com>
To: "'Val Vechnyak'" <val at nycity.com>, nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail FROM field needs to be changed
Date: Fri, 18 Apr 2003 14:28:34 -0500

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_01C305E0.B3EA31F5
Content-Type: text/plain;
	charset="ISO-8859-1"

You may have tweaked your pine config to force the FROM address.
 
As for sendmail, depending on what version of sendmail you're running, it
could be a simple tweak.  Edit /etc/sendmail.cf and search for 'masquerade'
or '^DM' (without the quotes) and change accordingly.  Here's a sample tweak
from my sendmail.cf file for one of my Linux hosts (lines 138-139) running
sendmail version 8.11.6:
 
# who I masquerade as (null for no masquerading) (see also $=M)
DMsprintspectrum.com

HTH.
 
jc
 

-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 1:21 PM
To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail FROM field needs to be changed



Ummmmm, You are right. My bad. That's embarrassing.

 

 It works using PINE, but not from the command line.

 

Don't know what is going on. Thanks and sorry I took your time.

 

----------------------------------------------------------------------------

Val Vechnyak

MCP

 

Technical support: support at msohosting.com <mailto:support at msohosting.com> 

 

-----Original Message-----
From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] 
Sent: Friday, April 18, 2003 13:23
To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail FROM field needs to be changed

 

I'm not convinced that your sendmail config is blameless.  Try the
following:

 

# su - nagios

$ echo 'hello' | /usr/lib/sendmail val at nycity.com <mailto:val at nycity.com> 

 

Let us know what the FROM header looks like on the receiving end.

 

jc

 

-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 10:15 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Mail FROM field needs to be changed

Hello,

 

I apologize if this was discussed already in this list, but since I just
signed up I did not know.

 

My problem is when nagios is sending email notifications it includes the
entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com
<mailto:nagios at hostname.domainname.com> ). There is no problem when I send
an email using PINE from nagios user, so my sendmail is configured properly.

 

This is a problem for me because some email servers lookup the MX record of
the domain name and refuse email if it does not match.

 

ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com
<mailto:nagios at myrealdomainname.com> , but nagios still puts the hostname in
the FROM field.

 

Could anyone tell me where I can configure it?

 

Thanks,

 

Val

 


------_=_NextPart_001_01C305E0.B3EA31F5
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">


<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE>@font-face {
	font-family: Tahoma;
}
@font-face {
	font-family: Comic Sans MS;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.emailstyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial
}
SPAN.EmailStyle18 {
	COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2>You may have tweaked your pine config to force the FROM 
address.</FONT></SPAN></DIV>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2>As for sendmail, depending on what version of sendmail you're
running, it 
could be a simple tweak.  Edit /etc/sendmail.cf and search for
'masquerade' 
or '^DM' (without the quotes) and change accordingly.  Here's a sample 
tweak from my sendmail.cf file for one of my Linux hosts (lines 138-139)
running 
sendmail version 8.11.6:</FONT></SPAN></DIV>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2># who I masquerade as (null for no masquerading) (see also 
$=M)<BR>DMsprintspectrum.com<BR></FONT></SPAN></DIV>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2>HTH.</FONT></SPAN></DIV>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2>jc</FONT></SPAN></DIV>
<DIV><SPAN class=925162219-18042003><FONT face="Comic Sans MS" color=#000080

size=2> </DIV></FONT></SPAN>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid;
MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Val Vechnyak 
  [mailto:val at nycity.com]<BR><B>Sent:</B> Friday, April 18, 2003 1:21 
  PM<BR><B>To:</B> Carroll, Jim P [Contractor]; 
  nagios-users at lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
Mail 
  FROM field needs to be changed<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Ummmmm, You are 
  right. My bad. That’s embarrassing.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY:
Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> It works
using 
  PINE, but not from the command line.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY:
Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Don’t know
what is 
  going on. Thanks and sorry I took your time.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY:
Arial"></SPAN></FONT> </P>
  <DIV>
  <P class=MsoNormal><FONT face="Courier New" color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier
New'">----------------------------------------------------------------------
------</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">Val 
  Vechnyak</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier
New'">MCP</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier
New'"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face="Courier New" color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'">Technical

  support: <A 
 
href="mailto:support at msohosting.com">support at msohosting.com</A></SPAN></FONT
></P></DIV>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY:
Arial"></SPAN></FONT> </P>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Tahoma
size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original 
  Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B>
Carroll, 
  Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] <BR><B><SPAN 
  style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, April 18, 2003 
  13:23<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 'Val Vechnyak';

  nagios-users at lists.sourceforge.net<BR><B><SPAN 
  style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [Nagios-users] Mail FROM

  field needs to be changed</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman"

  size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Comic Sans MS" 
  color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">I'm not

  convinced that your sendmail config is blameless.  Try the 
  following:</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman"

  size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Comic Sans MS" 
  color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans MS'"># su - 
  nagios</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Comic Sans MS" 
  color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">$ echo 
  'hello' | /usr/lib/sendmail <A 
  href="mailto:val at nycity.com">val at nycity.com</A></SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman"

  size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Comic Sans MS" 
  color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Let us
know 
  what the FROM header looks like on the receiving
end.</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman"

  size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Comic Sans MS" 
  color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans
MS'">jc</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman"

  size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
  <BLOCKQUOTE 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium
none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt;
BORDER-LEFT: navy 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium
none">
    <P class=MsoNormal 
    style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 0.5in; MARGIN-RIGHT: 0in"><FONT

    face=Tahoma size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original 
    Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Val 
    Vechnyak [mailto:val at nycity.com]<BR><B><SPAN 
    style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, April 18, 2003 10:15 
    AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 
    nagios-users at lists.sourceforge.net<BR><B><SPAN 
    style="FONT-WEIGHT: bold">Subject:</SPAN></B> [Nagios-users] Mail FROM
field 
    needs to be changed</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New
Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I apologize if this was 
    discussed already in this list, but since I just signed up I did not 
    know.</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New
Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My problem is when nagios is

    sending email notifications it includes the entire hostname in MAIL FROM

    field (i.e. <A 
 
href="mailto:nagios at hostname.domainname.com">nagios at hostname.domainname.com<
/A>). 
    There is no problem when I send an email using PINE from nagios user, so
my 
    sendmail is configured properly.</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New
Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is a problem for me
because 
    some email servers lookup the MX record of the domain name and refuse
email 
    if it does not match.</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New
Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ADMINEMAIL in nagios.cfg is
<A 
 
href="mailto:nagios at myrealdomainname.com">nagios at myrealdomainname.com</A>, 
    but nagios still puts the hostname in the FROM field.</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New
Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Could anyone tell me where I
can 
    configure it?</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New
Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New
Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Val</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New
Roman" 
    size=3><SPAN 
  style="FONT-SIZE:
12pt"></SPAN></FONT> </P></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C305E0.B3EA31F5--


--__--__--

Message: 20
Date: Fri, 18 Apr 2003 15:50:39 -0400
From: "Mitchell K. Smith" <mksmith at pa.eplus.com>
To: <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] incredible disappearing host

Greetings all.
I am running Nagios 1.0,  RH Linux 7.3, Compaq DL360 1.2GHz

Nagios has been working fine for quite a long while. Recently we added =
about 30 additional servers with two services each to monitor. There is =
a total of 62 hosts and 125 services being monitored. In addition, I am =
also running MRTG/RRDTool on the same machine and it's gathering data =
from something like 800-1000 interfaces. The systems is getting fairly =
busy.

What happens is this. I added a new server and 3 services to be =
monitored. When I start Nagios, the new server will sometimes not appear =
on the hosts or services screen. Doing a view config > hosts it's =
definately there and is configured the same as many other servers. =
Restarting Nagios or refreshing the browser will sometimes bring it back =
but it will eventually disappear again. This happens from multiple =
browsers or clients. Has anyone seen anything like this before?
Weird.

Thanks for the help.

Mitchell K. Smith


Host definition:
# 'hpov00' host definition
define host{
        use                     generic-host
        host_name               hpov00
        alias                   HP OpenView server
        address                 172.31.9.50
        check_command           check-host-alive
        max_check_attempts      10
        notification_interval   120
        notification_period     24x7
        notification_options    d,u,r
        }

Service definitions:
# Service definition hpov00 - PING     =20
define service{
        use                             generic-service         ; Name =
of service template to use
       =20
        host_name                       hpov00
        service_description             PING
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5  =20
        retry_check_interval            1
        contact_groups                  nt-admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_ping!200.0,20%!500.0,60%
        }
       =20
# Service definition hpov00 - HP OpenView Process Manager
define service{
        use                             generic-service         ; Name =
of service template to use

        host_name                       hpov00
        service_description             HP OpenView Process Manager
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  nt-admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nt_service!"HP OpenView =
Process Manager"
        }

# Service definition hpov00 - SNMP EMANATE Master Agent
define service{
        use                             generic-service         ; Name =
of service template to use

        host_name                       hpov00
        service_description             SNMP EMANATE Master Agent
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  nt-admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nt_service!EMANATE
        }



--__--__--

Message: 21
Subject: Re: [Nagios-users] incredible disappearing host
Date: Fri, 18 Apr 2003 15:07:55 -0500
From: "Marc Powell" <mpowell at ena.com>
To: <mksmith at pa.eplus.com>,
	<nagios-users at lists.sourceforge.net>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C305E6.33555E48
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Yup. Verify that you don't have multiple copies of nagios running.


--
Marc

Sent from a very tiny wireless device with a very tiny unlit keyboard.


-----Original Message-----
From: Mitchell K. Smith <mksmith at pa.eplus.com>
To: nagios-users at lists.sourceforge.net =
<nagios-users at lists.sourceforge.net>
Sent: Fri Apr 18 14:50:39 2003
Subject: [Nagios-users] incredible disappearing host

Greetings all.
I am running Nagios 1.0,  RH Linux 7.3, Compaq DL360 1.2GHz

Nagios has been working fine for quite a long while. Recently we added =
about 30 additional servers with two services each to monitor. There is =
a total of 62 hosts and 125 services being monitored. In addition, I am =
also running MRTG/RRDTool on the same machine and it's gathering data =
from something like 800-1000 interfaces. The systems is getting fairly =
busy.

What happens is this. I added a new server and 3 services to be =
monitored. When I start Nagios, the new server will sometimes not appear =
on the hosts or services screen. Doing a view config > hosts it's =
definately there and is configured the same as many other servers. =
Restarting Nagios or refreshing the browser will sometimes bring it back =
but it will eventually disappear again. This happens from multiple =
browsers or clients. Has anyone seen anything like this before?
Weird.

Thanks for the help.

Mitchell K. Smith


Host definition:
# 'hpov00' host definition
define host{
        use                     generic-host
        host_name               hpov00
        alias                   HP OpenView server
        address                 172.31.9.50
        check_command           check-host-alive
        max_check_attempts      10
        notification_interval   120
        notification_period     24x7
        notification_options    d,u,r
        }

Service definitions:
# Service definition hpov00 - PING     =20
define service{
        use                             generic-service         ; Name =
of service template to use
       =20
        host_name                       hpov00
        service_description             PING
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5  =20
        retry_check_interval            1
        contact_groups                  nt-admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_ping!200.0,20%!500.0,60%
        }
       =20
# Service definition hpov00 - HP OpenView Process Manager
define service{
        use                             generic-service         ; Name =
of service template to use

        host_name                       hpov00
        service_description             HP OpenView Process Manager
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  nt-admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nt_service!"HP OpenView =
Process Manager"
        }

# Service definition hpov00 - SNMP EMANATE Master Agent
define service{
        use                             generic-service         ; Name =
of service template to use

        host_name                       hpov00
        service_description             SNMP EMANATE Master Agent
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  nt-admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nt_service!EMANATE
        }



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when =
reporting any issue.=20
::: Messages without supporting info will risk being sent to /dev/null


------_=_NextPart_001_01C305E6.33555E48
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] incredible disappearing host</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Yup. Verify that you don't have multiple copies of =
nagios running.<BR>
<BR>
<BR>
--<BR>
Marc<BR>
<BR>
Sent from a very tiny wireless device with a very tiny unlit =
keyboard.<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Mitchell K. Smith <mksmith at pa.eplus.com><BR>
To: nagios-users at lists.sourceforge.net =
<nagios-users at lists.sourceforge.net><BR>
Sent: Fri Apr 18 14:50:39 2003<BR>
Subject: [Nagios-users] incredible disappearing host<BR>
<BR>
Greetings all.<BR>
I am running Nagios 1.0,  RH Linux 7.3, Compaq DL360 1.2GHz<BR>
<BR>
Nagios has been working fine for quite a long while. Recently we added =
about 30 additional servers with two services each to monitor. There is =
a total of 62 hosts and 125 services being monitored. In addition, I am =
also running MRTG/RRDTool on the same machine and it's gathering data =
from something like 800-1000 interfaces. The systems is getting fairly =
busy.<BR>
<BR>
What happens is this. I added a new server and 3 services to be =
monitored. When I start Nagios, the new server will sometimes not appear =
on the hosts or services screen. Doing a view config > hosts it's =
definately there and is configured the same as many other servers. =
Restarting Nagios or refreshing the browser will sometimes bring it back =
but it will eventually disappear again. This happens from multiple =
browsers or clients. Has anyone seen anything like this before?<BR>
Weird.<BR>
<BR>
Thanks for the help.<BR>
<BR>
Mitchell K. Smith<BR>
<BR>
<BR>
Host definition:<BR>
# 'hpov00' host definition<BR>
define host{<BR>
        =
use           &nbs=
p;         generic-host<BR>
        =
host_name          &nbs=
p;    hpov00<BR>
        =
alias           &n=
bsp;       HP OpenView server<BR>
        =
address           =
      172.31.9.50<BR>
        =
check_command          =
 check-host-alive<BR>
        =
max_check_attempts      10<BR>
        =
notification_interval   120<BR>
        =
notification_period     24x7<BR>
        =
notification_options    d,u,r<BR>
        }<BR>
<BR>
Service definitions:<BR>
# Service definition hpov00 - PING     <BR>
define service{<BR>
        =
use           &nbs=
p;           &nbsp=
;     =
generic-service         ; Name =
of service template to use<BR>
       <BR>
        =
host_name          &nbs=
p;            =
hpov00<BR>
        =
service_description         =
    PING<BR>
        =
is_volatile          &n=
bsp;          0<BR>
        =
check_period          &=
nbsp;         24x7<BR>
        =
max_check_attempts         &=
nbsp;    3<BR>
        =
normal_check_interval        &nbs=
p;  5  <BR>
        =
retry_check_interval        &nbsp=
;   1<BR>
        =
contact_groups         &nbsp=
;        nt-admins<BR>
        =
notification_interval        &nbs=
p;  240<BR>
        =
notification_period         =
    24x7<BR>
        =
notification_options        &nbsp=
;   w,u,c,r<BR>
        =
check_command          =
         =
check_ping!200.0,20%!500.0,60%<BR>
        }<BR>
       <BR>
# Service definition hpov00 - HP OpenView Process Manager<BR>
define service{<BR>
        =
use           &nbs=
p;           &nbsp=
;     =
generic-service         ; Name =
of service template to use<BR>
<BR>
        =
host_name          &nbs=
p;            =
hpov00<BR>
        =
service_description         =
    HP OpenView Process Manager<BR>
        =
is_volatile          &n=
bsp;          0<BR>
        =
check_period          &=
nbsp;         24x7<BR>
        =
max_check_attempts         &=
nbsp;    3<BR>
        =
normal_check_interval        &nbs=
p;  5<BR>
        =
retry_check_interval        &nbsp=
;   1<BR>
        =
contact_groups         &nbsp=
;        nt-admins<BR>
        =
notification_interval        &nbs=
p;  240<BR>
        =
notification_period         =
    24x7<BR>
        =
notification_options        &nbsp=
;   w,u,c,r<BR>
        =
check_command          =
         =
check_nt_service!"HP OpenView Process Manager"<BR>
        }<BR>
<BR>
# Service definition hpov00 - SNMP EMANATE Master Agent<BR>
define service{<BR>
        =
use           &nbs=
p;           &nbsp=
;     =
generic-service         ; Name =
of service template to use<BR>
<BR>
        =
host_name          &nbs=
p;            =
hpov00<BR>
        =
service_description         =
    SNMP EMANATE Master Agent<BR>
        =
is_volatile          &n=
bsp;          0<BR>
        =
check_period          &=
nbsp;         24x7<BR>
        =
max_check_attempts         &=
nbsp;    3<BR>
        =
normal_check_interval        &nbs=
p;  5<BR>
        =
retry_check_interval        &nbsp=
;   1<BR>
        =
contact_groups         &nbsp=
;        nt-admins<BR>
        =
notification_interval        &nbs=
p;  240<BR>
        =
notification_period         =
    24x7<BR>
        =
notification_options        &nbsp=
;   w,u,c,r<BR>
        =
check_command          =
         =
check_nt_service!EMANATE<BR>
        }<BR>
<BR>
<BR>
<BR>
-------------------------------------------------------<BR>
This sf.net email is sponsored by:ThinkGeek<BR>
Welcome to geek heaven.<BR>
<A HREF=3D"http://thinkgeek.com/sf">http://thinkgeek.com/sf</A><BR>
_______________________________________________<BR>
Nagios-users mailing list<BR>
Nagios-users at lists.sourceforge.net<BR>
<A =
HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:=
//lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>
::: Please include Nagios version, plugin version (-v) and OS when =
reporting any issue.<BR>
::: Messages without supporting info will risk being sent to =
/dev/null<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C305E6.33555E48--



--__--__--

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


End of Nagios-users Digest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030419/dcef6572/attachment.html>


More information about the Users mailing list