Nagios-users digest, Vol 1 #2884 - 5 msgs

Nir Sinay Nir.Sinay at followap.com
Thu Nov 3 18:55:56 CET 2005


Hello all,

We have several clients that by SLA are allowed to access our nagios
system.

However with the current nagios setup they are able to issue Service
command i.e disable service checks etc...

Is there anyway to prevent this users form activating the commands?
Basically create a read only user?

We are using nagios 1.x

Thanks,
nir

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


Nir Sinay
Regional Customer Support Manager 
Followap Telecommunication
Office: +441756608866
Mobile: +447920017683
Mail: mailto:nir.sinay at followap.com 

-----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: Thursday, November 03, 2005 4:21 AM
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users digest, Vol 1 #2884 - 5 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. RE: Acknowledging a page by phone (Andrew Cruse)
   2. RE: prevent scheduler from scheduling concurrent i/o-intensive
checks? (Marc Powell)
   3. Re: Acknowledging a page by phone (Russell Adams)
   4. Re: Acknowledging a page by phone (Jeff Williams)
   5. Question about check_logs.pl (Mark Limburg)

--__--__--

Message: 1
From: "Andrew Cruse" <andrew at profitability.net>
To: "'Jeff Williams'" <jeffwilliams05 at gmail.com>,
	<nagios-users at lists.sourceforge.net>
Subject: RE: [Nagios-users] Acknowledging a page by phone
Date: Wed, 2 Nov 2005 16:55:10 -0500

nagios-users-admin at lists.sourceforge.net wrote:
> Is anyone acknowledging pages from their phone that can lend
> some assistance? Currently we are using spatch/bb and are
> migrating to Nagios. Spatch sends out a unique id number for
> each page, so we can send an email to the Nagios box with the
> id number in a message by itself. With the help of a script
> we have written that checks the mailbox every so often, we
> can take that id number and acknowledge the page. Nagios
> doesn't seem to have unique ids for notifications. Are there
> any plugins or scripts available that can offer this
> functionality? Hope this makes sense...

Nothing built-in, but I don't think it would terribly difficult to write
your own notification script that includes a unique id for each
notification and maintains a small database to correlate between ID's
and the host/service that the notification is being sent for.

Andrew



--__--__--

Message: 2
Subject: RE: [Nagios-users] prevent scheduler from scheduling concurrent
i/o-intensive checks?
Date: Wed, 2 Nov 2005 15:56:17 -0600
From: "Marc Powell" <marc at ena.com>
To: <nagios-users at lists.sourceforge.net>



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Kurt Yoder
> Sent: Wednesday, November 02, 2005 2:32 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] prevent scheduler from scheduling concurrent
i/o-
> intensive checks?
>=20
> Hello
>=20
> I have 10 i/o-intensive checks that run on a single host. Since they
> all compete for limited disk bandwidth, I would like to be able to
> tell the scheduler not to run them concurrently. I don't want to
> disable concurrent checks everywhere, because most of the other
> checks don't have this problem.
>=20
> So is there any configuration option I can set to do this?

No, you have extremely limited control over the check scheduling
(basically all or nothing). What you can do, however, is create a
wrapper script that either runs them sequentially as one check or treat
them as passive checks, running them outside of nagios on your schedule
and submit the results back to nagios when they're done.

--
Marc=20


--__--__--

Message: 3
Date: Wed, 2 Nov 2005 16:40:21 -0600
From: Russell Adams <RLAdams at AdamsInfoServ.Com>
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Acknowledging a page by phone


--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

With a simple voice mail capable modem, and a copy of VOCP, you could
implement that.

VOCP has support for voice mail type menu systems that can run command
lines.

Perhaps you could create a shell script and take input from VOCP?

I'd like to know what your final solution is.

Russell

On Wed, Nov 02, 2005 at 04:14:13PM -0500, Roy Kidder wrote:
> This may be too much effort for what you're looking to accomplish, but
you
> can build an IVR to assist with this. You can get a Digium X100P clone
> card (single inbound phone line capability) for as little as $10 on
ebay
> and couple it together with Asterisk.
>=20
> http://www.asterisk.org/
>=20
> I haven't done this myself, but I did look at Asterisk at one point.
> Setting it up to handle inbound phone calls and capture DTMF digits is
all
> done through a scripting language.
>=20
>=20
> Jeff Williams wrote:
> > Is anyone acknowledging pages from their phone that can lend some
> assistance? Currently we are using spatch/bb and are migrating to
> Nagios. Spatch sends out a unique id number for each page, so we can
> send an email to the Nagios box with the id number in a message by
> itself. With the help of a script we have written that checks the
> mailbox every so often, we can take that id number and acknowledge the
> page. Nagios doesn't seem to have unique ids for notifications. Are
> there any plugins or scripts available that can offer this
> > functionality? Hope this makes sense...
> >
> > Jeff Williams
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server.
> Download
> > it for free - -and be entered to win a 42" plasma tv or your very
own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> > 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
> >
> >
>=20
>=20
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
Downl=
oad
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> 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
report=
ing any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>=20
>=20
------------------------------------------------------------------
Russell Adams                            RLAdams at AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFDaUBVEVTgGBFg3LMRAo2HAJ4zzhhhEBA4kFAGYea5MZQkXKkG0QCguSgA
zAPyzzmreT6+nM2FcfRlEyA=
=+K3C
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--


