namei -m /var/log/syslog7
bash: namei: command not found
i bit confused .is there any command called namei.when i excute i got
the above commad not found result.
Thanks
santhosh.p
*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Wednesday, November 14, 2007 12:55 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] monitoring files and messages-newbie
Can you please do an namei -m /var/log/syslog7 and then give us the print
out?
On 11/14/07, Perumal, Santoshbabu < user-bc15f54a09ea@xymon.invalid> wrote:
thanks for your replies
i can see the file on the gui right now.but cann not view the
contents of the file.if i click it is saying that unknown filetype(opens
small window).can anyone help me on this
my hobbit-client.cfg file
HOST=tower
DISK / 93 98
PROC cron 1 -1 yellow
PROC Xvnc 1 120 yellow
PROC defunct 0 0 red
LOG /var/adm/messages WARNING COLOR=yellow
LOG /var/log/syslog WARNING COLOR=yellow
DIR %^/var/log TRACK
FILE /bin/su md5=c80fc747e24fa8bfa099cbef0bfb926f
FILE %^/var/log/syslog.* TRACK=maillog
my client-local.cfg file
[tower]
file:/bin/su:md5
file:`ls -t -1 /var/log/syslog.*|head -1`
In the gui i can see /var/log/syslog7 if i click on the file getting
unknown filetype error.cannot able to view the file.please advise if my
entries wrong
Thanks
santhosh.p
*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Tuesday, November 13, 2007 10:12 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] monitoring files and messages
I'm still amazed at how little this command hasn't gotten around - it is
a real beautiful tool!
Try doing a namei -m /var/adm/sa/sar12 and see if the hobbit user has
the necessary access to read the file (and can execute directories up to
it!)
On 11/13/07, Paul Ehrenreich <user-98a0adc73677@xymon.invalid> wrote:
does the hobbit user have access to the logs and the files?
On Nov 13, 2007 4:53 PM, Steve Holmes <user-ec1bf77b1b44@xymon.invalid> wrote:
Have you also added the required lines to client-local.cfg?
Steve.
On Nov 13, 2007 3:48 PM, Perumal, Santoshbabu
<user-bc15f54a09ea@xymon.invalid > wrote:
Hi,
can anyone help me to monitor files and procs
in the Hobbit-client.cfg file i have mentioned the following
entries
HOST=tower
FILE /var/adm/sa/sar12
LOG /var/log/syslog WARNING COLOR=yellow
but i could not able to see anything on the gui.i can see white
icon if i
click on this i see no files checked status and if i click msg icon
i cann
see only /var/adm/messages i coild not see /var/log/sulog.how can i
resolve
this problem.please help me on this
Thanks in advance
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
The information contained in this message is intended only for the
recipient, and may be a confidential attorney-client communication or may
otherwise be privileged and confidential and protected from disclosure. If
the reader of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended recipient,
please be aware that any dissemination or copying of this communication is
strictly prohibited. If you have received this communication in error,
please immediately notify us by replying to the message and deleting it from
your computer. The McGraw-Hill Companies, Inc. reserves the right, subject
to applicable local law, to monitor and review the content of any electronic
message or information sent to or from McGraw-Hill employee e-mail addresses
without informing the sender or recipient of the message.
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer