Can't see Status Map or Trends (Tory Skyers)

Tory Skyers maillist at foxroach.com
Mon Nov 17 00:44:33 CET 2003


I'm having a variation of this problem. I CAN see the trend data images
initially, however when I click on them in order to zoom in, or change the
parameters on the page, the graphics disappear, never to be seen again! I'm
not really sure what the issue here is as they work, but only
intermittently. 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
nagios-users-request at lists.sourceforge.net
Sent: Saturday, November 15, 2003 10:20 AM
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users digest, Vol 1 #1750 - 6 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. Can't see Status Map or Trends (Johnston Michael J Contr AFRL/DES)
   2. Re: Can't see Status Map or Trends (Marc Powell)
   3. Re: Nagios-users digest, Vol 1 #1749 - 25 msgs (Gaurav Prasad)
   4. Re: Nagios-users digest, Vol 1 #1749 - 25 msgs (Stanley Hopcroft)
   5. authentication & access limit (Spyou)
   6. RE: authentication & access limit (Marc Powell)

--__--__--

Message: 1
From: Johnston Michael J Contr AFRL/DES <michael.johnston at kirtland.af.mil>
To: nagios-users at lists.sourceforge.net
Date: Sat, 15 Nov 2003 04:33:54 -0000
Subject: [Nagios-users] Can't see Status Map or Trends


Okay, maybe I'm just tired because I've been working on this for about 20
hours strait, but can someone explain to me the easy way to get my Status
Map and Trends to work?  I see when I click on the link it's going to the
/usr/local/nagios/cgi-bin directory, but t here isn't one.  When I did the
configure I did put --with-cgiurl=nagios/cgi-bin, but it didn't create a
directory.  I'm sorry if the answer is obvious.  I did read the "Extended
Information Configuration" but it's made little sense to me about having to
recompile. Can someone dumb it down for a dummy?  Thanks. =) 

Mike


--__--__--

Message: 2
Subject: Re: [Nagios-users] Can't see Status Map or Trends
Date: Fri, 14 Nov 2003 23:01:20 -0600
From: "Marc Powell" <mpowell at ena.com>
To: <michael.johnston at kirtland.af.mil>,
	<nagios-users at lists.sourceforge.net>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3AB35.8269DA1D
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

They probably were not compiled because the GD libraries were not found. =
Check the FAQ and the cgi docs for more detail.

Another possible answer would be that the files are in =
/usr/local/nagios/sbin. The configure cgiurl just tells the cgi's how to =
call themselves from the web.



--
Marc

-----Original Message-----
From: Johnston Michael J Contr AFRL/DES =
<michael.johnston at kirtland.af.mil>
To: nagios-users at lists.sourceforge.net =
<nagios-users at lists.sourceforge.net>
Sent: Fri Nov 14 22:33:54 2003
Subject: [Nagios-users] Can't see Status Map or Trends


Okay, maybe I'm just tired because I've been working on this for about =
20
hours strait, but can someone explain to me the easy way to get my =
Status
Map and Trends to work?  I see when I click on the link it's going to =
the
/usr/local/nagios/cgi-bin directory, but t here isn't one.  When I did =
the
configure I did put --with-cgiurl=3Dnagios/cgi-bin, but it didn't create =
a
directory.  I'm sorry if the answer is obvious.  I did read the =
"Extended
Information Configuration" but it's made little sense to me about having =
to
recompile. Can someone dumb it down for a dummy?  Thanks. =3D)=20

Mike


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=3Dmm/g22lp.tmp=
l
_______________________________________________
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_01C3AB35.8269DA1D
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] Can't see Status Map or Trends</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>They probably were not compiled because the GD =
libraries were not found. Check the FAQ and the cgi docs for more =
detail.<BR>
<BR>
Another possible answer would be that the files are in =
/usr/local/nagios/sbin. The configure cgiurl just tells the cgi's how to =
call themselves from the web.<BR>
<BR>
<BR>
<BR>
--<BR>
Marc<BR>
<BR>
-----Original Message-----<BR>
From: Johnston Michael J Contr AFRL/DES =
<michael.johnston at kirtland.af.mil><BR>
To: nagios-users at lists.sourceforge.net =
<nagios-users at lists.sourceforge.net><BR>
Sent: Fri Nov 14 22:33:54 2003<BR>
Subject: [Nagios-users] Can't see Status Map or Trends<BR>
<BR>
<BR>
Okay, maybe I'm just tired because I've been working on this for about =
20<BR>
hours strait, but can someone explain to me the easy way to get my =
Status<BR>
Map and Trends to work?  I see when I click on the link it's going =
to the<BR>
/usr/local/nagios/cgi-bin directory, but t here isn't one.  When I =
did the<BR>
configure I did put --with-cgiurl=3Dnagios/cgi-bin, but it didn't create =
a<BR>
directory.  I'm sorry if the answer is obvious.  I did read =
the "Extended<BR>
Information Configuration" but it's made little sense to me about =
having to<BR>
recompile. Can someone dumb it down for a dummy?  Thanks. =3D)<BR>
<BR>
Mike<BR>
<BR>
<BR>
-------------------------------------------------------<BR>
This SF. Net email is sponsored by: GoToMyPC<BR>
GoToMyPC is the fast, easy and secure way to access your computer =
from<BR>
any Web browser or wireless device. Click here to Try it Free!<BR>
<A =
HREF=3D"https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=3Dmm/g=
22lp.tmpl">https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=3Dm=
m/g22lp.tmpl</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_01C3AB35.8269DA1D--


--__--__--

Message: 3
Date: Fri, 14 Nov 2003 22:54:41 -0800 (PST)
From: Gaurav Prasad <paggux2000 at yahoo.com>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1749 - 25 msgs

--0-1450500478-1068879281=:92805
Content-Type: text/plain; charset=us-ascii

Hi Guys,
            I want to use Nagios as platform to develop customized
applications/plugins to develop customized monitoring and scheduling
solution for our customer 
I am very exited about NXE (Nagios XML Engine), but how good is Nagios as
development platform and scheduling platform
Plz share your eperiences
Is there any good Nagios (plugin) developer resources, How-to plz sgare
 
Thanks in advance,
gaurav
 


nagios-users-request at lists.sourceforge.net wrote:
Send Nagios-users mailing list submissions to
nagios-users at lists.sourceforge.net

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

You can reach the person managing the list at
nagios-users-admin at lists.sourceforge.net

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


Today's Topics:

1. Using SEC with Nagios for SNMP trap processing (Noah Leaman)
2. Re: New to nagios (Jim Mozley)
3. check_nt memuse - can I separate RAM from swap (Michal.Mazurek at avon.com)
4. Re: Newbie - Windows diskspace (Michael =?iso-8859-1?q?H=FCttig?=)
5. Nagios Macros (Marco Ramos)
6. Respond to pages (Carl Schelin)
7. RE: check_nt memuse - can I separate RAM from swap (VanZee, Timothy)
8. RE: check_nt memuse - can I separate RAM from swap (Randal, Phil)
9. RE: NRPE on AIX (d.deboni at edexter.it)
10. RE: check_nt memuse - can I separate RAM from swap (Phil Costelloe)
11. How many passive service check results per second ? (Verstege, Bernhard)
12. Notification Specifics on V1.1 (-)
13. check_apc_ups.pl errors (Jon Lyons)
14. Whoops! (Ramon torres)
15. $ARGx$ (Valiente G. Humberto)
16. Re: Re: parent outages - behaviour for children? (Dan Stromberg)
17. RE: $ARGx$ (Marc Powell)
18. RE: Notification Specifics on V1.1 (Marc Powell)
19. Re: Re: parent outages - behaviour for children? (Matt Pounsett)
20. RE: How many passive service check results per second ? (Marc Powell)
21. Byzantine configs? Or am I doing it wrong? (Jeremy Madea)
22. Re: check_apc_ups.pl errors (Subhendu Ghosh)
23. How can I query nagios? (Massimo Bandinelli)
24. RE: How can I query nagios? (David Olbersen)
25. Re: Hosts and Hostgroups (Justin Fitzhugh)

-- __--__-- 

Message: 1
Date: Fri, 14 Nov 2003 00:19:00 -0800
From: Noah Leaman 
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Using SEC with Nagios for SNMP trap processing

I am thrilled with the prospect of using SEC to process SNMP traps, but 
I am wondering the best way to send the received trap(s) to sec.pl.

Should I setup a "traphandle default" in snmptrapd.conf to pipe each 
trap separately to SEC, or use the traphandle to append to a log file 
then have that log file read by SEC. If it is the latter, then how or 
when does SEC get instantiated so it can read the file and how does 
being able to perform time-based correlation come into play with how 
the traps are read by SEC?

I know I am missing a part of the puzzle here. Otherwise I think I 
understand how to integrate SEC into Nagios as far as setting up the 
passive service and using SEC to write to nagios.cmd.

--
Noah



-- __--__-- 

Message: 2
Date: Fri, 14 Nov 2003 10:03:12 +0000
From: Jim Mozley 
Organization: Exponential-e
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] New to nagios

Sullivan, Robert (HQP) wrote:

> Does anyone have an example of this? 

is difficult to read ;-)

Top posting...

> You'll have to specify every host you want to monitor in the hosts file, 
> but the idea behind templating is that you make one template for each 
> 'class' of hosts, then write some very small entries of each. So, if you 
> have some sun servers, you create a template that defines everything about

> a generic server. You then write a small awk script to take the list of 
> hostnames you want to monitor and have it spit out a small host entry that

> also invokes the template. 

I use some perl to query switches and define ports as services, so that 
as new ports are brought into use they are added to Nagios. I guess one 
could do something similar for system hosts and the services run on 
them. If it would help I can send you an example but you would have to 
wade through perl and modify it to be useful.

Jim



-- __--__-- 

Message: 3
To: nagios-users at lists.sourceforge.net
From: Michal.Mazurek at avon.com
Date: Fri, 14 Nov 2003 11:39:56 +0100
Subject: [Nagios-users] check_nt memuse - can I separate RAM from swap

Hi

When I use check_nt to see the memory usage I get the overall value of RAM
and swap. This isn't really helpfull because there is no way that the
system can use entire swap - especially when there's about 500MB
dynamically assigned. Is there a way to configure nagios or the NT 4.0
server to see RAM and swap info separatly?

Regards
Michal Mazurek





-- __--__-- 

Message: 4
From: Michael =?iso-8859-1?q?H=FCttig?= 

Organization: Medien Systempartner GmbH
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Newbie - Windows diskspace
Date: Fri, 14 Nov 2003 13:19:09 +0100

hi,
yes, no problem, use nsclient
works fine ...

Regards

Michael
Am Donnerstag, 13. November 2003 17:29 schrieb Tom.Corcoran at meridianp2p.com:
> Hi All
>
> Just a quickie, Can Nagios monitor a windows server diskspace by
> driveletter and also can the free diskspace be measured against a
> threshold?
>
>
> Regards
>
> Tom Corcoran
> IT Dept.
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> 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



**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
www.mimesweeper.com
**********************************************************************



-- __--__-- 

Message: 5
Date: Fri, 14 Nov 2003 12:42:42 -0000
From: "Marco Ramos" 
To: 
Subject: [Nagios-users] Nagios Macros


Hi,

Is there any macro associated to the logged in user? When some of my =
Nagios users acknowlege a messsage, I would like the mail sent by Nagios =
to show whose user has done it. Is there any way to do this using =
macros?

TIA,
Marco Ramos





-- __--__-- 

Message: 6
From: Carl Schelin 
To: nagios-users at lists.sourceforge.net
Organization: SAIC
Date: 14 Nov 2003 08:21:20 -0500
Subject: [Nagios-users] Respond to pages

I did a quick search of the mailing list archives and didn't find
anything.

Before I start on this, I'd like to see if anyone has done something
similar.

Currently I have pages going to our admins skytel accounts. I'd like
them to reply with an "Ok" or "Thank You" (two default options) which
would go to nagios on the server. Then a procmail script (for example)
would take those replies and, if an "Ok" page was returned, disable
further pages. One additional page would go out to the page group
indicating the admin who said "Ok" would handle the incident.

