nagios.cmd

Jan Scholten Jan.Scholten at iconz.net
Mon Nov 29 21:21:55 CET 2004


Wengrzik, Andreas wrote:

Did you follow the Manual?

If you set the group sticky bit for the directory
every created File should have the right permissions . chown rw to 
nagios:nagioscmd!


chewbacca:/usr/local/nagios/var# ll
total 192
drwxrwxr-x  4 nagios nagios     4096 2004-11-30 09:18 .
drwxr-sr-x  8 nagios nagios     4096 2004-11-26 11:15 ..
drwxrwxr-x  2 nagios nagios     4096 2004-11-30 00:00 archives
-rw-rw-r--  1 nagios nagios      465 2004-11-29 16:11 comment.log
-rw-rw-r--  1 nagios nagios        0 2004-11-29 16:11 downtime.log
-rw-r--r--  1 root   root          6 2004-11-29 16:11 nagios.lock
-rw-rw-r--  1 nagios nagios    19804 2004-11-30 09:18 nagios.log
drwxrws---  2 nagios nagioscmd  4096 2004-11-29 16:11 rw
-rw-rw-r--  1 nagios nagios    80451 2004-11-30 09:18 status.log
-rw-r--r--  1 nagios nagios    60232 2004-11-30 09:11 status.sav
chewbacca:/usr/local/nagios/var# cd rw
chewbacca:/usr/local/nagios/var/rw# ll
total 8
drwxrws---  2 nagios nagioscmd 4096 2004-11-29 16:11 .
drwxrwxr-x  4 nagios nagios    4096 2004-11-30 09:19 ..
prw-rw----  1 nagios nagioscmd    0 2004-11-29 16:11 nagios.cmd
chewbacca:/usr/local/nagios/var/rw#


> Sorry, i forgot to say that im using version 1.2
> 
>>Hi!
>>
>>I have some trouble with my /nagios/var/rw/nagios.cmd  file.
>>After restarting nagios i have always to set the permissions 
>>to execute...
>>Basic settings seems like 644 - the owner is my nagios user...
>>
>>So why this file always gets to this 644 mode after 
>>restarting nagios??
>>
>>
>>Thanks for help
>>
>>-regards andreas




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.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





More information about the Users mailing list