Re: [Linux-sunucu] Nagios'da CGI Hatasi

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Kai Geek (kaigeek@linuxmail.org)
Date: Tue 20 Dec 2005 - 13:49:17 EET


Tekrar selamlar Aydin bey,
dediklerinizi sirasi ile yaptim. cgi.cfg dosyasindaki degeri 1 atadim. sonra nagios.cfg dosyasindaki check_external_commands degerini 1 yaptim. Ardindan cgi.cfg dosyasi icerisinde tum authorized_for_* ler icin nagios kullanicisini belirledim ve bu nagios kullanicisi htacces dosyasinda belirtildi. ancak simdi de su hatayi aldim

Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!

The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.

An error occurred while attempting to commit your command for processing.

yardimlarin icin cok tesekkurler..

--OK

----- Original Message -----
From: "aydin mutlu" <aydinmutlu@gmail.com>
To: linux-sunucu@liste.linux.org.tr
Subject: Re: [Linux-sunucu] Nagios'da CGI Hatasi
Date: Tue, 20 Dec 2005 01:44:15 -0800

> Tekrar selam.
>
> sorunu sanırım şağıdaki işlemleri yaparak aşabilriz
>
> 1 cgi.cfg conf içeririndeki autheticaction değerini tekrar enable
> edelim (bir öncekim esajımdaki önerimi geri çekiyorum, pardon)
>
> 2 nagios.conf dosyayında bulunan check_external_commands değerini 1 yapalım.
>
> 3. cgi.cfg. dosyasında authorised_for_system_commands değeri için bir
> kullanıcı tanımlayalım, nagiosadmin olabilir. mesela. (nagiosadmini
> cfg.cfg dosyasındaki tüm authorised_for_* opsiyonlarında kullanmanı
> tavsiye ederim )
>
> Tabi birde .htaccess dosyasında authentication tanımlamalarının
> yapılmış ve nagiosadmin kullanıcısı için bir şifre tanımlanmış
> olduğunu varsayıyorum.
>
> Şimdilik kolay gelsin.
> :)
>
>
>
>
> On 12/20/05, Kai Geek <kaigeek@linuxmail.org> wrote:
> > Selam,
> > bu defa da su hatayi verdi.
> >
> > *HATA*
> >
> > Sorry Dave, I can't let you do that...
> >
> > It seems that you have chosen to not use the authentication
> > functionality of the CGIs.
> >
> > I don't want to be personally responsible for what may happen as
> > a result of allowing unauthorized users to issue commands to
> > Nagios,so you'll have to disable this safeguard if you are really
> > stubborn and want to invite trouble.
> >
> > Read the section on CGI authentication in the HTML documentation
> > to learn how you can enable authentication and why you should
> > want to.
> >
> > ----- Original Message -----
> > From: "aydin mutlu" <aydinmutlu@gmail.com>
> > To: linux-sunucu@liste.linux.org.tr
> > Subject: Re: [Linux-sunucu] Nagios'da CGI Hatasi
> > Date: Tue, 20 Dec 2005 00:53:05 -0800
> >
> > > nagios config dosyaları içerisinde cgi.cfg diye bir dosya olması
> > > gerekiyor, dosyada use_authentication seçeneğini 0 olark set edeip
> > > deneyebilirmisin.
> > >
> > >
> > > On 12/20/05, Kai Geek <kaigeek@linuxmail.org> wrote:
> > > > Selamlar,
> > > > Nagios'ta comment ekler iken su hatayi aliyorum. Acaba nedendir,
> > > > napmam gerek ?
> > > >
> > > > *HATA*
> > > > Sorry, but you are not authorized to commit the specified command.
> > > >
> > > > Read the section of the documentation that deals with
> > > > authentication and authorization in the CGIs for more information.
> > > >
> > > > --
> > > > _______________________________________________
> > > > Check out the latest SMS services @ http://www.linuxmail.org
> > > > This allows you to send and receive SMS through your mailbox.
> > > >
> > > > Powered by Outblaze
> > > > _______________________________________________
> > > > Linux-sunucu mailing list
> > > > Linux-sunucu@liste.linux.org.tr
> > > > http://liste.linux.org.tr/mailman/listinfo/linux-sunucu
> > > >
> >
> > >
> > >
> > > _______________________________________________
> > > Linux-sunucu mailing list
> > > Linux-sunucu@liste.linux.org.tr
> > > http://liste.linux.org.tr/mailman/listinfo/linux-sunucu
> >
> >
> > --
> > _______________________________________________
> > Check out the latest SMS services @ http://www.linuxmail.org
> > This allows you to send and receive SMS through your mailbox.
> >
> > Powered by Outblaze
> > _______________________________________________
> > Linux-sunucu mailing list
> > Linux-sunucu@liste.linux.org.tr
> > http://liste.linux.org.tr/mailman/listinfo/linux-sunucu
> >

>
>
> _______________________________________________
> Linux-sunucu mailing list
> Linux-sunucu@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-sunucu

-- 
_______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze _______________________________________________ Linux-sunucu mailing list Linux-sunucu@liste.linux.org.tr http://liste.linux.org.tr/mailman/listinfo/linux-sunucu


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.