Perhaps "Thank You" would page out acknowledgement of the page to the
page group members.

Anyway, has any work on such a beast been done? Is someone else perhaps
working on this idea and I can test?

Thanks,

Carl



-- __--__-- 

Message: 7
Subject: RE: [Nagios-users] check_nt memuse - can I separate RAM from swap
Date: Fri, 14 Nov 2003 08:03:38 -0600
From: "VanZee, Timothy" 
To: ,


To answer your question: I don't know.

However, what I did was to figure out the percent usage that would equal
the value I was looking for less the swap space. Here's an example,
because that is worded so poorly.

I have 1 gig of RAM and a 2 gig swap or pagesys. Total that is 3 gig.
However, I want to know when my RAM reaches 75% utilization. So take
the 768 MB, plus your minimum pagesys size (for me 2048 MB) and you get
2816 which is 92%. Maybe I've got some bad logic here, but I'm sure
I'll hear about it if I do.


Tim Van Zee
ITS Network Specialist
Governors State University

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
Michal.Mazurek at avon.com
Sent: Friday, November 14, 2003 4:40 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_nt memuse - can I separate RAM from swap

Hi

When I use check_nt to see the memory usage I get the overall value of
RAM
and swap. This isn't really helpfull because there is no way that the
system can use entire swap - especially when there's about 500MB
dynamically assigned. Is there a way to configure nagios or the NT 4.0
server to see RAM and swap info separatly?

Regards
Michal Mazurek





-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
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




-- __--__-- 

Message: 8
From: "Randal, Phil" 

To: "'Michal.Mazurek at avon.com'" ,
nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] check_nt memuse - can I separate RAM from swap
Date: Fri, 14 Nov 2003 14:34:35 -0000

I use a simple KiXtart script run via nrpe_nt to return that info.

Details are here:

http://support.tsmgsoftware.com/viewtopic.php?t=42

Cheers,

Phil

---------------------------------------------
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK 

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of
> Michal.Mazurek at avon.com
> Sent: 14 November 2003 10:40
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_nt memuse - can I separate RAM from swap
> 
> 
> Hi
> 
> When I use check_nt to see the memory usage I get the overall 
> value of RAM
> and swap. This isn't really helpfull because there is no way that the
> system can use entire swap - especially when there's about 500MB
> dynamically assigned. Is there a way to configure nagios or the NT 4.0
> server to see RAM and swap info separatly?
> 
> Regards
> Michal Mazurek
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> 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: 9
From: d.deboni at edexter.it
To: Ewan Leith 
Cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NRPE on AIX
Date: Fri, 14 Nov 2003 16:44:06 +0100

This is a multipart message in MIME format.
--=_alternative 00566F0EC1256DDE_=
Content-Type: text/plain; charset="US-ASCII"

>>>>checking whether the C compiler (cc ) is a cross-compiler... yes 
>>> 
>>That's your problem, the C compiler is wrong. It shouldn't be a
>>cross-compiler

Hi, that's true!


Now I've downloaded the gcc compiler for AIX from this site 
(www.bullfreeware.com).
But is doesn't work because of this:

0509-036 Cannot load program gcc because of the following errors:
0509-150 Dependent module libintl.a(shr.o) could not be loaded.
0509-022 Cannot load module libintl.a(shr.o).
0509-026 System error: A file or directory in the path name does 
not exist.

I have installed another packet (gettext) from this site
http://aixpdslib.seas.ucla.edu/packages/gettext.html

and now I get this other error :(

exec(): 0509-036 Cannot load program gcc because of the following errors:
0509-150 Dependent module /usr/local/lib/libintl.a(shr.o) could 
not be loaded.
0509-152 Member shr.o is not found in archive




Davide De Boni

Email: d.deboni at edexter.it

e.Dexter S.P.A.
C.so Risorgimento 5
28823 Ghiffa (VB)
ITALIA
Tel +39.0323.407733
Fax +39.0323.53558
--=_alternative 00566F0EC1256DDE_=
Content-Type: text/html; charset="US-ASCII"



>>>>checking whether the C compiler (cc
 ) is a cross-compiler... yes 

>>> 

>>That's your problem, the C compiler is wrong. It shouldn't be a

>>cross-compiler



Hi, that's true!





Now I've downloaded the gcc compiler for AIX from
this site (www.bullfreeware.com).

But is doesn't work because of this:



0509-036 Cannot load program gcc because of the following
errors:

        0509-150   Dependent
module libintl.a(shr.o) could not be loaded.

        0509-022 Cannot load module
libintl.a(shr.o).

        0509-026 System error:
A file or directory in the path name does not exist.



I have installed another packet (gettext) from this
site

http://aixpdslib.seas.ucla.edu/packages/gettext.html



and now I get this other error :(



exec(): 0509-036 Cannot load program gcc because of
the following errors:

        0509-150   Dependent
module /usr/local/lib/libintl.a(shr.o) could not be loaded.

        0509-152   Member
shr.o is not found in archive









Davide De Boni



Email: d.deboni at edexter.it



e.Dexter S.P.A.

C.so Risorgimento 5

28823 Ghiffa (VB)

ITALIA

Tel +39.0323.407733

Fax +39.0323.53558
--=_alternative 00566F0EC1256DDE_=--


-- __--__-- 

Message: 10
Subject: RE: [Nagios-users] check_nt memuse - can I separate RAM from swap
Date: Fri, 14 Nov 2003 16:22:10 -0000
From: "Phil Costelloe" 

To: 

> From: Michal.Mazurek at avon.com [mailto:Michal.Mazurek at avon.com]=20
>=20
> When I use check_nt to see the memory usage I get the overall=20
> value of RAM and swap. This isn't really helpfull because=20
> there is no way that the system can use entire swap -=20
> especially when there's about 500MB dynamically assigned. Is=20
> there a way to configure nagios or the NT 4.0 server to see=20
> RAM and swap info separatly?

NSClient is dependent on the available Windows performance
counters. The normal ones are a rather odd bunch, none of
which seem to be able to answer the simple question "how
much physical memory is being used?".

You can ask "how much physical memory is left?" by using

-v COUNTER -l "\\Memory\\Available Mbytes"

in your check_nt command. You can also use "Available
Bytes" and "Available Kbytes".

The explanation of the counter is ... "Available MBytes is the
amount of physical memory available to processes running on the
computer, in Megabytes (Bytes / 1,048,576). It is calculated
by summing space on the Zeroed, Free, and Stand by memory
lists. Free memory is ready for use; Zeroed memory are pages
of memory filled with zeros to prevent later processes from
seeing data used by a previous process. Standby memory is
memory removed from a process' working set (its physical
memory) on route to disk, but is still available to be
recalled. This counter displays the last observed value
only; it is not an average."

Phil


-- __--__-- 

Message: 11
Date: Fri, 14 Nov 2003 18:11:50 +0100
From: "Verstege, Bernhard" 
To: "NAGIOS" 
Subject: [Nagios-users] How many passive service check results per second ?

Hi,

we have set up Nagios with ditributed monitoring.
The Nagios-Master gets only passive service check results
fron the distributed monitors (about 8000 per hour)
and does not run any eventhandler.

We see a lot of failed send-nsca commands on the disributed monitors
and the external command file at the master is most of the time
nearly 4k big (is this the maximum for a FIFO-stack ?)

Setting the command check interval to 2s results in an increasing
number of nagios processes, but the external command file becomes
only 1.5k big and most send-nsca are successful.

What is the maximum number of passive service check results nagios
can handle ? It is running on a dual PII 1,26Ghz with 1GB RAM.

Thanks
Bernhard


-- __--__-- 

Message: 12
Date: Fri, 14 Nov 2003 11:51:18 -0800 (PST)
From: - 
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Notification Specifics on V1.1

Afternoon,

Running Nagios on an OS X.2.8 server. Runs fine,
however all the talk about send mail and the
alternatives has me curious how Nagios actually
forwards notifications. I'm assuming Nagios utilizes
the misccommands.cfg but I would like to know if can
simply call to any email program for notifications.

For example, this install of nagios is deployed in a
university enviroment and establishing sendmail or
alternative would be completly redundant with the
university supporting mail services. Or my
inexperience with sendmail has me confused.

I can't imagine that I'm the only one with the
privilege and perhaps the pitfall of a managed mail
service. With that said, I simply want nagios to
forward notifications to a unix based email program
(mta) which will email the notifications via the
university smtp server.

I believe i have provided enough information so I look
forward to the responses.

Regards

axiom

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


-- __--__-- 

Message: 13
Date: Fri, 14 Nov 2003 12:14:41 -0800 (PST)
From: Jon Lyons 
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_apc_ups.pl errors

--0-2139179332-1068840881=:79181
Content-Type: text/plain; charset=us-ascii

I get this error when attempting to execute check_apc_ups.pl, do I need a
perl module or something? Perl doesn't seem to like the "use lib uitls.pm"
command....


fwlogs# ./check_apc_ups.pl
Bareword "utils" not allowed while "strict subs" in use at
./check_apc_ups.pl line 15.
Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl
line 15.
BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl line
16.

use strict;
use Getopt::Long;
use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l
$PROGNAME);
use lib utils.pm;
use utils qw(%ERRORS &print_revision &support &usage);
sub print_help ();
sub print_usage ();
sub get_snmp_int_val ($);
sub escalate_exitval ($);



---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
--0-2139179332-1068840881=:79181
Content-Type: text/html; charset=us-ascii

I get this error when attempting to execute check_apc_ups.pl, do I need a
perl module or something? Perl doesn't seem to like the "use lib uitls.pm"
command....

 

 

fwlogs# ./check_apc_ups.pl
Bareword "utils" not allowed while "strict subs" in use at
./check_apc_ups.pl line 15.
Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl
line 15.
BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl line
16.


use strict;
use Getopt::Long;
use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l
$PROGNAME);
use lib utils.pm;
use utils qw(%ERRORS &print_revision &support &usage);

sub print_help ();
sub print_usage ();
sub get_snmp_int_val ($);
sub escalate_exitval ($);



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

Do you Yahoo!?

Protect your identity with Yahoo! Mail AddressGuard
--0-2139179332-1068840881=:79181--


-- __--__-- 

Message: 14
From: Ramon torres 
To: nagios-users at lists.sourceforge.net
Organization: 
Date: 14 Nov 2003 15:15:46 -0500
Subject: [Nagios-users] Whoops!

yo instale nagios y ya esta corriendo, cuando verifico antes de iniciar
me dice que no hay problemas ninguno, 0 errores y 0 warnings, cuando lo
arranco me dice 

No lock file found in /usr/local/nagios/var/nagios.lock

al parecer arranca sin problemas 


en la interface web, la parte de la ayuda funciona sin problemas, pero
la parte de los cgi, no funciona bien, me sale el cartel que dice
Whoops! 

The most common cause of this error message (especially for new users),
is the fact that Nagios is not actually running. If Nagios is indeed not
running, this is a normal error message. It simply indicates that the
CGIs could not obtain the current status of hosts and services that are
being monitored. If you've just installed things, make sure you read the
documentation on starting Nagios. 

Some other things you should check in order to resolve this error
include: 

Check the Nagios log file for messages relating to startup or status
data errors. 
Always verify configuration options using the -v command-line option
before starting or restarting Nagios! 
Make sure you've compiled the main program and the CGIs to use the same
status data storage options (i.e. text file or database). If the main
program is storing status data in a text file and the CGIs are trying to
read status data from a database, you'll have problems. 

Make sure you read the documentation on installing, configuring and
running Nagios thoroughly before continuing. If all else fails, try
sending a message to one of the mailing lists. More information can be
found at http://www.nagios.org.



-- __--__-- 

Message: 15
To: Nagios-users at lists.sourceforge.net
Date: Fri, 14 Nov 2003 13:33:57 -0800
From: "Valiente G. Humberto" 