--__--__--

Message: 4
Date: Wed, 2 Nov 2005 17:32:17 -0600
From: Jeff Williams <jeffwilliams05 at gmail.com>
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Acknowledging a page by phone

On 11/2/05, Russell Adams <RLAdams at adamsinfoserv.com> wrote:
> With a simple voice mail capable modem, and a copy of VOCP, you could
> implement that.
>
> VOCP has support for voice mail type menu systems that can run command
> lines.
>
> Perhaps you could create a shell script and take input from VOCP?
>
> I'd like to know what your final solution is.
>
> Russell
>
> On Wed, Nov 02, 2005 at 04:14:13PM -0500, Roy Kidder wrote:
> > This may be too much effort for what you're looking to accomplish,
but =
you
> > can build an IVR to assist with this. You can get a Digium X100P
clone
> > card (single inbound phone line capability) for as little as $10 on
eba=
y
> > and couple it together with Asterisk.
> >
> > http://www.asterisk.org/
> >
> > I haven't done this myself, but I did look at Asterisk at one point.
> > Setting it up to handle inbound phone calls and capture DTMF digits
is =
all
> > done through a scripting language.
> >
> >
> > Jeff Williams wrote:
> > > Is anyone acknowledging pages from their phone that can lend some
> > assistance? Currently we are using spatch/bb and are migrating to
> > Nagios. Spatch sends out a unique id number for each page, so we can
> > send an email to the Nagios box with the id number in a message by
> > itself. With the help of a script we have written that checks the
> > mailbox every so often, we can take that id number and acknowledge
the
> > page. Nagios doesn't seem to have unique ids for notifications. Are
> > there any plugins or scripts available that can offer this
> > > functionality? Hope this makes sense...
> > >
> > > Jeff Williams
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net email is sponsored by:
> > > Tame your development challenges with Apache's Geronimo App
Server.
> > Download
> > > it for free - -and be entered to win a 42" plasma tv or your very
own
> > Sony(tm)PSP.  Click here to play:
http://sourceforge.net/geronimo.php
> > _______________________________________________
> > > 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/nul=
l
> > >
> > >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server.
Dow=
nload
> > it for free - -and be entered to win a 42" plasma tv or your very
own
> > Sony(tm)PSP.  Click here to play:
http://sourceforge.net/geronimo.php
> > _______________________________________________
> > 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
repo=
rting any issue.
> > ::: Messages without supporting info will risk being sent to
/dev/null
> >
> >
> ------------------------------------------------------------------
> Russell Adams                            RLAdams at AdamsInfoServ.com
>
> PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/
>
> Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
>
>
>


It's sounding to me like piping the notifications to a script that
generates a unique id and puts necessary info in a database is the
best idea. That would probably be the easiest and least expensive way
to achieve what I want to do. Another script can poll the mailbox and
parse the id and then write to the command file with the corresponding
hostname and service. Thanks for the suggestions.

Jeff


--__--__--

Message: 5
Date: Thu, 3 Nov 2005 13:26:10 +1030
From: Mark Limburg <mark.limburg at gmail.com>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Question about check_logs.pl

------=_Part_4378_22143580.1130986570644
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Howdy,

Here's my question. I have a central nagios system talking to a freshly
installed NRPE enabled server. I'm planning on using check_logs.pl to
monitor a file for WARN, CRIT and ERROR. All good, and makes sense.

Now, my question is about rolling the file over. Midnight comes around,
and
the file is changed to BLAH.DATE.LOG and BLAH.LOG is reset. How does the
plugin handle this, considering the way it does its checking of previous
instances of alerts? For example, say line 1, 3 and 5 have this alert
activated .. and when the logfile is rotated, does the check realise
such
and re-establish the next and new line 1, 3 and 5 as new alerts?

Mark

------=_Part_4378_22143580.1130986570644
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Howdy,<br><br>Here's my question.  I have a central nagios system
talk=
ing to a freshly installed NRPE enabled server.  I'm planning on
using=
 check_logs.pl to monitor a file for WARN, CRIT and ERROR.  All
good, =
and makes sense.
<br><br>Now, my question is about rolling the file over.  Midnight
com=
es around, and the file is changed to BLAH.DATE.LOG and BLAH.LOG is
reset.&=
nbsp; How does the plugin handle this, considering the way it does its
chec=
king of previous instances of alerts?  For example, say line 1, 3
and =
5 have this alert activated .. and when the logfile is rotated, does the
ch=
eck realise such and re-establish the next and new line 1, 3 and 5 as
new a=
lerts?
<br><br>Mark<br>

------=_Part_4378_22143580.1130986570644--



--__--__--

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


End of Nagios-users Digest


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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