Nagios viewport scripting
Richard Luys
richard.luys at vanderlet.nl
Thu Sep 9 13:13:50 CEST 2004
For whom is interested:
Here is our solution to the problem of letting people have insight in the
monitoring status without actually connecting to the Nagios-host.
It's quick-and-dirty (so is the 'written on the fly' documentation) but
hopefully it is usefull to someone or at least gives them some great
ideas...
Of course comments, ideas, suggestions are always welcome :-)
See attached textfile for the scripts and some extra information (it's not
great documentation yet, I know. Everyone with a basic knowledge of
scripting should be able to understand what i've done).
If somebody has a problem with the attachment, contact me and I will put
the full text in the body...
Richard
On Tue, 7 Sep 2004 10:44:37 +0200, Sand Philipp <Philipp.Sand at sycor.de>
wrote:
> I think it would be very interesting for us if you could post the
> scripts and documentation...
> If you do plan to write a documentation about it, for me it's ok, to
> wait a few days :)
> Thanks in advance,
> Philipp
>
>> For your information, we followed a different approach:
>>
>> We did not want to disable the cmd.cgi (which allows you to
>> issue several commands like disabling notifications, schedule
>> downtime, etc) because it's very usefull for us admins. But,
>> we do not want customers to issue those commands.
>>
>> We did the following to circumvent this 'problem':
>> On a second server (that is reachable for our customers) we
>> created some scripts that use 'wget' to retrieve 'status
>> overview' and detailed overviews of the different groups. We
>> use normal Apache authentication with identical id/passwords
>> as on the Nagios-host. Depending on this authentication, wget
>> will authenticate with the Nagios-host to retrieve only the
>> data for this specific customer.
>>
>> It works for us, maybe this approach works for others too. If
>> somebody likes to see more details about this setup, I will
>> be happy to post the scripts (documentation is not yet
>> complete, but I'm working on it; scripts are very easy to
>> understand, though).
>>
>> Richard
>
>
>
> ************************************************
>
> sycor plastics - die neue Branchenlösung für die Kunststoffindustrie
>
> www.sycor-plastics.de
>
> ************************************************
>
>
>
>
> Diese E-Mail ist vertraulich und kann darüber hinaus persönliche
> Informationen beinhalten. Wenn Sie nicht der bestimmungsgemäße Empfänger
> sind, löschen Sie bitte die E-Mail und deren Anhänge sofort und
> benachrichtigen Sie uns darüber. Die Firma sycor willigt in keine
> Verträge oder vertragliche Verpflichtungen ein oder übermittelt
> rechtsverbindliche Angebote, die in Form von E-Mail versandt werden,
> sofern dies nicht ausdrücklich in schriftlicher Form zwischen den
> Parteien vereinbart wurde.
>
> This e-mail is confidential and may contain personal and/or privileged
> information. If you are not the intended recipient please delete this
> e-mail and all attachments immediately and inform us. The company sycor
> does not agree with contracts or contract obligations sent by e-mail,
> neither do we transmit legally binding offers by e-mail, unless this is
> not expressly agreed upon between the parties and documented in written
> form.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
> _______________________________________________
> 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
--
R. Luys
Vanderlet BV
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios viewport solution.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040909/e3f154e2/attachment.txt>
More information about the Users
mailing list