Reply-To: hvg05 at terra.com
Organization: Correo (http://www.mail.terra.com:80)
Subject: [Nagios-users] $ARGx$

I would like to now where are defined the format for the argumentes on every
check_command. Where I can find any docummentation on it??





___________________________________________________
¡LOS CHISMES AHORA TE LLEGAN AL INSTANTE!
¡Nuevo TERRA MESSENGER, Gratis, en Inglés, Español o Portugués!
http://im.terra.com


-- __--__-- 

Message: 16
Subject: Re: [Nagios-users] Re: parent outages - behaviour for children?
From: Dan Stromberg 
To: Tedman Eng 
Cc: Dan Stromberg ,
nagios-users at lists.sourceforge.net
Organization: 
Date: 12 Nov 2003 08:34:22 -0800


--=-9AuZAk0/8XvpaNor8ipt
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-11-10 at 20:27, Tedman Eng wrote:
> If there are
> 2 parents, both must be down before children are "Unreacchable" status.

Hm. Maybe this is why my parents aren't working as I'd hoped.

Are you saying that if I have:

nagios host -> router1 -> router2 -> router3 -> monitored host

...and router1 is a parent of router2, and router2 is a parent of
router3, and router3 is a parent of monitored host, then all four have
to be down before nagios will mark monitored host as unreachable?

If that's the case, then I'm getting rid of router1 and router2 from my
setup.

Or do you mean:

router1 -
\
- monitored host
/
router2 -

?

--=20
Dan Stromberg DCS/NACS/UCI 


--=-9AuZAk0/8XvpaNor8ipt
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA/smEOo0feVm00f/8RAjgYAJ9qfSvmyB7AxrjIOZN+BbWVLFRf8gCfRFFV
rYBANmadhwBAXECP+PjvOn8=
=C70j
-----END PGP SIGNATURE-----

--=-9AuZAk0/8XvpaNor8ipt--


-- __--__-- 

Message: 17
Subject: RE: [Nagios-users] $ARGx$
Date: Fri, 14 Nov 2003 15:58:38 -0600
From: "Marc Powell" 
To: ,




> -----Original Message-----
> From: Valiente G. Humberto [mailto:hvg05 at terra.com]
> Sent: Friday, November 14, 2003 3:34 PM
> To: Nagios-users at lists.sourceforge.net
>=20
> I would like to now where are defined the format for the argumentes on
> every check_command. Where I can find any docummentation on it??
>=20

You're asking two different questions. The arguments for each check
command are specific to that command. For example, running check_http
--help shows all the possible command arguments for check_http which are
very different than for check_ntp (check_ntp --help). You may or may not
need/want to use $ARGx$ macro substitution for one or more of the
command options entirely at your discretion.

$ARGx$ macros are not complicated. The only documentation that should be
necessary is=20

http://nagios.sourceforge.net/docs/1_0/configmain.html#resource_file

and the examples in resource.cfg.
http://nagios.sourceforge.net/docs/1_0/macros.html shows where you can
use each of the pre-defined macros and the user specified $ARGx$ macros
(at the bottom).

--
Marc=20


-- __--__-- 

Message: 18
Subject: RE: [Nagios-users] Notification Specifics on V1.1
Date: Fri, 14 Nov 2003 16:03:41 -0600
From: "Marc Powell" 
To: "-" ,


Nagios doesn't speak SMTP so it needs to pass the email off to some
program on your linux box that can do mail delivery. Typically this is
/bin/mail which then processes it with whatever SMTP daemon it is
configured to use (typically sendmail). You have two primary options:

1) configure sendmail or other MTA on your linux box to smarthost to
your managed mail servers or
2) http://www.nagios.org/faqs/viewfaq.php?faq_id=3D150=20

--
Marc

> -----Original Message-----
> From: - [mailto:axiomgrid at yahoo.com]
> Sent: Friday, November 14, 2003 1:51 PM
> To: nagios-users at lists.sourceforge.net
>=20
> Afternoon,
>=20
> Running Nagios on an OS X.2.8 server. Runs fine,
> however all the talk about send mail and the
> alternatives has me curious how Nagios actually
> forwards notifications. I'm assuming Nagios utilizes
> the misccommands.cfg but I would like to know if can
> simply call to any email program for notifications.
>=20
> For example, this install of nagios is deployed in a
> university enviroment and establishing sendmail or
> alternative would be completly redundant with the
> university supporting mail services. Or my
> inexperience with sendmail has me confused.
>=20
> I can't imagine that I'm the only one with the
> privilege and perhaps the pitfall of a managed mail
> service. With that said, I simply want nagios to
> forward notifications to a unix based email program
> (mta) which will email the notifications via the
> university smtp server.
>=20
> I believe i have provided enough information so I look
> forward to the responses.
>=20
> Regards
>=20
> axiom


-- __--__-- 

Message: 19
Date: Fri, 14 Nov 2003 17:14:31 -0500 (EST)
From: Matt Pounsett 
To: Dan Stromberg 
cc: Tedman Eng , 
Subject: Re: [Nagios-users] Re: parent outages - behaviour for children?

On 12 Nov 2003, Dan Stromberg wrote:

> On Mon, 2003-11-10 at 20:27, Tedman Eng wrote:
> > If there are
> > 2 parents, both must be down before children are "Unreacchable" status.
> 
> Or do you mean:
> 
> router1 -
> \
> - monitored host
> /
> router2 -

This.

The logic is that if router1 is down, monitored host should still be
reachable
via router2, and so both routers must be down for Nagios to consider
monitored
host to be unreachable.


-- 
Matt Pounsett CIRA - Canadian Internet Registration Authority
Technical Support Programmer 350 Sparks Street, Suite 1110
matt.pounsett at cira.ca Ottawa, Ontario, Canada
613.237.5335 ext. 231 http://www.cira.ca



-- __--__-- 

Message: 20
Subject: RE: [Nagios-users] How many passive service check results per
second ?
Date: Fri, 14 Nov 2003 16:17:24 -0600
From: "Marc Powell" 
To: "Verstege, Bernhard" ,
"NAGIOS" 



> -----Original Message-----
> From: Verstege, Bernhard [mailto:Bernhard.Verstege at iwr.fzk.de]
> Sent: Friday, November 14, 2003 11:12 AM
> To: NAGIOS
>=20
> Hi,
>=20
> we have set up Nagios with ditributed monitoring.
> The Nagios-Master gets only passive service check results
> fron the distributed monitors (about 8000 per hour)
> and does not run any eventhandler.
>=20
> We see a lot of failed send-nsca commands on the disributed monitors
> and the external command file at the master is most of the time
> nearly 4k big (is this the maximum for a FIFO-stack ?)
>=20
> Setting the command check interval to 2s results in an increasing
> number of nagios processes, but the external command file becomes
> only 1.5k big and most send-nsca are successful.
>=20
> What is the maximum number of passive service check results nagios
> can handle ? It is running on a dual PII 1,26Ghz with 1GB RAM.

I believe that someone did some type of calculation for this last year.
For what it's worth, I have 2559 services at 5 minute intervals (all
passive using 4 data collectors reporting all checks to 2 centralized
host for duplication) which equates to about 31,000 per hour and nagios
doesn't even break a sweat. It's currently running on a quad P3 500mhz
with a gig of ram but nagios rarely uses significant resources on the
box and I've had it running on lesser boxen.

Passive Checks: Time Frame Checks Completed=20
<=3D 1 minute: 219 (8.6%)=20
<=3D 5 minutes: 2545 (99.5%)=20
<=3D 15 minutes: 2559 (100.0%)=20
<=3D 1 hour: 2559 (100.0%)=20
Since program start: 2559 (100.0%)=20
=20

You don't say how often you are checking your services and that will
have a _big_ impact on nagios performance. If I were doing the same
checks above at 1 minute intervals I'd probably be killing nagios. Some
of my pertinent nagios.cfg settings are below --

service_reaper_frequency=3D5
retention_update_interval=3D5
aggregate_status_updates=3D1
command_check_interval=3D-1


--
Marc


-- __--__-- 

Message: 21
From: Jeremy Madea 
To: nagios-users at lists.sourceforge.net
Date: Fri, 14 Nov 2003 15:10:13 -0800
Subject: [Nagios-users] Byzantine configs? Or am I doing it wrong?


We have eight backup servers in several different locations. We've got
multiple people responsible for their care and feeding. We want to check
pings to all of these servers and ssh access to some of them. Some of the
servers are more critical than others and -one- guy gets paged if these
aren't pingable.

So, I add all this to Nagios... 

* A contact for each back admin including a separate pager contact for the
guy who gets pages.
* A contact group that includes the backup admins.
* A separate contact group that only includes the pager contact.
* Host entries for each of the 8 servers.
* A hostgroup so that the backup-admins can see their servers grouped nicely
together in the web interface.
* A ping service containing the hosts that we don't want to send pages for.
* A ping service containing the hosts that we do want to send page for.
* An ssh service containing the hosts that we need to check ssh on.

Am I making it harder than it needs to be?

-j

--
Jeremy Madea



-- __--__-- 

Message: 22
Date: Fri, 14 Nov 2003 18:24:32 -0500 (EST)
From: Subhendu Ghosh 
To: Jon Lyons 
cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] check_apc_ups.pl errors

utils.pm is normally fixed by the configure/make process.

change the "use lib utils.pm;" line to point to the directory containging 
utils.pm - usually "use lib /usr/local/nagios/libexec;"

-sg

On Fri, 14 Nov 2003, Jon Lyons wrote:

> I get this error when attempting to execute check_apc_ups.pl, do I need a
perl module or something? Perl doesn't seem to like the "use lib uitls.pm"
command....
> 
> 
> fwlogs# ./check_apc_ups.pl
> Bareword "utils" not allowed while "strict subs" in use at
./check_apc_ups.pl line 15.
> Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl
line 15.
> BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl
line 16.
> 
> use strict;
> use Getopt::Long;
> use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l
$PROGNAME);
> use lib utils.pm;
> use utils qw(%ERRORS &print_revision &support &usage);
> sub print_help ();
> sub print_usage ();
> sub get_snmp_int_val ($);
> sub escalate_exitval ($);
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard

-- 




-- __--__-- 

Message: 23
Date: Sat, 15 Nov 2003 00:37:40 +0100
From: "Massimo Bandinelli" 
To: 
Subject: [Nagios-users] How can I query nagios?

Hi!

I need to query nagios about the status of services, but an host
different from the nagios host.

Is there a command with this function??

Es.:

# check_service_status 

# check_service_status mynagios.foo.it dns.foo.it DNS
STATUS OK (exit 0)

Thanks, Massimo.

Massimo Bandinelli
System Administrator
---------------------------------------
Register.it S.p.A. - Gruppo DADA
tel +39 199 REGIST (+39 199 734478)
fax +39 035 3230312
http://we.register.it
mailto:we at register.it
=20
=09


-- __--__-- 

Message: 24
Subject: RE: [Nagios-users] How can I query nagios?
Date: Fri, 14 Nov 2003 16:39:52 -0800
From: "David Olbersen" 
To: "Massimo Bandinelli" ,


Massimo Bandinelli wrote:

> Hi!
>=20
> I need to query nagios about the status of services, but an host
> different from the nagios host.
>=20
> Is there a command with this function??
>=20
> Es.:
>=20
> # check_service_status 
>=20
> # check_service_status mynagios.foo.it dns.foo.it DNS
> STATUS OK (exit 0)

Massimo,

There's no such thing that I've found. The solution I've taken is having =
an event handler create a zero-byte file on the machine that's =
concerned.

For example:
- Monitor machine A's disk space because machine B needs to put stuff =
there
- Write an event handler so that if A.disk goes critical, write a 0 byte =
file on machine B=20
(like /var/tmp/a_disk_full) saying so. When the service goes back to =
normal, rm the file.
- Update whatever program needs to know, to look for that file.

I think it'll work just fine.

--=20
David Olbersen
iGuard Engineer
St. Bernard Software
15015 Avenue of Sciences
San Diego, CA 92127
x2152


-- __--__-- 

Message: 25
From: Justin Fitzhugh 
Subject: Re: [Nagios-users] Hosts and Hostgroups
Date: Fri, 14 Nov 2003 20:12:17 -0800
To: jeff vier ,
nagios-users 

