monitoring files and messages
list Santoshbabu Perumal
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
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.
list Steve Holmes
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
list Paul Ehrenreich
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
list Josh Luthman
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
list Santoshbabu Perumal
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.
list Josh Luthman
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
list Santoshbabu Perumal
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
<mailto: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 thisThanks 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
list Josh Luthman
That is right: -> which namei /usr/bin/namei What OS are you running?
▸
On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote: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
-- 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
list Santoshbabu Perumal
hi, i can get output when i execute namei -m command on linux.out client machine is solaris.when i ecexute your command on client i am getting command not found error.do we need to have this commad on clientside to view file contents using hobbit? Thanks in advance Thanks santhosh.p
▸
From: Perumal, Santoshbabu
Sent: Wednesday, November 14, 2007 1:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: **Caution-External**: RE: [hobbit] monitoring files and
messages-newbie
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
<mailto: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 thisThanks 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
list Josh Luthman
As an alternative to namei you can do... ls -l /var ls -l /var/log ls -l /var/log/syslog7 and then give me the print outs. This will confirm the theory to see if your hobbit can read the /var/log/syslog7 file or not.
▸
On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:hi, i can get output when i execute namei -m command on linux.out client machine is solaris.when i ecexute your command on client i am getting command not found error.do we need to have this commad on clientside to view file contents using hobbit? Thanks in advance Thanks santhosh.p *From:* Perumal, Santoshbabu *Sent:* Wednesday, November 14, 2007 1:03 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* **Caution-External**: RE: [hobbit] monitoring files and messages-newbie 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
-- 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
list Santoshbabu Perumal
bash-2.03$ ls -l /var total 90 drwxr-xr-x 2 root root 512 Jul 6 2005 TT_DB drwxrwxr-x 9 root sys 512 Nov 11 03:10 adm drwxr-xr-x 8 root bin 512 Jul 6 2005 apache drwxr-xr-x 2 root sys 512 Jul 6 2005 audit drwxr-xr-x 3 root root 512 Jul 6 2005 crash drwxr-xr-x 2 root sys 512 Aug 13 2006 cron drwxr-xr-x 5 root sys 512 Jul 6 2005 dmi drwxrwxr-x 6 root root 512 Feb 4 2007 dt drwxr-xr-x 2 root sys 512 Jul 6 2005 inet drwxr-xr-x 3 root bin 512 Nov 12 10:35 ld drwxr-xr-x 2 root sys 512 Jul 6 2005 ldap drwxr-xr-x 2 root sys 512 Nov 11 03:10 log drwx------ 2 root root 8192 Jul 6 2005 lost+found drwxrwxr-x 3 lp lp 512 Jul 6 2005 lp drwxrwxrwt 3 root mail 512 Nov 13 21:09 mail drwxr-xr-x 2 root bin 512 Jul 6 2005 news drwxr-xr-x 2 root bin 512 Jul 6 2005 nfs drwxr-xr-x 2 root sys 512 Jul 6 2005 nis drwxr-xr-x 3 root sys 512 Jul 6 2005 ntp drwxr-xr-x 3 root sys 512 Jul 8 2005 opt drwxrwxrwt 3 root bin 512 Oct 27 2005 preserve lrwxrwxrwx 1 root other 8 Jul 8 2005 rap -> /nsr/rap drwxr-xr-x 4 root sys 585 May 24 13:18 run drwxr-xr-x 11 root sys 512 Feb 4 2007 sadm drwxr-xr-x 3 root bin 512 Jul 6 2005 saf drwxr-xr-x 3 root sys 512 Feb 4 2007 snmp drwxr-xr-x 10 root bin 512 Jul 6 2005 spool drwxr-xr-x 4 daemon daemon 512 Jul 6 2005 statmon drwxrwxrwt 4 root sys 1024 Nov 13 21:08 tmp drwxr-xr-x 7 uucp uucp 512 Jul 6 2005 uucp drwxr-xr-x 3 root bin 512 Jul 6 2005 yp bash-2.03$ ls -l /var/log/ total 544 -rw------- 1 root sys 0 Jul 6 2005 authlog -rw-r--r-- 1 root other 604 Nov 11 2005 sysidconfig.log -rwxrwxrwx 1 root other 14500 Nov 13 21:09 syslog -rw-r--r-- 1 root other 32465 Nov 10 21:09 syslog.0 -rw-r--r-- 1 root other 32259 Nov 3 21:09 syslog.1 -rw-r--r-- 1 root other 32443 Oct 27 21:08 syslog.2 -rw-r--r-- 1 root other 33041 Oct 20 21:08 syslog.3 -rw-r--r-- 1 root other 32161 Oct 13 21:11 syslog.4 -rw-r--r-- 1 root other 31945 Oct 6 21:07 syslog.5 -rw-r--r-- 1 root other 31492 Sep 29 21:08 syslog.6 -rw-r--r-- 1 root other 32281 Sep 22 21:08 syslog.7 bash-2.03$ ls -l /var/log/syslog.7 -rw-r--r-- 1 root other 32281 Sep 22 21:08 /var/log/syslog.7 ls -ld /var drwxr-xr-x 32 root sys 512 Jul 8 2005 /var all files are owned by root but others have read permission on all the files.
▸
Thanks
santhosh.p
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, November 14, 2007 1:21 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring
files and messages-newbie
As an alternative to namei you can do...
ls -l /var
ls -l /var/log
ls -l /var/log/syslog7
and then give me the print outs. This will confirm the theory to see if
your hobbit can read the /var/log/syslog7 file or not.
On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid>
wrote:
hi,
i can get output when i execute namei -m command on linux.out
client machine is solaris.when i ecexute your command on client i am
getting command not found error.do we need to have this commad on
clientside to view file contents using hobbit?
Thanks in advance
Thanks
santhosh.p
From: Perumal, Santoshbabu
Sent: Wednesday, November 14, 2007 1:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: **Caution-External**: RE: [hobbit] monitoring files and
messages-newbie
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 <mailto: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 thisThanks in advance
To unsubscribe from the hobbit list, send an e-mail to user-095ef1c764a2@xymon.invalid
▸
--
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
--
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
list Josh Luthman
Sorry, extremely tired tonight... ls -ld (you will need the d to make it ls -l /var itself and not list the contents of it)
▸
On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:*bash-2.03$ ls -l /var *total 90 drwxr-xr-x 2 root root 512 Jul 6 2005 TT_DB drwxrwxr-x 9 root sys 512 Nov 11 03:10 adm drwxr-xr-x 8 root bin 512 Jul 6 2005 apache drwxr-xr-x 2 root sys 512 Jul 6 2005 audit drwxr-xr-x 3 root root 512 Jul 6 2005 crash drwxr-xr-x 2 root sys 512 Aug 13 2006 cron drwxr-xr-x 5 root sys 512 Jul 6 2005 dmi drwxrwxr-x 6 root root 512 Feb 4 2007 dt drwxr-xr-x 2 root sys 512 Jul 6 2005 inet drwxr-xr-x 3 root bin 512 Nov 12 10:35 ld drwxr-xr-x 2 root sys 512 Jul 6 2005 ldap drwxr-xr-x 2 root sys 512 Nov 11 03:10 log drwx------ 2 root root 8192 Jul 6 2005 lost+found drwxrwxr-x 3 lp lp 512 Jul 6 2005 lp drwxrwxrwt 3 root mail 512 Nov 13 21:09 mail drwxr-xr-x 2 root bin 512 Jul 6 2005 news drwxr-xr-x 2 root bin 512 Jul 6 2005 nfs drwxr-xr-x 2 root sys 512 Jul 6 2005 nis drwxr-xr-x 3 root sys 512 Jul 6 2005 ntp drwxr-xr-x 3 root sys 512 Jul 8 2005 opt drwxrwxrwt 3 root bin 512 Oct 27 2005 preserve lrwxrwxrwx 1 root other 8 Jul 8 2005 rap -> /nsr/rap drwxr-xr-x 4 root sys 585 May 24 13:18 run drwxr-xr-x 11 root sys 512 Feb 4 2007 sadm drwxr-xr-x 3 root bin 512 Jul 6 2005 saf drwxr-xr-x 3 root sys 512 Feb 4 2007 snmp drwxr-xr-x 10 root bin 512 Jul 6 2005 spool drwxr-xr-x 4 daemon daemon 512 Jul 6 2005 statmon drwxrwxrwt 4 root sys 1024 Nov 13 21:08 tmp drwxr-xr-x 7 uucp uucp 512 Jul 6 2005 uucp drwxr-xr-x 3 root bin 512 Jul 6 2005 yp *bash-2.03$ ls -l /var/log/ *total 544 -rw------- 1 root sys 0 Jul 6 2005 authlog -rw-r--r-- 1 root other 604 Nov 11 2005 sysidconfig.log -rwxrwxrwx 1 root other 14500 Nov 13 21:09 syslog -rw-r--r-- 1 root other 32465 Nov 10 21:09 syslog.0 -rw-r--r-- 1 root other 32259 Nov 3 21:09 syslog.1 -rw-r--r-- 1 root other 32443 Oct 27 21:08 syslog.2 -rw-r--r-- 1 root other 33041 Oct 20 21:08 syslog.3 -rw-r--r-- 1 root other 32161 Oct 13 21:11 syslog.4 -rw-r--r-- 1 root other 31945 Oct 6 21:07 syslog.5 -rw-r--r-- 1 root other 31492 Sep 29 21:08 syslog.6 -rw-r--r-- 1 root other 32281 Sep 22 21:08 syslog.7 *bash-2.03$ ls -l /var/log/syslog.7* -rw-r--r-- 1 root other 32281 Sep 22 21:08 /var/log/syslog.7 *ls -ld /var* drwxr-xr-x 32 root sys 512 Jul 8 2005 /var all files are owned by root but others have read permission on all the files. Thanks santhosh.p *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 14, 2007 1:21 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie As an alternative to namei you can do... ls -l /var ls -l /var/log ls -l /var/log/syslog7 and then give me the print outs. This will confirm the theory to see if your hobbit can read the /var/log/syslog7 file or not. On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:hi, i can get output when i execute namei -m command on linux.out client machine is solaris.when i ecexute your command on client i am getting command not found error.do we need to have this commad on clientside to view file contents using hobbit? Thanks in advance Thanks santhosh.p *From:* Perumal, Santoshbabu *Sent:* Wednesday, November 14, 2007 1:03 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* **Caution-External**: RE: [hobbit] monitoring files and messages-newbie 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-- 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
-- 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
list Santoshbabu Perumal
thanks..i will touch base with this tomorrow then,..thanks for your time
▸
Thanks
santhosh.p
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, November 14, 2007 1:43 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring
files and messages-newbie
Sorry, extremely tired tonight...
ls -ld (you will need the d to make it ls -l /var itself and not list
the contents of it)
On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid>
wrote:
bash-2.03$ ls -l /var
total 90
drwxr-xr-x 2 root root 512 Jul 6 2005 TT_DB
drwxrwxr-x 9 root sys 512 Nov 11 03:10 adm
drwxr-xr-x 8 root bin 512 Jul 6 2005 apache
drwxr-xr-x 2 root sys 512 Jul 6 2005 audit
drwxr-xr-x 3 root root 512 Jul 6 2005 crash
drwxr-xr-x 2 root sys 512 Aug 13 2006 cron
drwxr-xr-x 5 root sys 512 Jul 6 2005 dmi
drwxrwxr-x 6 root root 512 Feb 4 2007 dt
drwxr-xr-x 2 root sys 512 Jul 6 2005 inet
drwxr-xr-x 3 root bin 512 Nov 12 10:35 ld
drwxr-xr-x 2 root sys 512 Jul 6 2005 ldap
drwxr-xr-x 2 root sys 512 Nov 11 03:10 log
drwx------ 2 root root 8192 Jul 6 2005 lost+found
drwxrwxr-x 3 lp lp 512 Jul 6 2005 lp
drwxrwxrwt 3 root mail 512 Nov 13 21:09 mail
drwxr-xr-x 2 root bin 512 Jul 6 2005 news
drwxr-xr-x 2 root bin 512 Jul 6 2005 nfs
drwxr-xr-x 2 root sys 512 Jul 6 2005 nis
drwxr-xr-x 3 root sys 512 Jul 6 2005 ntp
drwxr-xr-x 3 root sys 512 Jul 8 2005 opt
drwxrwxrwt 3 root bin 512 Oct 27 2005 preserve
lrwxrwxrwx 1 root other 8 Jul 8 2005 rap ->
/nsr/rap
drwxr-xr-x 4 root sys 585 May 24 13:18 run
drwxr-xr-x 11 root sys 512 Feb 4 2007 sadm
drwxr-xr-x 3 root bin 512 Jul 6 2005 saf
drwxr-xr-x 3 root sys 512 Feb 4 2007 snmp
drwxr-xr-x 10 root bin 512 Jul 6 2005 spool
drwxr-xr-x 4 daemon daemon 512 Jul 6 2005 statmon
drwxrwxrwt 4 root sys 1024 Nov 13 21:08 tmp
drwxr-xr-x 7 uucp uucp 512 Jul 6 2005 uucp
drwxr-xr-x 3 root bin 512 Jul 6 2005 yp
bash-2.03$ ls -l /var/log/
total 544
-rw------- 1 root sys 0 Jul 6 2005 authlog
-rw-r--r-- 1 root other 604 Nov 11 2005
sysidconfig.log
-rwxrwxrwx 1 root other 14500 Nov 13 21:09 syslog
-rw-r--r-- 1 root other 32465 Nov 10 21:09 syslog.0
-rw-r--r-- 1 root other 32259 Nov 3 21:09 syslog.1
-rw-r--r-- 1 root other 32443 Oct 27 21:08 syslog.2
-rw-r--r-- 1 root other 33041 Oct 20 21:08 syslog.3
-rw-r--r-- 1 root other 32161 Oct 13 21:11 syslog.4
-rw-r--r-- 1 root other 31945 Oct 6 21:07 syslog.5
-rw-r--r-- 1 root other 31492 Sep 29 21:08 syslog.6
-rw-r--r-- 1 root other 32281 Sep 22 21:08 syslog.7
bash-2.03$ ls -l /var/log/syslog.7
-rw-r--r-- 1 root other 32281 Sep 22 21:08
/var/log/syslog.7
ls -ld /var
drwxr-xr-x 32 root sys 512 Jul 8 2005 /var
all files are owned by root but others have read permission on
all the files.
Thanks
santhosh.p
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, November 14, 2007 1:21 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit]
monitoring files and messages-newbie
As an alternative to namei you can do...
ls -l /var
ls -l /var/log
ls -l /var/log/syslog7
and then give me the print outs. This will confirm the theory
to see if your hobbit can read the /var/log/syslog7 file or not.
On 11/14/07, Perumal, Santoshbabu
<user-bc15f54a09ea@xymon.invalid> wrote:
hi,
i can get output when i execute namei -m command on
linux.out client machine is solaris.when i ecexute your command on
client i am getting command not found error.do we need to have this
commad on clientside to view file contents using hobbit?
Thanks in advance
Thanks
santhosh.p
From: Perumal, Santoshbabu
Sent: Wednesday, November 14, 2007 1:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: **Caution-External**: RE: [hobbit] monitoring
files and messages-newbie
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 <mailto: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 -- 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 -- 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
list Santoshbabu Perumal
Hi,
my problem on viewing files has not been resolved yet.u can see
the list of files if i click any of the files to view it is popping up
new window saying
do you want to save this file
Name:bb-hostsvc.sh
Type :Unknown File Type
From :nypplweblogs.platts.mcgraw-hill.com
.my hobbit-clients.cfg file
HOST=tower
FILE /var/adm/sa/sar* TRACK=sarlog
my hobbit-client.cfg file
[tower]
file:`ls -t -1 /var/adm/sa/sar*`
log:/var/adm/messages
what could be the problem?please advice on this
▸
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.
list Josh Luthman
Erm...when you say these
▸
"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"
or "if i click any of the files to view it is popping up new window ..."
Are you referring to something like JDM or X? Or are you referring to using
a browser like IE or Firefox?
Josh
▸
On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:
Hi,
my problem on viewing files has not been resolved yet.u can see the
list of files if i click any of the files to view it is popping up new
window saying
do you want to save this file
Name:bb-hostsvc.sh
Type :Unknown File Type
From :nypplweblogs.platts.mcgraw-hill.com
.my hobbit-clients.cfg file
HOST=tower
FILE /var/adm/sa/sar* TRACK=sarlog
my hobbit-client.cfg file
[tower]
file:`ls -t -1 /var/adm/sa/sar*`
log:/var/adm/messages
what could be the problem?please advice on this
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
list Santoshbabu Perumal
we are using IE browser.do i need to install anything to view the files.
▸
Thanks
santhosh.p
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, November 14, 2007 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring
files and messages-newbie
Erm...when you say these
"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"
or "if i click any of the files to view it is popping up new window
..."
Are you referring to something like JDM or X? Or are you referring to
using a browser like IE or Firefox?
Josh
On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid>
wrote:
Hi,
my problem on viewing files has not been resolved yet.u
can see the list of files if i click any of the files to view it is
popping up new window saying
do you want to save this file
Name:bb-hostsvc.sh
Type :Unknown File Type
From :nypplweblogs.platts.mcgraw-hill.com
.my hobbit-clients.cfg file
HOST=tower
FILE /var/adm/sa/sar* TRACK=sarlog
my hobbit-client.cfg file
[tower]
file:`ls -t -1 /var/adm/sa/sar*`
log:/var/adm/messages
what could be the problem?please advice on this
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
list Josh Luthman
Probably not in the sense that you're thinking, but yes. If you click on the links does it have you download the *sh files? If so you skipped the last part of the install! I'm assuming you're using Apache as you're web server as it is Solaris. Find your httpd.conf and you'll need to refer to the Hobbit made ~hobbit/server/etc/hobbit-apache.conf Once you put the configuration in try an apachectl configtest and if that returns Syntax OK then go ahead and apachectl graceful (those commands may differ for you, they did work on my 5.8 Solaris box many years ago...). Afterward click on the links and see the wonders of Hobbit!
▸
On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:we are using IE browser.do i need to install anything to view the files. Thanks santhosh.p *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 14, 2007 11:49 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Erm...when you say these "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" or "if i click any of the files to view it is popping up new window ..." Are you referring to something like JDM or X? Or are you referring to using a browser like IE or Firefox? Josh On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:Hi, my problem on viewing files has not been resolved yet.u can see the list of files if i click any of the files to view it is popping up new window saying do you want to save this file Name:bb-hostsvc.sh Type :Unknown File Type From :nypplweblogs.platts.mcgraw-hill.com .my hobbit-clients.cfg file HOST=tower FILE /var/adm/sa/sar* TRACK=sarlog my hobbit-client.cfg file [tower] file:`ls -t -1 /var/adm/sa/sar*` log:/var/adm/messages what could be the problem?please advice on this 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
-- 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
list Santoshbabu Perumal
HI,
Stil i have not able to view the files.
hobbit made hobbit-apache.conf file and and httpd.conf file are exactly
same.
FYI
more hobbit-apache.conf
# This file is for Apache 1.3.x and Apache 2.0.x
#
# Add this to your Apache configuration, it makes
# the Hobbit webpages and cgi-scripts available in the
# "/hobbit" and "/hobbit-cgi" URLs.
# NB: The "Alias" line below must NOT be used if you have
# the Hobbit webfiles as the root URL. In that case,
# you should instead set this:
#
# DocumentRoot /fs4_backup/hobbit/server/www
Alias /hobbit/ "/fs4_backup/hobbit/server/www/"
<Directory "/fs4_backup/hobbit/server/www">
Options Indexes FollowSymLinks Includes MultiViews
Order allow,deny
Allow from all
</Directory>
ScriptAlias /hobbit-cgi/ "/fs4_backup/hobbit/cgi-bin/"
<Directory "/fs4_backup/hobbit/cgi-bin">
AllowOverride None
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
ScriptAlias /hobbit-seccgi/ "/fs4_backup/hobbit/cgi-secure/"
<Directory "/fs4_backup/hobbit/cgi-secure">
AllowOverride None
Options ExecCGI Includes
Order allow,deny
Allow from all
# Password file where users with access to these scripts are kept.
# Create it with "htpasswd -c
/fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME"
# Add more users / change passwords with "htpasswd
/fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME"
#
# You can also use a group file to restrict admin access to members
of a
# group, instead of anyone who is logged in. In that case you must
setup
# the "hobbitgroups" file, and change the "Require" settings to
require
# a specific group membership. See the Apache docs for more details.
AuthUserFile /fs4_backup/hobbit/server/etc/hobbitpasswd
AuthGroupFile /fs4_backup/hobbit/server/etc/hobbitgroups
AuthType Basic
AuthName "Hobbit Administration"
# "valid-user" restricts access to anyone who is logged in.
Require valid-user
# "group admins" restricts access to users who have logged in, AND
# are members of the "admins" group in hobbitgroups.
# Require group admins
</Directory>
httpd.conf
Alias /hobbit/ "/fs4_backup/hobbit/server/www/"
<Directory "/fs4_backup/hobbit/server/www">
Options Indexes FollowSymLinks Includes MultiViews
Order allow,deny
Allow from all
</Directory>
ScriptAlias /hobbit-cgi/ "/fs4_backup/hobbit/cgi-bin/"
<Directory "/fs4_backup/hobbit/cgi-bin">
AllowOverride None
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
ScriptAlias /hobbit-seccgi/ "/fs4_backup/hobbit/cgi-secure/"
<Directory "/fs4_backup/hobbit/cgi-secure">
AllowOverride None
Options ExecCGI Includes
Order allow,deny
Allow from all
# Password file where users with access to these scripts are kept.
# Create it with "htpasswd -c
/fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME"
# Add more users / change passwords with "htpasswd
/fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME"
#
# You can also use a group file to restrict admin access to members
of a
# group, instead of anyone who is logged in. In that case you must
setup
# the "hobbitgroups" file, and change the "Require" settings to
require
# a specific group membership. See the Apache docs for more details.
AuthUserFile /fs4_backup/hobbit/server/etc/hobbitpasswd
AuthGroupFile /fs4_backup/hobbit/server/etc/hobbitgroups
AuthType Basic
AuthName "Hobbit Administration"
# "valid-user" restricts access to anyone who is logged in.
Require valid-user
# "group admins" restricts access to users who have logged in, AND
# are members of the "admins" group in hobbitgroups.
# Require group admins
</Directory>
please help me on this.basically we need sar output graphs.is it
possible on HOBBIT?
▸
Thanks
santhosh.p
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, November 14, 2007 1:23 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring
files and messages-newbie
Probably not in the sense that you're thinking, but yes.
If you click on the links does it have you download the *sh files? If
so you skipped the last part of the install! I'm assuming you're using
Apache as you're web server as it is Solaris. Find your httpd.conf and
you'll need to refer to the Hobbit made
~hobbit/server/etc/hobbit-apache.conf
Once you put the configuration in try an apachectl configtest and if
that returns Syntax OK then go ahead and apachectl graceful (those
commands may differ for you, they did work on my 5.8 Solaris box many
years ago...).
Afterward click on the links and see the wonders of Hobbit!
On 11/14/07, Perumal, Santoshbabu < user-bc15f54a09ea@xymon.invalid
<mailto:user-bc15f54a09ea@xymon.invalid> > wrote:
we are using IE browser.do i need to install anything to view
the files.
Thanks
santhosh.p
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, November 14, 2007 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit]
monitoring files and messages-newbie
Erm...when you say these
"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"
or "if i click any of the files to view it is popping up new
window ..."
Are you referring to something like JDM or X? Or are you
referring to using a browser like IE or Firefox?
Josh
On 11/14/07, Perumal, Santoshbabu
<user-bc15f54a09ea@xymon.invalid> wrote:
Hi,
my problem on viewing files has not been resolved
yet.u can see the list of files if i click any of the files to view it
is popping up new window saying
do you want to save this file
Name:bb-hostsvc.sh
Type :Unknown File Type
From : nypplweblogs.platts.mcgraw-hill.com<http://nypplweblogs.platts.mcgraw-hill.com>;
▸
.my hobbit-clients.cfg file
HOST=tower
FILE /var/adm/sa/sar* TRACK=sarlog
my hobbit-client.cfg file
[tower]
file:`ls -t -1 /var/adm/sa/sar*`
log:/var/adm/messages
what could be the problem?please advice on this
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
--
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
list Josh Luthman
Is that all of your httpd.conf that you posted up there? There needs to be a hell of a lot more then that for Apache to work!!!
▸
On 11/15/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:HI, Stil i have not able to view the files. hobbit made hobbit-apache.conf file and and httpd.conf file are exactly same. FYI *more hobbit-apache.conf* # This file is for Apache 1.3.x and Apache 2.0.x # # Add this to your Apache configuration, it makes # the Hobbit webpages and cgi-scripts available in the # "/hobbit" and "/hobbit-cgi" URLs. # NB: The "Alias" line below must NOT be used if you have # the Hobbit webfiles as the root URL. In that case, # you should instead set this: # # DocumentRoot /fs4_backup/hobbit/server/www Alias /hobbit/ "/fs4_backup/hobbit/server/www/" <Directory "/fs4_backup/hobbit/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-cgi/ "/fs4_backup/hobbit/cgi-bin/" <Directory "/fs4_backup/hobbit/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-seccgi/ "/fs4_backup/hobbit/cgi-secure/" <Directory "/fs4_backup/hobbit/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all # Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # Add more users / change passwords with "htpasswd /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "hobbitgroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details. AuthUserFile /fs4_backup/hobbit/server/etc/hobbitpasswd AuthGroupFile /fs4_backup/hobbit/server/etc/hobbitgroups AuthType Basic AuthName "Hobbit Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in hobbitgroups. # Require group admins </Directory> *httpd.conf* Alias /hobbit/ "/fs4_backup/hobbit/server/www/" <Directory "/fs4_backup/hobbit/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-cgi/ "/fs4_backup/hobbit/cgi-bin/" <Directory "/fs4_backup/hobbit/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-seccgi/ "/fs4_backup/hobbit/cgi-secure/" <Directory "/fs4_backup/hobbit/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all # Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # Add more users / change passwords with "htpasswd /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "hobbitgroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details. AuthUserFile /fs4_backup/hobbit/server/etc/hobbitpasswd AuthGroupFile /fs4_backup/hobbit/server/etc/hobbitgroups AuthType Basic AuthName "Hobbit Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in hobbitgroups. # Require group admins </Directory> *please help me on this.basically we need sar output graphs.is it possible on HOBBIT?* ** *Thanks* * santhosh.p* *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 14, 2007 1:23 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Probably not in the sense that you're thinking, but yes. If you click on the links does it have you download the *sh files? If so you skipped the last part of the install! I'm assuming you're using Apache as you're web server as it is Solaris. Find your httpd.conf and you'll need to refer to the Hobbit made ~hobbit/server/etc/hobbit-apache.conf Once you put the configuration in try an apachectl configtest and if that returns Syntax OK then go ahead and apachectl graceful (those commands may differ for you, they did work on my 5.8 Solaris box many years ago...). Afterward click on the links and see the wonders of Hobbit! On 11/14/07, Perumal, Santoshbabu < user-bc15f54a09ea@xymon.invalid> wrote:we are using IE browser.do i need to install anything to view the files. Thanks santhosh.p *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 14, 2007 11:49 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Erm...when you say these "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" or "if i click any of the files to view it is popping up new window ..." Are you referring to something like JDM or X? Or are you referring to using a browser like IE or Firefox? Josh On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:Hi, my problem on viewing files has not been resolved yet.u can see the list of files if i click any of the files to view it is popping up new window saying do you want to save this file Name:bb-hostsvc.sh Type :Unknown File Type From : nypplweblogs.platts.mcgraw-hill.com .my hobbit-clients.cfg file HOST=tower FILE /var/adm/sa/sar* TRACK=sarlog my hobbit-client.cfg file [tower] file:`ls -t -1 /var/adm/sa/sar*` log:/var/adm/messages what could be the problem?please advice on this 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-- 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
-- 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
list Santoshbabu Perumal
Thanks for your reply.i am not much familiar with apache.i will try to find it.if you have time plese help me .
▸
Thanks santhosh.p From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Thursday, November 15, 2007 10:03 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Is that all of your httpd.conf that you posted up there? There needs to be a hell of a lot more then that for Apache to work!!! On 11/15/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote: HI, Stil i have not able to view the files. hobbit made hobbit-apache.conf file and and httpd.conf file are exactly same. FYI more hobbit-apache.conf # This file is for Apache 1.3.x and Apache 2.0.x # # Add this to your Apache configuration, it makes # the Hobbit webpages and cgi-scripts available in the # "/hobbit" and "/hobbit-cgi" URLs. # NB: The "Alias" line below must NOT be used if you have # the Hobbit webfiles as the root URL. In that case, # you should instead set this: # # DocumentRoot /fs4_backup/hobbit/server/www Alias /hobbit/ "/fs4_backup/hobbit/server/www/" <Directory "/fs4_backup/hobbit/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-cgi/ "/fs4_backup/hobbit/cgi-bin/" <Directory "/fs4_backup/hobbit/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-seccgi/ "/fs4_backup/hobbit/cgi-secure/" <Directory "/fs4_backup/hobbit/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all # Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # Add more users / change passwords with "htpasswd /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "hobbitgroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details. AuthUserFile /fs4_backup/hobbit/server/etc/hobbitpasswd AuthGroupFile /fs4_backup/hobbit/server/etc/hobbitgroups AuthType Basic AuthName "Hobbit Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in hobbitgroups. # Require group admins </Directory> httpd.conf Alias /hobbit/ "/fs4_backup/hobbit/server/www/" <Directory "/fs4_backup/hobbit/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-cgi/ "/fs4_backup/hobbit/cgi-bin/" <Directory "/fs4_backup/hobbit/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-seccgi/ "/fs4_backup/hobbit/cgi-secure/" <Directory "/fs4_backup/hobbit/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all # Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # Add more users / change passwords with "htpasswd /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "hobbitgroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details. AuthUserFile /fs4_backup/hobbit/server/etc/hobbitpasswd AuthGroupFile /fs4_backup/hobbit/server/etc/hobbitgroups AuthType Basic AuthName "Hobbit Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in hobbitgroups. # Require group admins </Directory> please help me on this.basically we need sar output graphs.is it possible on HOBBIT? Thanks santhosh.p From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Wednesday, November 14, 2007 1:23 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Probably not in the sense that you're thinking, but yes. If you click on the links does it have you download the *sh files? If so you skipped the last part of the install! I'm assuming you're using Apache as you're web server as it is Solaris. Find your httpd.conf and you'll need to refer to the Hobbit made ~hobbit/server/etc/hobbit-apache.conf Once you put the configuration in try an apachectl configtest and if that returns Syntax OK then go ahead and apachectl graceful (those commands may differ for you, they did work on my 5.8 Solaris box many years ago...). Afterward click on the links and see the wonders of Hobbit! On 11/14/07, Perumal, Santoshbabu < user-bc15f54a09ea@xymon.invalid <mailto:user-bc15f54a09ea@xymon.invalid> > wrote: we are using IE browser.do i need to install anything to view the files. Thanks santhosh.p From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Wednesday, November 14, 2007 11:49 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Erm...when you say these "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" or "if i click any of the files to view it is popping up new window ..." Are you referring to something like JDM or X? Or are you referring to using a browser like IE or Firefox? Josh On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote: Hi, my problem on viewing files has not been resolved yet.u can see the list of files if i click any of the files to view it is popping up new window saying do you want to save this file Name:bb-hostsvc.sh Type :Unknown File Type From : nypplweblogs.platts.mcgraw-hill.com <http://nypplweblogs.platts.mcgraw-hill.com>; .my hobbit-clients.cfg file HOST=tower FILE /var/adm/sa/sar* TRACK=sarlog my hobbit-client.cfg file [tower] file:`ls -t -1 /var/adm/sa/sar*` log:/var/adm/messages what could be the problem?please advice on this 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 -- 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 -- 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
list Josh Luthman
What I'm asking is did you copy the Hobbit supplied "Apache configuration" on top of httpd.conf? The httpd.conf will have a lot more options configured then what Hobbit created. You should have tacked the Hobbit configuration for Apache within the currently existing httpd.conf. If you have already done this you need to restore your Apache configuration. Worst case, reinstall it. Josh
▸
On 11/15/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:Thanks for your reply.i am not much familiar with apache.i will try to find it.if you have time plese help me . Thanks santhosh.p *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Thursday, November 15, 2007 10:03 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Is that all of your httpd.conf that you posted up there? There needs to be a hell of a lot more then that for Apache to work!!! On 11/15/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:HI, Stil i have not able to view the files. hobbit made hobbit-apache.conf file and and httpd.conf file are exactly same. FYI *more hobbit-apache.conf* # This file is for Apache 1.3.x and Apache 2.0.x # # Add this to your Apache configuration, it makes # the Hobbit webpages and cgi-scripts available in the # "/hobbit" and "/hobbit-cgi" URLs. # NB: The "Alias" line below must NOT be used if you have # the Hobbit webfiles as the root URL. In that case, # you should instead set this: # # DocumentRoot /fs4_backup/hobbit/server/www Alias /hobbit/ "/fs4_backup/hobbit/server/www/" <Directory "/fs4_backup/hobbit/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-cgi/ "/fs4_backup/hobbit/cgi-bin/" <Directory "/fs4_backup/hobbit/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-seccgi/ "/fs4_backup/hobbit/cgi-secure/" <Directory "/fs4_backup/hobbit/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all # Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # Add more users / change passwords with "htpasswd /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "hobbitgroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details. AuthUserFile /fs4_backup/hobbit/server/etc/hobbitpasswd AuthGroupFile /fs4_backup/hobbit/server/etc/hobbitgroups AuthType Basic AuthName "Hobbit Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in hobbitgroups. # Require group admins </Directory> *httpd.conf* Alias /hobbit/ "/fs4_backup/hobbit/server/www/" <Directory "/fs4_backup/hobbit/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-cgi/ "/fs4_backup/hobbit/cgi-bin/" <Directory "/fs4_backup/hobbit/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory> ScriptAlias /hobbit-seccgi/ "/fs4_backup/hobbit/cgi-secure/" <Directory "/fs4_backup/hobbit/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all # Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # Add more users / change passwords with "htpasswd /fs4_backup/hobbit/server/etc/hobbitpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "hobbitgroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details. AuthUserFile /fs4_backup/hobbit/server/etc/hobbitpasswd AuthGroupFile /fs4_backup/hobbit/server/etc/hobbitgroups AuthType Basic AuthName "Hobbit Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in hobbitgroups. # Require group admins </Directory> *please help me on this.basically we need sar output graphs.is it possible on HOBBIT?* ** *Thanks* * santhosh.p* *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 14, 2007 1:23 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Probably not in the sense that you're thinking, but yes. If you click on the links does it have you download the *sh files? If so you skipped the last part of the install! I'm assuming you're using Apache as you're web server as it is Solaris. Find your httpd.conf and
you'll need to refer to the Hobbit made ~hobbit/server/etc/hobbit- apache.conf
▸
Once you put the configuration in try an apachectl configtest and if that returns Syntax OK then go ahead and apachectl graceful (those commands may differ for you, they did work on my 5.8 Solaris box many years ago...). Afterward click on the links and see the wonders of Hobbit! On 11/14/07, Perumal, Santoshbabu < user-bc15f54a09ea@xymon.invalid>
▸
wrote:we are using IE browser.do i need to install anything to view the files. Thanks santhosh.p *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 14, 2007 11:49 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] RE: **Caution-External**: RE: [hobbit] monitoring files and messages-newbie Erm...when you say these "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" or "if i click any of the files to view it is popping up new window ..." Are you referring to something like JDM or X? Or are you referring to using a browser like IE or Firefox? Josh On 11/14/07, Perumal, Santoshbabu <user-bc15f54a09ea@xymon.invalid> wrote:Hi, my problem on viewing files has not been resolved yet.u can see the list of files if i click any of the files to view it is popping up new window saying do you want to save this file Name:bb-hostsvc.sh Type :Unknown File Type From : nypplweblogs.platts.mcgraw-hill.com .my hobbit-clients.cfg file HOST=tower FILE /var/adm/sa/sar* TRACK=sarlog my hobbit-client.cfg file [tower] file:`ls -t -1 /var/adm/sa/sar*` log:/var/adm/messages what could be the problem?please advice on this 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-- 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-- 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
-- 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