**Caution-External**: RE: [hobbit] monitoring files and messages-newbie

Perumal, Santoshbabu santoshbabu_perumal at platts.com
Wed Nov 14 07:10:35 CET 2007


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: hobbit at hswn.dk
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:josh at imaginenetworksllc.com] 
Sent: Wednesday, November 14, 2007 12:55 AM
To: hobbit at hswn.dk
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 < santoshbabu_perumal at platts.com
<mailto:santoshbabu_perumal at platts.com> > 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:josh at imaginenetworksllc.com] 
	Sent: Tuesday, November 13, 2007 10:12 PM
	To: hobbit at hswn.dk
	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 <paulehr at gmail.com> wrote: 

		does the hobbit user have access to the logs and the
files?
		
		On Nov 13, 2007 4:53 PM, Steve Holmes
<sholmes42 at mac.com> wrote:
		> Have you also added the required lines to
client-local.cfg?
		> Steve.
		>
		>
		>
		>
		> On Nov 13, 2007 3:48 PM, Perumal, Santoshbabu
		> <santoshbabu_perumal at platts.com > 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
		> >
		> >
		> >
		> >
		> >
		>
		
		To unsubscribe from the hobbit list, send an e-mail to
		hobbit-unsubscribe at hswn.dk
		
		
		




	-- 
	Josh Luthman
	Office: 937-552-2340
	Direct: 937-552-2343
	1100 Wayne St
	Suite 1337
	Troy, OH 45373
	
	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: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly. 
--- Henry Spencer 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071114/1e2d0e0a/attachment.html>


More information about the Xymon mailing list