Does this mean that in 2.x you will be able to have sub-groups (groups 
members of other groups)?

-Justin

On Nov 13, 2003, at 3:32 PM, jeff vier wrote:

> Not in 1.x
>
> On Thu, 2003-11-13 at 16:33, Chuck McIntyre wrote:
>> Also, is there any way to make a hostgroup be a member of another 
>> hostgroup?
>>
>> -----Original Message-----
>> From: nagios-users-admin at lists.sourceforge.net 
>> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack 
>> Doyle
>> Sent: Thursday, November 13, 2003 1:23 PM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] Hosts and Hostgroups
>>
>>
>> Can a single host be a member of more than one hostgroup?
>>
>> -----
>> John N. Doyle, Systems Operations Specialist
>> Lewis-Gale Clinic Information Systems
>>
>> 540.772.3669 > jdoyle at lewisgaleclinic.com
>>
>>
>> -------------------------------------------------------
>> This SF.Net email sponsored by: ApacheCon 2003,
>> 16-19 November in Las Vegas. Learn firsthand the latest
>> developments in Apache, PHP, Perl, XML, Java, MySQL,
>> WebDAV, and more! http://www.apachecon.com/
>> _______________________________________________
>> 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
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> 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




-- __--__-- 

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


End of Nagios-users Digest

:*~*:._.:*P*:._.:*a*:._.:*G*:._.:*u*:._.:*X*:._.:*~*:
           _
          |E]
        .-|=====-.
        | | MAIL |   
        |________|___
            ||
            ||<----  www.Gauravinfo.8k.com ---->
            ||   www                  www
     www||   )_(,;;;,             ,;,\_/ www
     )_(   ||   \|/ \_/               )_(\|  (_)
     \|   \ || /\\|/  |/               \| \|// | 
 ___\|//_||//_\V/_\|//_______\\|//V/\\|/__

---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
--0-1450500478-1068879281=:92805
Content-Type: text/html; charset=us-ascii

<DIV>Hi Guys,</DIV>
<DIV>            I
want to use Nagios as platform to develop customized applications/plugins to
develop customized monitoring and scheduling solution for our customer
</DIV>
<DIV>I am very exited about NXE (Nagios XML Engine), but how good is Nagios
as development platform and scheduling platform</DIV>
<DIV>Plz share your eperiences</DIV>
<DIV>Is there any good Nagios (plugin) developer resources, How-to plz
sgare</DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV>gaurav</DIV>
<DIV> </DIV>
<DIV><BR><BR><B><I>nagios-users-request at lists.sourceforge.net</I></B>
wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #1010ff 2px solid">Send Nagios-users mailing list submissions
to<BR>nagios-users at lists.sourceforge.net<BR><BR>To subscribe or unsubscribe
via the World Wide Web,
visit<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>or,
via email, send a message with subject or body 'help'
to<BR>nagios-users-request at lists.sourceforge.net<BR><BR>You can reach the
person managing the list
at<BR>nagios-users-admin at lists.sourceforge.net<BR><BR>When replying, please
edit your Subject line so it is more specific<BR>than "Re: Contents of
Nagios-users digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. Using SEC with
Nagios for SNMP trap processing (Noah Leaman)<BR>2. Re: New to nagios (Jim
Mozley)<BR>3. check_nt memuse - can I separate RAM from swap
(Michal.Mazurek at avon.com)<BR>4. Re: Newbie - Windows diskspace (Michael
=?iso-8859-1?q?H=FCttig?=)<BR>5. Nagios Macros (Marco Ramos)<BR>6. Respond
to pages (Carl
 Schelin)<BR>7. RE: check_nt memuse - can I separate RAM from swap (VanZee,
Timothy)<BR>8. RE: check_nt memuse - can I separate RAM from swap (Randal,
Phil)<BR>9. RE: NRPE on AIX (d.deboni at edexter.it)<BR>10. RE: check_nt memuse
- can I separate RAM from swap (Phil Costelloe)<BR>11. How many passive
service check results per second ? (Verstege, Bernhard)<BR>12. Notification
Specifics on V1.1 (-)<BR>13. check_apc_ups.pl errors (Jon Lyons)<BR>14.
Whoops! (Ramon torres)<BR>15. $ARGx$ (Valiente G. Humberto)<BR>16. Re: Re:
parent outages - behaviour for children? (Dan Stromberg)<BR>17. RE: $ARGx$
(Marc Powell)<BR>18. RE: Notification Specifics on V1.1 (Marc Powell)<BR>19.
Re: Re: parent outages - behaviour for children? (Matt Pounsett)<BR>20. RE:
How many passive service check results per second ? (Marc Powell)<BR>21.
Byzantine configs? Or am I doing it wrong? (Jeremy Madea)<BR>22. Re:
check_apc_ups.pl errors (Subhendu Ghosh)<BR>23. How can I query nagios?
(Massimo Bandinelli)<BR>24. RE:
 How can I query nagios? (David Olbersen)<BR>25. Re: Hosts and Hostgroups
(Justin Fitzhugh)<BR><BR>-- __--__-- <BR><BR>Message: 1<BR>Date: Fri, 14 Nov
2003 00:19:00 -0800<BR>From: Noah Leaman <NOAH at MAC.COM><BR>To:
nagios-users at lists.sourceforge.net<BR>Subject: [Nagios-users] Using SEC with
Nagios for SNMP trap processing<BR><BR>I am thrilled with the prospect of
using SEC to process SNMP traps, but <BR>I am wondering the best way to send
the received trap(s) to sec.pl.<BR><BR>Should I setup a "traphandle default"
in snmptrapd.conf to pipe each <BR>trap separately to SEC, or use the
traphandle to append to a log file <BR>then have that log file read by SEC.
If it is the latter, then how or <BR>when does SEC get instantiated so it
can read the file and how does <BR>being able to perform time-based
correlation come into play with how <BR>the traps are read by SEC?<BR><BR>I
know I am missing a part of the puzzle here. Otherwise I think I
<BR>understand how to integrate SEC into Nagios as
 far as setting up the <BR>passive service and using SEC to write to
nagios.cmd.<BR><BR>--<BR>Noah<BR><BR><BR><BR>-- __--__-- <BR><BR>Message:
2<BR>Date: Fri, 14 Nov 2003 10:03:12 +0000<BR>From: Jim Mozley
<JIM.MOZLEY at EXPONENTIAL-E.COM><BR>Organization: Exponential-e<BR>To:
nagios-users at lists.sourceforge.net<BR>Subject: Re: [Nagios-users] New to
nagios<BR><BR>Sullivan, Robert (HQP) wrote:<BR><BR>> Does anyone have an
example of this? <BR><BR>is difficult to read ;-)<BR><BR>Top
posting...<BR><BR>> You'll have to specify every host you want to monitor
in the hosts file, <BR>> but the idea behind templating is that you make
one template for each <BR>> 'class' of hosts, then write some very small
entries of each. So, if you <BR>> have some sun servers, you create a
template that defines everything about <BR>> a generic server. You then
write a small awk script to take the list of <BR>> hostnames you want to
monitor and have it spit out a small host entry that <BR>>
 also invokes the template. <BR><BR>I use some perl to query switches and
define ports as services, so that <BR>as new ports are brought into use they
are added to Nagios. I guess one <BR>could do something similar for system
hosts and the services run on <BR>them. If it would help I can send you an
example but you would have to <BR>wade through perl and modify it to be
useful.<BR><BR>Jim<BR><BR><BR><BR>-- __--__-- <BR><BR>Message: 3<BR>To:
nagios-users at lists.sourceforge.net<BR>From: Michal.Mazurek at avon.com<BR>Date:
Fri, 14 Nov 2003 11:39:56 +0100<BR>Subject: [Nagios-users] check_nt memuse -
can I separate RAM from swap<BR><BR>Hi<BR><BR>When I use check_nt to see the
memory usage I get the overall value of RAM<BR>and swap. This isn't really
helpfull because there is no way that the<BR>system can use entire swap -
especially when there's about 500MB<BR>dynamically assigned. Is there a way
to configure nagios or the NT 4.0<BR>server to see RAM and swap info
 separatly?<BR><BR>Regards<BR>Michal Mazurek<BR><BR><BR><BR><BR><BR>--
__--__-- <BR><BR>Message: 4<BR>From: Michael =?iso-8859-1?q?H=FCttig?=
<BR><MICHAEL.HUETTIG at MEDIEN-SYSTEMPARTNER.DE><BR>Organization: Medien
Systempartner GmbH<BR>To: nagios-users at lists.sourceforge.net<BR>Subject: Re:
[Nagios-users] Newbie - Windows diskspace<BR>Date: Fri, 14 Nov 2003 13:19:09
+0100<BR><BR>hi,<BR>yes, no problem, use nsclient<BR>works fine
...<BR><BR>Regards<BR><BR>Michael<BR>Am Donnerstag, 13. November 2003 17:29
schrieb Tom.Corcoran at meridianp2p.com:<BR>> Hi All<BR>><BR>> Just a
quickie, Can Nagios monitor a windows server diskspace by<BR>>
driveletter and also can the free diskspace be measured against a<BR>>
threshold?<BR>><BR>><BR>> Regards<BR>><BR>> Tom
Corcoran<BR>> IT
Dept.<BR>><BR>><BR>><BR>><BR>><BR>><BR>>
-------------------------------------------------------<BR>> This SF.Net
email sponsored by: ApacheCon 2003,<BR>> 16-19
 November in Las Vegas. Learn firsthand the latest<BR>> developments in
Apache, PHP, Perl, XML, Java, MySQL,<BR>> WebDAV, and more!
http://www.apachecon.com/<BR>>
_______________________________________________<BR>> Nagios-users mailing
list<BR>> Nagios-users at lists.sourceforge.net<BR>>
https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>><BR>>
::: Please include Nagios version, plugin version (-v) and OS when<BR>>
::: reporting any issue. Messages without supporting info will risk
being<BR>> ::: sent to
/dev/null<BR><BR><BR><BR>***************************************************
*******************<BR>Diese E-Mail wurde auf Viren
ueberprueft.<BR>www.mimesweeper.com<BR>*************************************
*********************************<BR><BR><BR><BR>-- __--__--
<BR><BR>Message: 5<BR>Date: Fri, 14 Nov 2003 12:42:42 -0000<BR>From: "Marco
Ramos" <MRAMOS at TP.TELEPAC.PT><BR>To:
<NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR>Subject: [Nagios-users] Nagios
 Macros<BR><BR><BR>Hi,<BR><BR>Is there any macro associated to the logged in
user? When some of my =<BR>Nagios users acknowlege a messsage, I would like
the mail sent by Nagios =<BR>to show whose user has done it. Is there any
way to do this using =<BR>macros?<BR><BR>TIA,<BR>Marco
Ramos<BR><BR><BR><BR><BR><BR>-- __--__-- <BR><BR>Message: 6<BR>From: Carl
Schelin <CSCHELIN at HQ.NASA.GOV><BR>To:
nagios-users at lists.sourceforge.net<BR>Organization: SAIC<BR>Date: 14 Nov
2003 08:21:20 -0500<BR>Subject: [Nagios-users] Respond to pages<BR><BR>I did
a quick search of the mailing list archives and didn't
find<BR>anything.<BR><BR>Before I start on this, I'd like to see if anyone
has done something<BR>similar.<BR><BR>Currently I have pages going to our
admins skytel accounts. I'd like<BR>them to reply with an "Ok" or "Thank
You" (two default options) which<BR>would go to nagios on the server. Then a
procmail script (for example)<BR>would take those replies and, if an "Ok"
page was returned,
 disable<BR>further pages. One additional page would go out to the page
