Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Nedim Bicic

thanks for the advice guys it was apache that needed to be added to the
group
it works now i can finnaly add comments and do external commands



thanks





On 1/22/07, Hugo van der Kooij <[EMAIL PROTECTED]> wrote:


On Mon, 22 Jan 2007, Andy Shellam (Mailing Lists) wrote:

> You may be connecting to Nagios using nagiosadmin, but that is a user
> under your webserver, not an OS user.
> If your Apache runs under the user "nobody", that is the user you need
> to add to the nagioscmd group.

A better suggestion is in fact to run apache as it's own user. Letting
nobody run all your daemons was a poor security concept and has been
abonded for years on almost any system I know of.

It's like break one and get the rest of them for free.

Hugo.

--
   [EMAIL PROTECTED]http://hvdkooij.xs4all.nl/
   This message is using 100% recycled electrons.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Hugo van der Kooij
On Mon, 22 Jan 2007, Andy Shellam (Mailing Lists) wrote:

> You may be connecting to Nagios using nagiosadmin, but that is a user
> under your webserver, not an OS user.
> If your Apache runs under the user "nobody", that is the user you need
> to add to the nagioscmd group.

A better suggestion is in fact to run apache as it's own user. Letting 
nobody run all your daemons was a poor security concept and has been 
abonded for years on almost any system I know of.

It's like break one and get the rest of them for free.

Hugo.

-- 
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
This message is using 100% recycled electrons.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Andy Shellam (Mailing Lists)
You may be connecting to Nagios using nagiosadmin, but that is a user 
under your webserver, not an OS user.
If your Apache runs under the user "nobody", that is the user you need 
to add to the nagioscmd group.


Nedim Bicic wrote:
> yeah i think thats the problem i am loging in as nagiosadmin but from 
> what i copied and pasted from documentation in nagios created user 
> nobody and nagios '
>  
> But when i log into nagios i am logging in as nagiosadmin not nobody 
> or nagios i tried adding nagiosadmin with this command:
>  
> */usr/sbin/usermod -G nagiocmd nagiosadmin*
> usermod: user nagiosadmin does not exist
>  
> keeps giving me this error
> but i think difinitly this might be casuing the error can you show me 
> what i can do to add the user to this group or check weather it has 
> been added??
>  
> thanks
>  

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Israel Brewster
On Jan 22, 2007, at 9:05 AM, Nedim Bicic wrote:

> yeah i think thats the problem i am loging in as nagiosadmin but  
> from what i copied and pasted from documentation in nagios created  
> user nobody and nagios '
>
> But when i log into nagios i am logging in as nagiosadmin not  
> nobody or nagios i tried adding nagiosadmin with this command:
>
> /usr/sbin/usermod -G nagiocmd nagiosadmin
> usermod: user nagiosadmin does not exist
>
> keeps giving me this error
> but i think difinitly this might be casuing the error can you show  
> me what i can do to add the user to this group or check weather it  
> has been added??

Yeah. The key here is that you need the user your webserver RUNS as,  
NOT the user you log into your webpages as. You can find this by  
looking at your httpd.conf file, the User directive. Usually it is  
either apache or www, but this can vary. once you have found that,  
use the command you tried above with that user to add it to the  
nagiocmd group.

