alerts
Andreas Ericsson
ae at op5.se
Tue Jan 30 10:12:52 CET 2007
Brian Loe wrote:
> On 1/29/07, Josh Yost <Josh.Yost at epsiia.com> wrote:
>
> When I kill the nagios process (there's only one according to "ps fax
> | grep nagios") the lock file is removed.
>
> I did just notice something interesting though, with the permissions,
> are they correct?
> /usr/local/nagios/etc # ls -altr ../var/
> total 484
> -rw-r--r-- 1 nagios nagios 6 Jan 29 09:59 nagios.lock
> -rw-rw-r-- 1 nagios nagios 145469 Jan 29 10:00 status.dat
> drwxrwxr-x 4 nagios nagios 344 Jan 29 10:00 .
>
> The lock file doesn't have write permissions for, what, group?
It doesn't need to. Nagios manages it alone and no other group can
touch it anyway as it obtains a file-lock on it.
> Is this
> thing some how looked at or..whatever...when an alert is sent?
No. The lock-file is there to make sure that you can't start another
nagios instance while one is already running.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------------------------
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 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