group<BR>indicating the admin who said "Ok" would handle the
incident.<BR><BR>Perhaps "Thank You" would page out acknowledgement of the
page to the<BR>page group members.<BR><BR>Anyway, has any work on such a
beast been done? Is someone else perhaps<BR>working on this idea and I can
test?<BR><BR>Thanks,<BR><BR>Carl<BR><BR><BR><BR>-- __--__-- <BR><BR>Message:
7<BR>Subject: RE: [Nagios-users] check_nt memuse - can I separate RAM from
swap<BR>Date: Fri, 14 Nov 2003 08:03:38 -0600<BR>From: "VanZee, Timothy"
<T-VANZEE at GOVST.EDU><BR>To:
<MICHAL.MAZUREK at AVON.COM>,<BR><NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR><BR>To
answer your question: I don't know.<BR><BR>However, what I did was to figure
out the percent usage that would equal<BR>the value I was looking for less
the swap space. Here's an example,<BR>because that is worded so
poorly.<BR><BR>I have 1 gig of RAM and a 2 gig swap or pagesys. Total that
is 3 gig.<BR>However, I
 want to know when my RAM reaches 75% utilization. So take<BR>the 768 MB,
plus your minimum pagesys size (for me 2048 MB) and you get<BR>2816 which is
92%. Maybe I've got some bad logic here, but I'm sure<BR>I'll hear about it
if I do.<BR><BR><BR>Tim Van Zee<BR>ITS Network Specialist<BR>Governors State
University<BR><BR>-----Original Message-----<BR>From:
nagios-users-admin at lists.sourceforge.net<BR>[mailto:nagios-users-admin at lists
.sourceforge.net] On Behalf Of<BR>Michal.Mazurek at avon.com<BR>Sent: Friday,
November 14, 2003 4:40 AM<BR>To:
nagios-users at lists.sourceforge.net<BR>Subject: [Nagios-users] check_nt
memuse - can I separate RAM from swap<BR><BR>Hi<BR><BR>When I use check_nt
to see the memory usage I get the overall value of<BR>RAM<BR>and swap. This
isn't really helpfull because there is no way that the<BR>system can use
entire swap - especially when there's about 500MB<BR>dynamically assigned.
Is there a way to configure nagios or the NT 4.0<BR>server to see RAM and
swap info
 separatly?<BR><BR>Regards<BR>Michal
Mazurek<BR><BR><BR><BR><BR><BR>---------------------------------------------
----------<BR>This SF.Net email sponsored by: ApacheCon 2003,<BR>16-19
November in Las Vegas. Learn firsthand the latest<BR>developments in Apache,
PHP, Perl, XML, Java, MySQL,<BR>WebDAV, and more!
http://www.apachecon.com/<BR>_______________________________________________
<BR>Nagios-users mailing
list<BR>Nagios-users at lists.sourceforge.net<BR>https://lists.sourceforge.net/
lists/listinfo/nagios-users<BR>::: Please include Nagios version, plugin
version (-v) and OS when<BR>reporting any issue.=20<BR>::: Messages without
supporting info will risk being sent to /dev/null<BR><BR><BR><BR><BR>--
__--__-- <BR><BR>Message: 8<BR>From: "Randal, Phil"
<PRANDAL at HEREFORDSHIRE.GOV.UK><BR>To: "'Michal.Mazurek at avon.com'"
<MICHAL.MAZUREK at AVON.COM>,<BR>nagios-users at lists.sourceforge.net<BR>Subject:
RE: [Nagios-users] check_nt memuse - can I separate RAM from swap<BR>Date:
Fri, 14 Nov 2003
 14:34:35 -0000<BR><BR>I use a simple KiXtart script run via nrpe_nt to
return that info.<BR><BR>Details are
here:<BR><BR>http://support.tsmgsoftware.com/viewtopic.php?t=42<BR><BR>Cheer
s,<BR><BR>Phil<BR><BR>---------------------------------------------<BR>Phil
Randal<BR>Network Engineer<BR>Herefordshire Council<BR>Hereford, UK
<BR><BR>> -----Original Message-----<BR>> From:
nagios-users-admin at lists.sourceforge.net<BR>>
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of<BR>>
Michal.Mazurek at avon.com<BR>> Sent: 14 November 2003 10:40<BR>> To:
nagios-users at lists.sourceforge.net<BR>> Subject: [Nagios-users] check_nt
memuse - can I separate RAM from swap<BR>> <BR>> <BR>> Hi<BR>>
<BR>> When I use check_nt to see the memory usage I get the overall
<BR>> value of RAM<BR>> and swap. This isn't really helpfull because
there is no way that the<BR>> system can use entire swap - especially
when there's about 500MB<BR>> dynamically
 assigned. Is there a way to configure nagios or the NT 4.0<BR>> server
to see RAM and swap info separatly?<BR>> <BR>> Regards<BR>> Michal
Mazurek<BR>> <BR>> <BR>> <BR>> <BR>> <BR>>
-------------------------------------------------------<BR>> This SF.Net
email sponsored by: ApacheCon 2003,<BR>> 16-19 November in Las Vegas.
Learn firsthand the latest<BR>> developments in Apache, PHP, Perl, XML,
Java, MySQL,<BR>> WebDAV, and more! http://www.apachecon.com/<BR>>
_______________________________________________<BR>> Nagios-users mailing
list<BR>> Nagios-users at lists.sourceforge.net<BR>>
https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> ::: Please
include Nagios version, plugin version (-v) and OS <BR>> when reporting
any issue. <BR>> ::: Messages without supporting info will risk being
sent to /dev/null<BR>> <BR><BR><BR>-- __--__-- <BR><BR>Message:
9<BR>From: d.deboni at edexter.it<BR>To: Ewan Leith
 <EJL at MAN.FWLTECH.COM><BR>Cc: nagios-users at lists.sourceforge.net<BR>Subject:
RE: [Nagios-users] NRPE on AIX<BR>Date: Fri, 14 Nov 2003 16:44:06
+0100<BR><BR>This is a multipart message in MIME format.<BR>--=_alternative
00566F0EC1256DDE_=<BR>Content-Type: text/plain;
charset="US-ASCII"<BR><BR>>>>>checking whether the C compiler
(cc ) is a cross-compiler... yes <BR>>>> <BR>>>That's your
problem, the C compiler is wrong. It shouldn't be
a<BR>>>cross-compiler<BR><BR>Hi, that's true!<BR><BR><BR>Now I've
downloaded the gcc compiler for AIX from this site
<BR>(www.bullfreeware.com).<BR>But is doesn't work because of
this:<BR><BR>0509-036 Cannot load program gcc because of the following
errors:<BR>0509-150 Dependent module libintl.a(shr.o) could not be
loaded.<BR>0509-022 Cannot load module libintl.a(shr.o).<BR>0509-026 System
error: A file or directory in the path name does <BR>not exist.<BR><BR>I
have installed another packet (gettext) from this
 site<BR>http://aixpdslib.seas.ucla.edu/packages/gettext.html<BR><BR>and now