>
> thanks
>
>
>
>
> On 1/22/07, Israel Brewster <[EMAIL PROTECTED]> wrote: On  
> Jan 22, 2007, at 8:30 AM, Nedim Bicic wrote:
>
> > ok and here is what i have for my permission set since thats
> > indicating to be the problem
> >
> > > ls -al
> > total 612
> > drwxr-xr-x  4 nagios nagios 4096 Jan 22 12:20 .
> > drwxr-xr-x  6 root   root   4096 Jan 21 04:02 ..
> > drwxr-xr-x  2 nagios nagios 4096 Jan 22 00:00 archives
> > -rw-rw-r--  1 nagios nagios  238 Jan 21 09:18 comments.dat
> > -rw---  1 nagios nagios16161 Jan  2 09:45 dead.letter
> > -rw-rw-r--  1 nagios nagios  239 Nov  1 19:59 downtime.dat
> > -rw-rw-r--  1 nagios nagios24965 Jan 22 12:12 nagios.log
> > -rw---  1 nagios nagios18260 Jan  2 13:34 nagios.tmpXc4VgH
> > -rw-r--r--  1 nagios nagios   146210 Jan 22 11:53 objects.cache
> > -rw---  1 nagios nagios   180872 Jan 22 11:53 retention.dat
> > drwxrwsr-x  2 nagios nagiocmd   4096 Jan 22 11:53 rw
> > -rw-rw-r--  1 nagios nagios   173636 Jan 22 12:20 status.dat
> > > cd rw
> > > ls
> > nagios.cmd
> > > ls -al
> > total 16
> > drwxrwsr-x  2 nagios nagiocmd 4096 Jan 22 11:53 .
> > drwxr-xr-x  4 nagios nagios   4096 Jan 22 12:21 ..
> > prw-rw  1 nagios nagiocmd0 Jan 22 11:53 nagios.cmd
> >
> >
> > everything is how it suppose to be as shown in the manual
> >
> > need help nagios.cmd file is there just can not edit anything and i
> > have external_command enables and interval check set to -1
> >
> >
> > thanks
>
> I'm coming into this discussion late, and haven't read all the back
> messages, so I apologize if this has already been asked, but is the
> user your webserver runs under in the nagiocmd group?
>
> ---
> Israel Brewster
> Computer Support Technician
> Frontier Flying Service INC.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> ---
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On 1/22/07, Marc Powell <[EMAIL PROTECTED]> wrote:
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:nagios-
> > users-
> > > [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> > > Sent: Sunday, January 21, 2007 5:33 PM
> > > To: nagios-users@lists.sourceforge.net
> > > Subject: [Nagios-users] nagios.cmd external
> > >
> > > Hi all, i have nagios 2.4
> > >
> > > I need want to change and input settings via the web interface  
> like
> > > scheduale downtime etc, which i read that the external command  
> does
> > this i
> > > enabled it in nagiod.cfg =1
> > > but i aslo found out that you need to create a nagios.cmd file and
> > give it
> > > directory permission , located in one of the folders that keeps  
> this
> > log
> > >
> > > my question is how do i create this file and make it point to
> > external
> > > command so when i do isue an extenal command on web interface
> >
> > Please read the documentation for the section titled 'External
> > Commands'. It answers all your questions.
> >
> > --
> > Marc
> >
> >
> >  
> --
> > ---
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > opinions on IT & business topics through brief surveys - and earn  
> cash
> > http://www.techsay.com/default.php?
> > page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Nagios-users mailing list
> > Nagios-users@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
> >
> >  
> --
> > ---
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the ch

Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Nedim Bicic

yeah i think thats the problem i am loging in as nagiosadmin but from what i
copied and pasted from documentation in nagios created user nobody and
nagios '

But when i log into nagios i am logging in as nagiosadmin not nobody or
nagios i tried adding nagiosadmin with this command:

*/usr/sbin/usermod -G nagiocmd nagiosadmin*
usermod: user nagiosadmin does not exist

keeps giving me this error
but i think difinitly this might be casuing the error can you show me what i
can do to add the user to this group or check weather it has been added??

thanks




On 1/22/07, Israel Brewster <[EMAIL PROTECTED]> wrote:


On Jan 22, 2007, at 8:30 AM, Nedim Bicic wrote:

> ok and here is what i have for my permission set since thats
> indicating to be the problem
>
> > ls -al
> total 612
> drwxr-xr-x  4 nagios nagios 4096 Jan 22 12:20 .
> drwxr-xr-x  6 root   root   4096 Jan 21 04:02 ..
> drwxr-xr-x  2 nagios nagios 4096 Jan 22 00:00 archives
> -rw-rw-r--  1 nagios nagios  238 Jan 21 09:18 comments.dat
> -rw---  1 nagios nagios16161 Jan  2 09:45 dead.letter
> -rw-rw-r--  1 nagios nagios  239 Nov  1 19:59 downtime.dat
> -rw-rw-r--  1 nagios nagios24965 Jan 22 12:12 nagios.log
> -rw---  1 nagios nagios18260 Jan  2 13:34 nagios.tmpXc4VgH
> -rw-r--r--  1 nagios nagios   146210 Jan 22 11:53 objects.cache
> -rw---  1 nagios nagios   180872 Jan 22 11:53 retention.dat
> drwxrwsr-x  2 nagios nagiocmd   4096 Jan 22 11:53 rw
> -rw-rw-r--  1 nagios nagios   173636 Jan 22 12:20 status.dat
> > cd rw
> > ls
> nagios.cmd
> > ls -al
> total 16
> drwxrwsr-x  2 nagios nagiocmd 4096 Jan 22 11:53 .
> drwxr-xr-x  4 nagios nagios   4096 Jan 22 12:21 ..
> prw-rw  1 nagios nagiocmd0 Jan 22 11:53 nagios.cmd
>
>
> everything is how it suppose to be as shown in the manual
>
> need help nagios.cmd file is there just can not edit anything and i
> have external_command enables and interval check set to -1
>
>
> thanks

I'm coming into this discussion late, and haven't read all the back
messages, so I apologize if this has already been asked, but is the
user your webserver runs under in the nagiocmd group?

---
Israel Brewster
Computer Support Technician
Frontier Flying Service INC.
5245 Airport Industrial Rd
Fairbanks, AK 99709
---
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 1/22/07, Marc Powell <[EMAIL PROTECTED]> wrote:
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-
> users-
> > [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> > Sent: Sunday, January 21, 2007 5:33 PM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] nagios.cmd external
> >
> > Hi all, i have nagios 2.4
> >
> > I need want to change and input settings via the web interface like
> > scheduale downtime etc, which i read that the external command does
> this i
> > enabled it in nagiod.cfg =1
> > but i aslo found out that you need to create a nagios.cmd file and
> give it
> > directory permission , located in one of the folders that keeps this
> log
> >
> > my question is how do i create this file and make it point to
> external
> > command so when i do isue an extenal command on web interface
>
> Please read the documentation for the section titled 'External
> Commands'. It answers all your questions.
>
> --
> Marc
>
>
> --
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Nagios-users mailing list
> Nagios-users@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
>
> --
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Nagios-users mailing list
> Nagios-users@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


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 

Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Israel Brewster
On Jan 22, 2007, at 8:30 AM, Nedim Bicic wrote:

> ok and here is what i have for my permission set since thats  
> indicating to be the problem
>
> > ls -al
> total 612
> drwxr-xr-x  4 nagios nagios 4096 Jan 22 12:20 .
> drwxr-xr-x  6 root   root   4096 Jan 21 04:02 ..
> drwxr-xr-x  2 nagios nagios 4096 Jan 22 00:00 archives
> -rw-rw-r--  1 nagios nagios  238 Jan 21 09:18 comments.dat
> -rw---  1 nagios nagios16161 Jan  2 09:45 dead.letter
> -rw-rw-r--  1 nagios nagios  239 Nov  1 19:59 downtime.dat
> -rw-rw-r--  1 nagios nagios24965 Jan 22 12:12 nagios.log
> -rw---  1 nagios nagios18260 Jan  2 13:34 nagios.tmpXc4VgH
> -rw-r--r--  1 nagios nagios   146210 Jan 22 11:53 objects.cache
> -rw---  1 nagios nagios   180872 Jan 22 11:53 retention.dat
> drwxrwsr-x  2 nagios nagiocmd   4096 Jan 22 11:53 rw
> -rw-rw-r--  1 nagios nagios   173636 Jan 22 12:20 status.dat
> > cd rw
> > ls
> nagios.cmd
> > ls -al
> total 16
> drwxrwsr-x  2 nagios nagiocmd 4096 Jan 22 11:53 .
> drwxr-xr-x  4 nagios nagios   4096 Jan 22 12:21 ..
> prw-rw  1 nagios nagiocmd0 Jan 22 11:53 nagios.cmd
>
>
> everything is how it suppose to be as shown in the manual
>
> need help nagios.cmd file is there just can not edit anything and i  
> have external_command enables and interval check set to -1
>
>
> thanks

I'm coming into this discussion late, and haven't read all the back  
messages, so I apologize if this has already been asked, but is the  
user your webserver runs under in the nagiocmd group?

  ---
Israel Brewster
Computer Support Technician
Frontier Flying Service INC.
5245 Airport Industrial Rd
Fairbanks, AK 99709
---
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 1/22/07, Marc Powell <[EMAIL PROTECTED]> wrote:
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios- 
> users-
> > [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> > Sent: Sunday, January 21, 2007 5:33 PM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] nagios.cmd external
> >
> > Hi all, i have nagios 2.4
> >
> > I need want to change and input settings via the web interface like
> > scheduale downtime etc, which i read that the external command does
> this i
> > enabled it in nagiod.cfg =1
> > but i aslo found out that you need to create a nagios.cmd file and
> give it
> > directory permission , located in one of the folders that keeps this
> log
> >
> > my question is how do i create this file and make it point to  
> external
> > command so when i do isue an extenal command on web interface
>
> Please read the documentation for the section titled 'External
> Commands'. It answers all your questions.
>
> --
> Marc
>
>
> -- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Nagios-users mailing list
> Nagios-users@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
>
> -- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV 
> ___
> Nagios-users mailing list
> Nagios-users@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


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Nedim Bicic

ok this is how far i got with the documentation but same error keeps coming
up when i try to put in external command ex: comment in host:

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

ok and here is what i have for my permission set since thats indicating to
be the problem

*> ls -al*
total 612
drwxr-xr-x  4 nagios nagios 4096 Jan 22 12:20 .
drwxr-xr-x  6 root   root   4096 Jan 21 04:02 ..
drwxr-xr-x  2 nagios nagios 4096 Jan 22 00:00 archives
-rw-rw-r--  1 nagios nagios  238 Jan 21 09:18 comments.dat
-rw---  1 nagios nagios16161 Jan  2 09:45 dead.letter
-rw-rw-r--  1 nagios nagios  239 Nov  1 19:59 downtime.dat
-rw-rw-r--  1 nagios nagios24965 Jan 22 12:12 nagios.log
-rw---  1 nagios nagios18260 Jan  2 13:34 nagios.tmpXc4VgH
-rw-r--r--  1 nagios nagios   146210 Jan 22 11:53 objects.cache
-rw---  1 nagios nagios   180872 Jan 22 11:53 retention.dat
drwxrwsr-x  2 nagios nagiocmd   4096 Jan 22 11:53 rw
-rw-rw-r--  1 nagios nagios   173636 Jan 22 12:20 status.dat
*> cd rw*
*> ls*
nagios.cmd
*> ls -al*
total 16
drwxrwsr-x  2 nagios nagiocmd 4096 Jan 22 11:53 .
drwxr-xr-x  4 nagios nagios   4096 Jan 22 12:21 ..
prw-rw  1 nagios nagiocmd0 Jan 22 11:53 nagios.cmd


everything is how it suppose to be as shown in the manual

need help nagios.cmd file is there just can not edit anything and i have
external_command enables and interval check set to -1


thanks





















On 1/22/07, Marc Powell <[EMAIL PROTECTED]> wrote:




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Sunday, January 21, 2007 5:33 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] nagios.cmd external
>
> Hi all, i have nagios 2.4
>
> I need want to change and input settings via the web interface like
> scheduale downtime etc, which i read that the external command does
this i
> enabled it in nagiod.cfg =1
> but i aslo found out that you need to create a nagios.cmd file and
give it
> directory permission , located in one of the folders that keeps this
log
>
> my question is how do i create this file and make it point to external
> command so when i do isue an extenal command on web interface

Please read the documentation for the section titled 'External
Commands'. It answers all your questions.

--
Marc


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Sunday, January 21, 2007 5:33 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] nagios.cmd external
> 
> Hi all, i have nagios 2.4
> 
> I need want to change and input settings via the web interface like
> scheduale downtime etc, which i read that the external command does
this i
> enabled it in nagiod.cfg =1
> but i aslo found out that you need to create a nagios.cmd file and
give it
> directory permission , located in one of the folders that keeps this
log
> 
> my question is how do i create this file and make it point to external
> command so when i do isue an extenal command on web interface

Please read the documentation for the section titled 'External
Commands'. It answers all your questions.

--
Marc
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Andy Shellam (Mailing Lists)
Nedim Bicic wrote:
> Hi all, i have nagios 2.4
>  
> I need want to change and input settings via the web interface like 
> scheduale downtime etc, which i read that the external command does 
> this i enabled it in nagiod.cfg =1
> but i aslo found out that you need to create a nagios.cmd file and 
> give it directory permission , located in one of the folders that 
> keeps this log
>  
> my question is how do i create this file and make it point to external 
> command so when i do isue an extenal command on web interface
>  
> does anyone know how this is set ...manual doesnt tell me much from 
> what i already did

You shouldn't create it yourself - Nagios creates it as required.
Just make sure the "rw" directory has read/write permission to the 
Nagios user and start Nagios.  You should get a nagios.cmd file in there.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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