I get this other error :(<BR><BR>exec(): 0509-036 Cannot load program gcc
because of the following errors:<BR>0509-150 Dependent module
/usr/local/lib/libintl.a(shr.o) could <BR>not be loaded.<BR>0509-152 Member
shr.o is not found in archive<BR><BR><BR><BR><BR>Davide De
Boni<BR><BR>Email: d.deboni at edexter.it<BR><BR>e.Dexter S.P.A.<BR>C.so
Risorgimento 5<BR>28823 Ghiffa (VB)<BR>ITALIA<BR>Tel +39.0323.407733<BR>Fax
+39.0323.53558<BR>--=_alternative 00566F0EC1256DDE_=<BR>Content-Type:
text/html; charset="US-ASCII"<BR><BR><BR><BR><FONT
size=2><TT>>>>>checking whether the C compiler (cc<BR> ) is
a cross-compiler... yes <BR><BR>>>> <BR><BR>>>That's your
problem, the C compiler is wrong. It shouldn't be
a<BR><BR>>>cross-compiler</TT></FONT><BR><BR><BR><BR><FONT
size=2><TT>Hi, that's true!<BR><BR></TT></FONT><BR><BR><BR><BR><FONT
size=2><TT>Now I've downloaded the gcc compiler
 for AIX from<BR>this site (www.bullfreeware.com).</TT></FONT><BR><BR><FONT
size=2><TT>But is doesn't work because of
this:</TT></FONT><BR><BR><BR><BR><FONT size=2><TT>0509-036 Cannot load
program gcc because of the following<BR>errors:</TT></FONT><BR><BR><FONT
size=2><TT>        0509-150   Dependent<BR>module
libintl.a(shr.o) could not be loaded.</TT></FONT><BR><BR><FONT
size=2><TT>        0509-022 Cannot load
module<BR>libintl.a(shr.o).</TT></FONT><BR><BR><FONT size=2><TT> 
      0509-026 System error:<BR>A file or directory in the
path name does not exist.</TT></FONT><BR><BR><BR><BR><FONT size=2><TT>I have
installed another packet (gettext) from
this<BR>site</TT></FONT><BR><BR><FONT
size=2><TT>http://aixpdslib.seas.ucla.edu/packages/gettext.html</TT></FONT><
BR><BR><BR><BR><FONT size=2><TT>and now I get this other error
:(</TT></FONT><BR><BR><BR><BR><FONT size=2><TT>exec(): 0509-036 Cannot load
program gcc because
 of<BR>the following errors:</TT></FONT><BR><BR><FONT size=2><TT> 
      0509-150   Dependent<BR>module
/usr/local/lib/libintl.a(shr.o) could not be
loaded.</TT></FONT><BR><BR><FONT size=2><TT>       
0509-152   Member<BR>shr.o is not found in
archive</TT></FONT><BR><BR><BR><BR><BR><BR><BR><BR><FONT face=sans-serif
size=2><BR><BR>Davide De Boni<BR><BR><BR><BR>Email:
d.deboni at edexter.it<BR><BR><BR><BR>e.Dexter S.P.A.<BR><BR>C.so Risorgimento
5<BR><BR>28823 Ghiffa (VB)<BR><BR>ITALIA<BR><BR>Tel
+39.0323.407733<BR><BR>Fax +39.0323.53558</FONT><BR>--=_alternative
00566F0EC1256DDE_=--<BR><BR><BR>-- __--__-- <BR><BR>Message: 10<BR>Subject:
RE: [Nagios-users] check_nt memuse - can I separate RAM from swap<BR>Date:
Fri, 14 Nov 2003 16:22:10 -0000<BR>From: "Phil Costelloe"
<PHILC at FOUNDATION-IT.COM><BR>To:
<NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR><BR>> From:
Michal.Mazurek at avon.com
[mailto:Michal.Mazurek at avon.com]=20<BR>>=20<BR>> When I
 use check_nt to see the memory usage I get the overall=20<BR>> value of
RAM and swap. This isn't really helpfull because=20<BR>> there is no way
that the system can use entire swap -=20<BR>> especially when there's
about 500MB dynamically assigned. Is=20<BR>> there a way to configure
nagios or the NT 4.0 server to see=20<BR>> RAM and swap info
separatly?<BR><BR>NSClient is dependent on the available Windows
performance<BR>counters. The normal ones are a rather odd bunch, none
of<BR>which seem to be able to answer the simple question "how<BR>much
physical memory is being used?".<BR><BR>You can ask "how much physical
memory is left?" by using<BR><BR>-v COUNTER -l "\\Memory\\Available
Mbytes"<BR><BR>in your check_nt command. You can also use
"Available<BR>Bytes" and "Available Kbytes".<BR><BR>The explanation of the
counter is ... "Available MBytes is the<BR>amount of physical memory
available to processes running on the<BR>computer, in Megabytes (Bytes /
1,048,576). It
 is calculated<BR>by summing space on the Zeroed, Free, and Stand by
memory<BR>lists. Free memory is ready for use; Zeroed memory are pages<BR>of
memory filled with zeros to prevent later processes from<BR>seeing data used
by a previous process. Standby memory is<BR>memory removed from a process'
working set (its physical<BR>memory) on route to disk, but is still
available to be<BR>recalled. This counter displays the last observed
value<BR>only; it is not an average."<BR><BR>Phil<BR><BR><BR>-- __--__--
<BR><BR>Message: 11<BR>Date: Fri, 14 Nov 2003 18:11:50 +0100<BR>From:
"Verstege, Bernhard" <BERNHARD.VERSTEGE at IWR.FZK.DE><BR>To: "NAGIOS"
<NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR>Subject: [Nagios-users] How many
passive service check results per second ?<BR><BR>Hi,<BR><BR>we have set up
Nagios with ditributed monitoring.<BR>The Nagios-Master gets only passive
service check results<BR>fron the distributed monitors (about 8000 per
hour)<BR>and does not run any eventhandler.<BR><BR>We see a
 lot of failed send-nsca commands on the disributed monitors<BR>and the
external command file at the master is most of the time<BR>nearly 4k big (is
this the maximum for a FIFO-stack ?)<BR><BR>Setting the command check
interval to 2s results in an increasing<BR>number of nagios processes, but
the external command file becomes<BR>only 1.5k big and most send-nsca are
successful.<BR><BR>What is the maximum number of passive service check
results nagios<BR>can handle ? It is running on a dual PII 1,26Ghz with 1GB
RAM.<BR><BR>Thanks<BR>Bernhard<BR><BR><BR>-- __--__-- <BR><BR>Message:
12<BR>Date: Fri, 14 Nov 2003 11:51:18 -0800 (PST)<BR>From: -
<AXIOMGRID at YAHOO.COM><BR>To: nagios-users at lists.sourceforge.net<BR>Subject:
[Nagios-users] Notification Specifics on
V1.1<BR><BR>Afternoon,<BR><BR>Running Nagios on an OS X.2.8 server. Runs
fine,<BR>however all the talk about send mail and the<BR>alternatives has me
curious how Nagios actually<BR>forwards notifications. I'm assuming Nagios
 utilizes<BR>the misccommands.cfg but I would like to know if can<BR>simply
call to any email program for notifications.<BR><BR>For example, this
install of nagios is deployed in a<BR>university enviroment and establishing
sendmail or<BR>alternative would be completly redundant with
the<BR>university supporting mail services. Or my<BR>inexperience with
sendmail has me confused.<BR><BR>I can't imagine that I'm the only one with
the<BR>privilege and perhaps the pitfall of a managed mail<BR>service. With
that said, I simply want nagios to<BR>forward notifications to a unix based
email program<BR>(mta) which will email the notifications via
the<BR>university smtp server.<BR><BR>I believe i have provided enough
information so I look<BR>forward to the
responses.<BR><BR>Regards<BR><BR>axiom<BR><BR>______________________________
____<BR>Do you Yahoo!?<BR>Protect your identity with Yahoo! Mail
AddressGuard<BR>http://antispam.yahoo.com/whatsnewfree<BR><BR><BR>--
__--__-- <BR><BR>Message:
 13<BR>Date: Fri, 14 Nov 2003 12:14:41 -0800 (PST)<BR>From: Jon Lyons
<JLYONS30 at YAHOO.COM><BR>To: nagios-users at lists.sourceforge.net<BR>Subject:
[Nagios-users] check_apc_ups.pl
errors<BR><BR>--0-2139179332-1068840881=:79181<BR>Content-Type: text/plain;
charset=us-ascii<BR><BR>I get this error when attempting to execute
check_apc_ups.pl, do I need a perl module or something? Perl doesn't seem to
like the "use lib uitls.pm" command....<BR><BR><BR>fwlogs#
./check_apc_ups.pl<BR>Bareword "utils" not allowed while "strict subs" in
use at ./check_apc_ups.pl line 15.<BR>Bareword "pm" not allowed while
"strict subs" in use at ./check_apc_ups.pl line 15.<BR>BEGIN not safe after
errors--compilation aborted at ./check_apc_ups.pl line 16.<BR><BR>use
strict;<BR>use Getopt::Long;<BR>use vars qw($opt_V $opt_h $opt_H $opt_T
$opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME);<BR>use lib utils.pm;<BR>use
utils qw(%ERRORS &print_revision &support &usage);<BR>sub
print_help ();<BR>sub print_usage
 ();<BR>sub get_snmp_int_val ($);<BR>sub escalate_exitval
($);<BR><BR><BR><BR>---------------------------------<BR>Do you
Yahoo!?<BR>Protect your identity with Yahoo! Mail
AddressGuard<BR>--0-2139179332-1068840881=:79181<BR>Content-Type: text/html;
charset=us-ascii<BR><BR>
<DIV>I get this error when attempting to execute check_apc_ups.pl, do I need
a perl module or something? Perl doesn't seem to like the "use
lib uitls.pm" command....</DIV><BR>
<DIV> </DIV><BR>
<DIV> </DIV><BR>
<DIV>fwlogs# ./check_apc_ups.pl<BR>Bareword "utils" not allowed while
"strict subs" in use at ./check_apc_ups.pl line 15.<BR>Bareword "pm" not
allowed while "strict subs" in use at ./check_apc_ups.pl line 15.<BR>BEGIN
not safe after errors--compilation aborted at ./check_apc_ups.pl line
16.<BR></DIV><BR>
<DIV>use strict;<BR>use Getopt::Long;<BR>use vars qw($opt_V $opt_h $opt_H
$opt_T $opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME);<BR>use lib
utils.pm;<BR>use utils qw(%ERRORS &print_revision &support
&usage);</DIV><BR>
<DIV>sub print_help ();<BR>sub print_usage ();<BR>sub get_snmp_int_val
($);<BR>sub escalate_exitval ($);<BR></DIV>
<P>
<HR SIZE=1>
<BR>Do you Yahoo!?<BR><BR><A
href="http://antispam.yahoo.com/whatsnewfree">Protect your identity with
Yahoo! Mail
AddressGuard</A><BR>--0-2139179332-1068840881=:79181--<BR><BR><BR>--
__--__-- <BR><BR>Message: 14<BR>From: Ramon torres
<RTORRES at FIE.UCLV.EDU.CU><BR>To:
nagios-users at lists.sourceforge.net<BR>Organization: <BR>Date: 14 Nov 2003
15:15:46 -0500<BR>Subject: [Nagios-users] Whoops!<BR><BR>yo instale nagios y
ya esta corriendo, cuando verifico antes de iniciar<BR>me dice que no hay
problemas ninguno, 0 errores y 0 warnings, cuando lo<BR>arranco me dice
<BR><BR>No lock file found in /usr/local/nagios/var/nagios.lock<BR><BR>al
parecer arranca sin problemas <BR><BR><BR>en la interface web, la parte de
la ayuda funciona sin problemas, pero<BR>la parte de los cgi, no funciona
bien, me sale el cartel que dice<BR>Whoops! <BR><BR>The most common cause of
this error message (especially for new users),<BR>is the fact that Nagios is
not actually running. If Nagios is indeed not<BR>running,
 this is a normal error message. It simply indicates that the<BR>CGIs could
not obtain the current status of hosts and services that are<BR>being
monitored. If you've just installed things, make sure you read
the<BR>documentation on starting Nagios. <BR><BR>Some other things you
should check in order to resolve this error<BR>include: <BR><BR>Check the
Nagios log file for messages relating to startup or status<BR>data errors.
<BR>Always verify configuration options using the -v command-line
option<BR>before starting or restarting Nagios! <BR>Make sure you've
compiled the main program and the CGIs to use the same<BR>status data
storage options (i.e. text file or database). If the main<BR>program is
storing status data in a text file and the CGIs are trying to<BR>read status
data from a database, you'll have problems. <BR><BR>Make sure you read the
documentation on installing, configuring and<BR>running Nagios thoroughly
before continuing. If all else fails, try<BR>sending a message to
 one of the mailing lists. More information can be<BR>found at
http://www.nagios.org.<BR><BR><BR><BR>-- __--__-- <BR><BR>Message: 15<BR>To:
Nagios-users at lists.sourceforge.net<BR>Date: Fri, 14 Nov 2003 13:33:57
-0800<BR>From: "Valiente G. Humberto" <BR><HVG05 at TERRA.COM><BR>Reply-To:
hvg05 at terra.com<BR>Organization: Correo
(http://www.mail.terra.com:80)<BR>Subject: [Nagios-users] $ARGx$<BR><BR>I
would like to now where are defined the format for the argumentes on every
check_command. Where I can find any docummentation on
it??<BR><BR><BR><BR><BR><BR>________________________________________________
___<BR>¡LOS CHISMES AHORA TE LLEGAN AL INSTANTE!<BR>¡Nuevo TERRA MESSENGER,
Gratis, en Inglés, Español o Portugués!<BR>http://im.terra.com<BR><BR><BR>--
__--__-- <BR><BR>Message: 16<BR>Subject: Re: [Nagios-users] Re: parent
outages - behaviour for children?<BR>From: Dan Stromberg
<STROMBRG at DCS.NAC.UCI.EDU><BR>To: Tedman Eng <TENG at DATAWAY.COM><BR>Cc: Dan
Stromberg
 
<STROMBRG at DCS.NAC.UCI.EDU>,<BR>nagios-users at lists.sourceforge.net<BR>Organiz
ation: <BR>Date: 12 Nov 2003 08:34:22
-0800<BR><BR><BR>--=-9AuZAk0/8XvpaNor8ipt<BR>Content-Type:
text/plain<BR>Content-Transfer-Encoding: quoted-printable<BR><BR>On Mon,
2003-11-10 at 20:27, Tedman Eng wrote:<BR>> If there are<BR>> 2
parents, both must be down before children are "Unreacchable"
status.<BR><BR>Hm. Maybe this is why my parents aren't working as I'd
hoped.<BR><BR>Are you saying that if I have:<BR><BR>nagios host ->
router1 -> router2 -> router3 -> monitored host<BR><BR>...and
router1 is a parent of router2, and router2 is a parent of<BR>router3, and
router3 is a parent of monitored host, then all four have<BR>to be down
before nagios will mark monitored host as unreachable?<BR><BR>If that's the
case, then I'm getting rid of router1 and router2 from
my<BR>setup.<BR><BR>Or do you mean:<BR><BR>router1 -<BR>\<BR>- monitored
host<BR>/<BR>router2 -<BR><BR>?<BR><BR>--=20<BR>Dan
 Stromberg DCS/NACS/UCI
<STROMBRG at DCS.NAC.UCI.EDU><BR><BR><BR>--=-9AuZAk0/8XvpaNor8ipt<BR>Content-Ty
pe: application/pgp-signature; name=signature.asc<BR>Content-Description:
This is a digitally signed message part<BR><BR>-----BEGIN PGP
SIGNATURE-----<BR>Version: GnuPG v1.0.7
(GNU/Linux)<BR><BR>iD8DBQA/smEOo0feVm00f/8RAjgYAJ9qfSvmyB7AxrjIOZN+BbWVLFRf8
gCfRFFV<BR>rYBANmadhwBAXECP+PjvOn8=<BR>=C70j<BR>-----END PGP
SIGNATURE-----<BR><BR>--=-9AuZAk0/8XvpaNor8ipt--<BR><BR><BR>-- __--__--
<BR><BR>Message: 17<BR>Subject: RE: [Nagios-users] $ARGx$<BR>Date: Fri, 14
Nov 2003 15:58:38 -0600<BR>From: "Marc Powell" <MPOWELL at ENA.COM><BR>To:
<HVG05 at TERRA.COM>,<BR><NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR><BR><BR><BR>&g
t; -----Original Message-----<BR>> From: Valiente G. Humberto
[mailto:hvg05 at terra.com]<BR>> Sent: Friday, November 14, 2003 3:34
PM<BR>> To: Nagios-users at lists.sourceforge.net<BR>>=20<BR>> I would
like to now where are defined the format for the argumentes on<BR>> every
 check_command. Where I can find any docummentation on
it??<BR>>=20<BR><BR>You're asking two different questions. The arguments
for each check<BR>command are specific to that command. For example, running
check_http<BR>--help shows all the possible command arguments for check_http
which are<BR>very different than for check_ntp (check_ntp --help). You may
or may not<BR>need/want to use $ARGx$ macro substitution for one or more of
the<BR>command options entirely at your discretion.<BR><BR>$ARGx$ macros are
not complicated. The only documentation that should be<BR>necessary
is=20<BR><BR>http://nagios.sourceforge.net/docs/1_0/configmain.html#resource
_file<BR><BR>and the examples in
resource.cfg.<BR>http://nagios.sourceforge.net/docs/1_0/macros.html shows
where you can<BR>use each of the pre-defined macros and the user specified
$ARGx$ macros<BR>(at the bottom).<BR><BR>--<BR>Marc=20<BR><BR><BR>--
__--__-- <BR><BR>Message: 18<BR>Subject: RE: [Nagios-users] Notification
Specifics on
 V1.1<BR>Date: Fri, 14 Nov 2003 16:03:41 -0600<BR>From: "Marc Powell"
<MPOWELL at ENA.COM><BR>To: "-"
<AXIOMGRID at YAHOO.COM>,<BR><NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR><BR>Nagios
doesn't speak SMTP so it needs to pass the email off to some<BR>program on
your linux box that can do mail delivery. Typically this is<BR>/bin/mail
which then processes it with whatever SMTP daemon it is<BR>configured to use
(typically sendmail). You have two primary options:<BR><BR>1) configure
sendmail or other MTA on your linux box to smarthost to<BR>your managed mail
servers or<BR>2)
http://www.nagios.org/faqs/viewfaq.php?faq_id=3D150=20<BR><BR>--<BR>Marc<BR>
<BR>> -----Original Message-----<BR>> From: -
[mailto:axiomgrid at yahoo.com]<BR>> Sent: Friday, November 14, 2003 1:51
PM<BR>> To: nagios-users at lists.sourceforge.net<BR>>=20<BR>>
Afternoon,<BR>>=20<BR>> Running Nagios on an OS X.2.8 server. Runs
fine,<BR>> however all the talk about send mail and the<BR>>
alternatives has me
 curious how Nagios actually<BR>> forwards notifications. I'm assuming
Nagios utilizes<BR>> the misccommands.cfg but I would like to know if
can<BR>> simply call to any email program for
notifications.<BR>>=20<BR>> For example, this install of nagios is
deployed in a<BR>> university enviroment and establishing sendmail
or<BR>> alternative would be completly redundant with the<BR>>
university supporting mail services. Or my<BR>> inexperience with
sendmail has me confused.<BR>>=20<BR>> I can't imagine that I'm the
only one with the<BR>> privilege and perhaps the pitfall of a managed
mail<BR>> service. With that said, I simply want nagios to<BR>>
forward notifications to a unix based email program<BR>> (mta) which will
email the notifications via the<BR>> university smtp
server.<BR>>=20<BR>> I believe i have provided enough information so I
look<BR>> forward to the responses.<BR>>=20<BR>>
Regards<BR>>=20<BR>>
 axiom<BR><BR><BR>-- __--__-- <BR><BR>Message: 19<BR>Date: Fri, 14 Nov 2003
17:14:31 -0500 (EST)<BR>From: Matt Pounsett <MATT.POUNSETT at CIRA.CA><BR>To:
Dan Stromberg <STROMBRG at DCS.NAC.UCI.EDU><BR>cc: Tedman Eng
<TENG at DATAWAY.COM>, <NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR>Subject: Re:
[Nagios-users] Re: parent outages - behaviour for children?<BR><BR>On 12 Nov
2003, Dan Stromberg wrote:<BR><BR>> On Mon, 2003-11-10 at 20:27, Tedman
Eng wrote:<BR>> > If there are<BR>> > 2 parents, both must be
down before children are "Unreacchable" status.<BR>> <BR>> Or do you
mean:<BR>> <BR>> router1 -<BR>> \<BR>> - monitored host<BR>>
/<BR>> router2 -<BR><BR>This.<BR><BR>The logic is that if router1 is
down, monitored host should still be reachable<BR>via router2, and so both
routers must be down for Nagios to consider monitored<BR>host to be
unreachable.<BR><BR><BR>-- <BR>Matt Pounsett CIRA - Canadian Internet
Registration Authority<BR>Technical Support Programmer
 350 Sparks Street, Suite 1110<BR>matt.pounsett at cira.ca Ottawa, Ontario,
Canada<BR>613.237.5335 ext. 231 http://www.cira.ca<BR><BR><BR><BR>--
__--__-- <BR><BR>Message: 20<BR>Subject: RE: [Nagios-users] How many passive
service check results per second ?<BR>Date: Fri, 14 Nov 2003 16:17:24
-0600<BR>From: "Marc Powell" <MPOWELL at ENA.COM><BR>To: "Verstege, Bernhard"
<BERNHARD.VERSTEGE at IWR.FZK.DE>,<BR>"NAGIOS"
<NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR><BR><BR><BR>> -----Original
Message-----<BR>> From: Verstege, Bernhard
[mailto:Bernhard.Verstege at iwr.fzk.de]<BR>> Sent: Friday, November 14,
2003 11:12 AM<BR>> To: NAGIOS<BR>>=20<BR>> Hi,<BR>>=20<BR>>
we have set up Nagios with ditributed monitoring.<BR>> The Nagios-Master
gets only passive service check results<BR>> fron the distributed
monitors (about 8000 per hour)<BR>> and does not run any
eventhandler.<BR>>=20<BR>> We see a lot of failed send-nsca commands
on the disributed monitors<BR>> and the
 external command file at the master is most of the time<BR>> nearly 4k
big (is this the maximum for a FIFO-stack ?)<BR>>=20<BR>> Setting the
command check interval to 2s results in an increasing<BR>> number of
nagios processes, but the external command file becomes<BR>> only 1.5k
big and most send-nsca are successful.<BR>>=20<BR>> What is the
maximum number of passive service check results nagios<BR>> can handle ?
It is running on a dual PII 1,26Ghz with 1GB RAM.<BR><BR>I believe that
someone did some type of calculation for this last year.<BR>For what it's
worth, I have 2559 services at 5 minute intervals (all<BR>passive using 4
data collectors reporting all checks to 2 centralized<BR>host for
duplication) which equates to about 31,000 per hour and nagios<BR>doesn't
even break a sweat. It's currently running on a quad P3 500mhz<BR>with a gig
of ram but nagios rarely uses significant resources on the<BR>box and I've
had it running on lesser
 boxen.<BR><BR>Passive Checks: Time Frame Checks Completed=20<BR><=3D 1
minute: 219 (8.6%)=20<BR><=3D 5 minutes: 2545 (99.5%)=20<BR><=3D 15
minutes: 2559 (100.0%)=20<BR><=3D 1 hour: 2559 (100.0%)=20<BR>Since
program start: 2559 (100.0%)=20<BR>=20<BR><BR>You don't say how often you
are checking your services and that will<BR>have a _big_ impact on nagios
performance. If I were doing the same<BR>checks above at 1 minute intervals
I'd probably be killing nagios. Some<BR>of my pertinent nagios.cfg settings
are below
--<BR><BR>service_reaper_frequency=3D5<BR>retention_update_interval=3D5<BR>a
ggregate_status_updates=3D1<BR>command_check_interval=3D-1<BR><BR><BR>--<BR>
Marc<BR><BR><BR>-- __--__-- <BR><BR>Message: 21<BR>From: Jeremy Madea
<J.MADEA at MDL.COM><BR>To: nagios-users at lists.sourceforge.net<BR>Date: Fri, 14
Nov 2003 15:10:13 -0800<BR>Subject: [Nagios-users] Byzantine configs? Or am
I doing it wrong?<BR><BR><BR>We have eight backup servers in several
different locations. We've
 got<BR>multiple people responsible for their care and feeding. We want to
check<BR>pings to all of these servers and ssh access to some of them. Some
of the<BR>servers are more critical than others and -one- guy gets paged if
these<BR>aren't pingable.<BR><BR>So, I add all this to Nagios... <BR><BR>* A
contact for each back admin including a separate pager contact for
the<BR>guy who gets pages.<BR>* A contact group that includes the backup
admins.<BR>* A separate contact group that only includes the pager
contact.<BR>* Host entries for each of the 8 servers.<BR>* A hostgroup so
that the backup-admins can see their servers grouped nicely<BR>together in
the web interface.<BR>* A ping service containing the hosts that we don't
want to send pages for.<BR>* A ping service containing the hosts that we do
want to send page for.<BR>* An ssh service containing the hosts that we need
to check ssh on.<BR><BR>Am I making it harder than it needs to
be?<BR><BR>-j<BR><BR>--<BR>Jeremy
 Madea<BR><BR><BR><BR>-- __--__-- <BR><BR>Message: 22<BR>Date: Fri, 14 Nov
2003 18:24:32 -0500 (EST)<BR>From: Subhendu Ghosh <SGHOSH at SGHOSH.ORG><BR>To:
Jon Lyons <JLYONS30 at YAHOO.COM><BR>cc:
nagios-users at lists.sourceforge.net<BR>Subject: Re: [Nagios-users]
check_apc_ups.pl errors<BR><BR>utils.pm is normally fixed by the
configure/make process.<BR><BR>change the "use lib utils.pm;" line to point
to the directory containging <BR>utils.pm - usually "use lib
/usr/local/nagios/libexec;"<BR><BR>-sg<BR><BR>On Fri, 14 Nov 2003, Jon Lyons
wrote:<BR><BR>> I get this error when attempting to execute
check_apc_ups.pl, do I need a perl module or something? Perl doesn't seem to
like the "use lib uitls.pm" command....<BR>> <BR>> <BR>> fwlogs#
./check_apc_ups.pl<BR>> Bareword "utils" not allowed while "strict subs"
in use at ./check_apc_ups.pl line 15.<BR>> Bareword "pm" not allowed
while "strict subs" in use at ./check_apc_ups.pl line 15.<BR>> BEGIN not
safe after
 errors--compilation aborted at ./check_apc_ups.pl line 16.<BR>> <BR>>
use strict;<BR>> use Getopt::Long;<BR>> use vars qw($opt_V $opt_h
$opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME);<BR>> use lib
utils.pm;<BR>> use utils qw(%ERRORS &print_revision &support
&usage);<BR>> sub print_help ();<BR>> sub print_usage ();<BR>>
sub get_snmp_int_val ($);<BR>> sub escalate_exitval ($);<BR>> <BR>>
<BR>> <BR>> ---------------------------------<BR>> Do you
Yahoo!?<BR>> Protect your identity with Yahoo! Mail
AddressGuard<BR><BR>-- <BR><BR><BR><BR><BR>-- __--__-- <BR><BR>Message:
23<BR>Date: Sat, 15 Nov 2003 00:37:40 +0100<BR>From: "Massimo Bandinelli"
<MASSIMO.BANDINELLI at REGISTER.IT><BR>To:
<NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR>Subject: [Nagios-users] How can I
query nagios?<BR><BR>Hi!<BR><BR>I need to query nagios about the status of
services, but an host<BR>different from the nagios host.<BR><BR>Is there a
command with this
 function??<BR><BR>Es.:<BR><BR># check_service_status <NAGIOS
host><HOST><SERVICE><BR><BR># check_service_status mynagios.foo.it
dns.foo.it DNS<BR>STATUS OK (exit 0)<BR><BR>Thanks, Massimo.<BR><BR>Massimo
Bandinelli<BR>System
Administrator<BR>---------------------------------------<BR>Register.it
S.p.A. - Gruppo DADA<BR>tel +39 199 REGIST (+39 199 734478)<BR>fax +39 035
3230312<BR>http://we.register.it<BR>mailto:we at register.it<BR>=20<BR>=09<BR><
BR><BR>-- __--__-- <BR><BR>Message: 24<BR>Subject: RE: [Nagios-users] How
can I query nagios?<BR>Date: Fri, 14 Nov 2003 16:39:52 -0800<BR>From: "David
Olbersen" <DOLBERSEN at STBERNARD.COM><BR>To: "Massimo Bandinelli"
<MASSIMO.BANDINELLI at REGISTER.IT>,<BR><NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR
><BR>Massimo Bandinelli wrote:<BR><BR>> Hi!<BR>>=20<BR>> I need to
query nagios about the status of services, but an host<BR>> different
from the nagios host.<BR>>=20<BR>> Is there a command with this
function??<BR>>=20<BR>>
 Es.:<BR>>=20<BR>> # check_service_status <NAGIOS
host><HOST><SERVICE><BR>>=20<BR>> # check_service_status
mynagios.foo.it dns.foo.it DNS<BR>> STATUS OK (exit
0)<BR><BR>Massimo,<BR><BR>There's no such thing that I've found. The
solution I've taken is having =<BR>an event handler create a zero-byte file
on the machine that's =<BR>concerned.<BR><BR>For example:<BR>- Monitor
machine A's disk space because machine B needs to put stuff =<BR>there<BR>-
Write an event handler so that if A.disk goes critical, write a 0 byte
=<BR>file on machine B=20<BR>(like /var/tmp/a_disk_full) saying so. When the
service goes back to =<BR>normal, rm the file.<BR>- Update whatever program
needs to know, to look for that file.<BR><BR>I think it'll work just
fine.<BR><BR>--=20<BR>David Olbersen<BR>iGuard Engineer<BR>St. Bernard
Software<BR>15015 Avenue of Sciences<BR>San Diego, CA
92127<BR>x2152<BR><BR><BR>-- __--__-- <BR><BR>Message: 25<BR>From: Justin
Fitzhugh
 <JFITZHUG at MACROMEDIA.COM><BR>Subject: Re: [Nagios-users] Hosts and
Hostgroups<BR>Date: Fri, 14 Nov 2003 20:12:17 -0800<BR>To: jeff vier
<JEFF.VIER at TRADINGTECHNOLOGIES.COM>,<BR>nagios-users
<NAGIOS-USERS at LISTS.SOURCEFORGE.NET><BR><BR>Does this mean that in 2.x you
will be able to have sub-groups (groups <BR>members of other
groups)?<BR><BR>-Justin<BR><BR>On Nov 13, 2003, at 3:32 PM, jeff vier
wrote:<BR><BR>> Not in 1.x<BR>><BR>> On Thu, 2003-11-13 at 16:33,
Chuck McIntyre wrote:<BR>>> Also, is there any way to make a hostgroup
be a member of another <BR>>> hostgroup?<BR>>><BR>>>
-----Original Message-----<BR>>> From:
nagios-users-admin at lists.sourceforge.net <BR>>>
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack
<BR>>> Doyle<BR>>> Sent: Thursday, November 13, 2003 1:23
PM<BR>>> To: nagios-users at lists.sourceforge.net<BR>>> Subject:
[Nagios-users] Hosts and
 Hostgroups<BR>>><BR>>><BR>>> Can a single host be a
member of more than one hostgroup?<BR>>><BR>>> -----<BR>>>
John N. Doyle, Systems Operations Specialist<BR>>> Lewis-Gale Clinic
Information Systems<BR>>><BR>>> 540.772.3669 >
jdoyle at lewisgaleclinic.com<BR>>><BR>>><BR>>>
-------------------------------------------------------<BR>>> This
SF.Net email sponsored by: ApacheCon 2003,<BR>>> 16-19 November in Las
Vegas. Learn firsthand the latest<BR>>> developments in Apache, PHP,
Perl, XML, Java, MySQL,<BR>>> WebDAV, and more!
http://www.apachecon.com/<BR>>>
_______________________________________________<BR>>> Nagios-users
mailing list<BR>>> Nagios-users at lists.sourceforge.net<BR>>>
https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>>> :::
Please include Nagios version, plugin version (-v) and OS when <BR>>>
reporting any issue.<BR>>> :::
 Messages without supporting info will risk being sent to
/dev/null<BR>><BR>><BR>><BR>>
-------------------------------------------------------<BR>> This SF.Net
email sponsored by: ApacheCon 2003,<BR>> 16-19 November in Las Vegas.
Learn firsthand the latest<BR>> developments in Apache, PHP, Perl, XML,
Java, MySQL,<BR>> WebDAV, and more! http://www.apachecon.com/<BR>>
_______________________________________________<BR>> Nagios-users mailing
list<BR>> Nagios-users at lists.sourceforge.net<BR>>
https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> ::: Please
include Nagios version, plugin version (-v) and OS when <BR>> reporting
any issue.<BR>> ::: Messages without supporting info will risk being sent
to /dev/null<BR><BR><BR><BR><BR>-- __--__--
<BR><BR>_______________________________________________<BR>Nagios-users
mailing
 
list<BR>Nagios-users at lists.sourceforge.net<BR>https://lists.sourceforge.net/
lists/listinfo/nagios-users<BR><BR><BR>End of Nagios-users
Digest</BLOCKQUOTE><BR><BR>:*~*:._.:*P*:._.:*a*:._.:*G*:._.:*u*:._.:*X*:._.:
*~*:<br>           _<br>          |E]<br>        .-|=====-.<br>        | |
MAIL |   <br>        |________|___<br>            ||<br>
||<----  www.Gauravinfo.8k.com ----><br>            ||   www
www<br>     www||   )_(,;;;,             ,;,\_/ www<br>     )_(   ||   \|/
\_/               )_(\|  (_)<br>     \|   \ || /\\|/  |/               \|
\|// | <br> ___\|//_||//_\V/_\|//_______\\|//V/\\|/__<p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://antispam.yahoo.com/whatsnewfree">Protect your identity with
Yahoo! Mail AddressGuard</a>
--0-1450500478-1068879281=:92805--


--__--__--

Message: 4
Date: Sat, 15 Nov 2003 20:44:07 +1100
From: Stanley Hopcroft <Stanley.Hopcroft at IPAustralia.Gov.AU>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1749 - 25 msgs

Dear Sir,


On Fri, Nov 14, 2003 at 08:15:51PM -0800,
nagios-users-request at lists.sourceforge.net wrote:
> 
> From: Noah Leaman <noah at mac.com>
> Subject: [Nagios-users] Using SEC with Nagios for SNMP trap processing
>

I am writing to thank you for your letter and say,
 
> I am thrilled with the prospect of using SEC to process SNMP traps, but 
> I am wondering the best way to send the received trap(s) to sec.pl.
>

have sec.pl read the snmptrapd log file (input=<path to snmptrapd log>
IIRC).


 
> Should I setup a "traphandle default" in snmptrapd.conf to pipe each 
> trap separately to SEC, or use the traphandle to append to a log file 
> then have that log file read by SEC. If it is the latter, then how or 
> when does SEC get instantiated

>  so it can read the file and how does 
> being able to perform time-based correlation come into play with how 
> the traps are read by SEC?
> 

Whoa, one question at a time please so those searching the archives can
find the answers.

About getting trap events to sec: the default settings for snmptrapd
are for it to log decoded (wrt the MIBs you have installed) traps to a
file.

All you need do is have sec use that file as its input.

You do not have to do anything to snmptrapd to take advantage of Sec and
thus rid yourself of managing snmp trap handlers (one last time: trap
handlers do not scale very well. Better approaches (in particluar
order) are these fine open source products from SourceForge

. snmptt 

. sec

. rulecore ? (see Nag archives for a recent post about this)


However, until you decide to get rid of your trap handlers you can use
them and sec at the same time by simply leaving the traphandle defs in
snmptrapd.conf.

Sec will read all the looged traps but only react to those you consider
pattern matches to recognise and rules to process.

These approaches are very important and are the real reason for why
Tivoli is a significant product.

Matching events - logged traps in this case - and providing rules to
process them makes feasable

- significant automation

- business system views (One could have a whole bunch of Nag alerts and
other inputs correlated to produce another event corresponding to the
health of a business system).

- rule based (Knowledge based) inference 


> I know I am missing a part of the puzzle here. Otherwise I think I 
> understand how to integrate SEC into Nagios as far as setting up the 
> passive service and using SEC to write to nagios.cmd.
> 
> --
> Noah
> 

-- 
Stanley Hopcroft



PROPERTY OF JESUS
(Words and Music by Bob Dylan)

Go ahead and talk about him because he makes you doubt,
Because he has denied himself the things that you can't live without.
Laugh at him behind his back just like the others do,
Remind him of what he used to be when he comes walkin' through.

He's the property of Jesus
Resent him to the bone
You got something better
You've got a heart of stone

Stop your conversation when he passes on the street,
Hope he falls upon himself, oh, won't that be sweet
Because he can't be exploited by superstition anymore
Because he can't be bribed or bought by the things that you adore.

He's the property of Jesus
Resent him to the bone
You got something better
You've got a heart of stone

When the whip that's keeping you in line doesn't make him jump,
Say he's hard-of-hearin', say that he's a chump.
Say he's out of step with reality as you try to test his nerve
Because he doesn't pay no tribute to the king that you serve.

He's the property of Jesus
Resent him to the bone
You got something better
You've got a heart of stone'cause


--__--__--

Message: 5
Date: Sat, 15 Nov 2003 15:53:45 +0100
To: nagios-users at lists.sourceforge.net
From: Spyou <spyou at club-internet.fr>
Subject: [Nagios-users] authentication & access limit



Hi,


I'm playing with Nagios (and netsaint before) for a while ... I have coded 
some extra suffs, mainly some rrd interfaces to graph almost every datas 
collected by nagios

I'd like to let customers access thoses graphs. The simplest way to link 
nagios states to thoses graphs is to use the "service ext info" feature of 
nagios. Each service that has an rrd graph now had a little button that 
links to my cgis that displays the graphs

thoses CGI are called with an URL like
http://nagios.blabla.com/cgi-bin/mycgi.cgi?host=hostnameofthecustomer&servic
e=servicename

Everything's fine ... but if a customer use 
"mycgi.cgi?host=mybox&service=httphealth" and change the URL 
"mycgi.cgi?host=neighborshost&service=httphealth" he will access 
informations from another host that he's not supposed to be able to see

Has anyone an idea to limit access in mycgi.cgi so that people can only see 
hosts & service they are contact for ? (please note : i don't wanna parse 
the whole nagios config to get this info :))


PS : if you're there, thanks a lot for your great job, Ethan :)
____________________________________
  'Spyou' - www.spyou.org - root at spyou.org
     #gtr / ircnet.kaptech.fr - UIN : 6871374

Please, tell me who i am !
- Supertramps




--__--__--

Message: 6
Subject: RE: [Nagios-users] authentication & access limit
Date: Sat, 15 Nov 2003 09:18:58 -0600
From: "Marc Powell" <mpowell at ena.com>
To: "Spyou" <spyou at club-internet.fr>,
	<nagios-users at lists.sourceforge.net>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3AB8B.CAA28825
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: base64

IA0KDQoJLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0gDQoJRnJvbTogU3B5b3UgW21haWx0bzpz
cHlvdUBjbHViLW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UF9SRUZFUlJFUiBpcyBvbmUgb2YgdGhvc2UgY2dpJ3MgYW5kIGRlbnkgb3IgCiAgcmVk
aXJlY3QgZXZlcnl0aGluZyBlbHNlLiBJZiB0aGV5IGF0dGVtcHQgdG8gbW9kaWZ5IHRoZSBVUkwg
YXMgYWJvdmUgdGhlbiB0aGUgCiAgcmVmZXJyZXIgd2lsbCBiZSBibGFuay4gSSBiZWxpZXZlIHRo
YXQgc29tZSBicm93c2VycyB3aWxsIGxldCB5b3UgY29udHJvbCB0aGUgCiAgdmFsdWUgb2YgSFRU
UF9SRUZFUlJFUiBzbyBhbiBlbnRlcnByaXNpbmcgdXNlciBjb3VsZCB0aGVvcmV0aWNhbGx5IGZv
aWwgdGhpcyAKICB0aGluIHNraW4gb2Ygc2VjdXJpdHkuPC9GT05UPjwvUD4KICA8UD48Rk9OVCBz
aXplPTI+PC9GT05UPiZuYnNwOzwvUD4KICA8UD48Rk9OVCBzaXplPTI+LS08L0ZPTlQ+PC9QPgog
IDxQPjxGT05UIHNpemU9Mj5NYXJjPC9GT05UPjwvUD48L0JMT0NLUVVPVEU+Cgo8L0JPRFk+Cjwv
SFRNTD4=

------_=_NextPart_001_01C3AB8B.CAA28825--



--__--__--

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


End of Nagios-users Digest



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
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





More information about the Users mailing list