[hobbit] monitor files,log msgs,

Snyder, Howard HS3082 at att.com
Wed Feb 6 16:55:42 CET 2008


Tried that as well and could not get anything.  Do I have to stop and
restart the server after each change?

 

Thank you,

Howard Snyder

hs3082 at att.com  

SR Network Control Engineer

Network Services

404-531-5325

 

This email, and any attachments, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information. It is the property of Cingular Wireless and
its Affiliates. If you are not the intended recipient of this email, you
are hereby notified that any dissemination, distribution or copying of
this email, any attachments thereto, and any use of the information
contained is strictly prohibited. If you have received this email in
error, please notify me at 404.531.5325 and permanently delete the
original and any copy thereof.

 

For login requests and password resets, you will need to open a request
on the "My Logins" website:

 

https://nslogins.edc.cingular.net/login.cfm?CFID=13246&CFTOKEN=41726264
<https://nslogins.edc.cingular.net/login.cfm?CFID=13246&CFTOKEN=41726264
> 

 

For OSS problems:

DL-MNOC-OSS Adjunct

DL-MNOC-OSS Siemens

DL-MNOC-OSS Nortel

DL-MNOC-OSS Nokia

DL-MNOC-OSS Lucent

DL-MNOC-OSS Ericsson

 

 

 

 

From: Josh Luthman [mailto:josh at imaginenetworksllc.com] 
Sent: Wednesday, February 06, 2008 10:49 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] monitor files,log msgs,

 

I believe your problem is that the configuration reads top to bottom.
Your default configuration catches the hosts before your specified
configuration below the default.  Try switching the two around.

On 2/6/08, Snyder, Howard <HS3082 at att.com> wrote:

All,

 

I'm having problems with this as well.  I'm able to get the following as
they are the defaults:

 

Conn

CPU

Disk

Info

Memory

SSH

Trends

 

I can't get the following:

 

Files

MSGS

Ports

Procs

 

I'm able to get them to work on the Hobbit server itself, but I can't
seem to figure out how to get the same information from the clients.  I
installed the Hobbit client from the package and the servers see each
other.  This is what is in the hobbit-clients.cfg file:

 

DEFAULT

        # These are the built-in defaults.

        UP      1h

        LOAD    5.0 10.0

        DISK    * 90 95

        MEMPHYS 100 101

        MEMSWAP 50 80

        MEMACT  90 97

        PROC    httpd 3 40

        PROC    /usr/lib/inet/inetd start

        PROC    /usr/lib/ssh/sshd 1 99

        PROC    /usr/lib/hobbit/server/bin/hobbitlaunch

#

        PORT "LOCAL=%([.:]22)$" state=ESTABLISHED min=0 max=99
color=yellow TRACK=ssh "TEXT=SSH logins"

        PORT "LOCAL=%([.:]80)$" state=ESTABLISHED min=0 max=99
color=yellow TRACK=http "TEXT=HTTP"

 

HOST=SGLNHHOBBIT

file /var/adm/messages SIZE>0 MTIME<20000 TRACK yellow
**This test is the only one that show up on the web page.  It shows a
yellow "!" at the current time.  I can't figure out how to get this to
go green except to vi the file every 20000 seconds.  Any ideas?

file /var/log/hobbit/page.log SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

file /var/log/hobbit/hobbitd.log SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

file /var/log/hobbit/hobbitlaunch.log SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

file /var/log/hobbit/hobbitd.pid SIZE>0 SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

file /var/log/hobbit/rrd-status.log SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

file /var/log/hobbit/bb-network.log SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

file /var/log/hobbit/bb-display.log SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

file /var/log/hobbit/rrd-data.log SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

file /var/log/syslog SIZE>0 MTIME<7200 TRACK yellow
**This does not show up at all

 

All the above files are in the location listed.  I'm guessing that they
don't show up because of the settings listed.

 

This is what is in the "client-local.cfg" file (as well as the
defaults):

 

[wfs-bkp01-atl]

file:/var/log/

 

Both of the above files are located on the Hobbit server.  If I read the
files right on the client side there is not anything that I need to
configure.  I could be wrong about this.

 

 

Thank you,

Howard Snyder

hs3082 at att.com  

SR Network Control Engineer

Network Services

404-531-5325

 

This email, and any attachments, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information. It is the property of Cingular Wireless and
its Affiliates. If you are not the intended recipient of this email, you
are hereby notified that any dissemination, distribution or copying of
this email, any attachments thereto, and any use of the information
contained is strictly prohibited. If you have received this email in
error, please notify me at 404.531.5325 and permanently delete the
original and any copy thereof.

 

For login requests and password resets, you will need to open a request
on the "My Logins" website:

 

https://nslogins.edc.cingular.net/login.cfm?CFID=13246&CFTOKEN=41726264

 

For OSS problems:

DL-MNOC-OSS Adjunct

DL-MNOC-OSS Siemens

DL-MNOC-OSS Nortel

DL-MNOC-OSS Nokia

DL-MNOC-OSS Lucent

DL-MNOC-OSS Ericsson

 

 

Error! Filename not specified.

 

From: Perumal, Santoshbabu [mailto:santoshbabu_perumal at platts.com] 
Sent: Monday, February 04, 2008 12:34 PM


To: hobbit at hswn.dk
Subject: RE: [hobbit] monitor files,log msgs,

 

HI,

   Thanks. It worked.

   

          Is there any way to display contents of file or it displays
only size, timestamp, file type, permissions. When I made following
entry on client-local.cfg

 

 

file:`ls -l -t /var/adm/sa/sar*`:4096

 

it outputs

    

   -rw-r--r--   1 sys      sys       118298 Feb  1 18:05
/var/adm/sa/sar01
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Feb%20%201%2018:05%20/var/adm/sa/sar01>

 
-rw-r--r--   1 sys      sys       118298 Jan 31 18:05 /var/adm/sa/sar31
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2031%2018:05%20/var/adm/sa/sar31> 
 
Error! Filename not specified. -rw-r--r--   1 sys      sys       118298
Jan 30 18:05 /var/adm/sa/sar30
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2030%2018:05%20/var/adm/sa/sar30> 
 
Error! Filename not specified. -rw-r--r--   1 sys      sys       118298
Jan 29 18:05 /var/adm/sa/sar29
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2029%2018:05%20/var/adm/sa/sar29> 
 
Error! Filename not specified. -rw-r--r--   1 sys      sys       118298
Jan 28 18:05 /var/adm/sa/sar28
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2028%2018:05%20/var/adm/sa/sar28> 
 
Error! Filename not specified. -rw-r--r--   1 sys      sys       118298
Jan 25 18:05 /var/adm/sa/sar25
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2025%2018:05%20/var/adm/sa/sar25> 
 
Error! Filename not specified. -rw-r--r--   1 sys      sys       118298
Jan 24 18:05 /var/adm/sa/sar24
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2024%2018:05%20/var/adm/sa/sar24> 
 
Error! Filename not specified. -rw-r--r--   1 sys      sys       118298
Jan 23 18:05 /var/adm/sa/sar23
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2023%2018:05%20/var/adm/sa/sar23> 
 
Error! Filename not specified. -rw-r--r--   1 sys      sys       118298
Jan 22 18:05 /var/adm/sa/sar22
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2022%2018:05%20/var/adm/sa/sar22> 
 
Error! Filename not specified. -rw-r--r--   1 sys      sys       118298
Jan 21 18:05 /var/adm/sa/sar21
<http://nypplweblogs.platts.mcgraw-hill.com/hobbit-cgi/bb-hostsvc.sh?CLI
ENT=nj1db200pt&SECTION=file:-rw-r--r--%20%20%201%20sys%20%20%20%20%20%20
sys%20%20%20%20%20%20%20118298%20Jan%2021%2018:05%20/var/adm/sa/sar21> 
 

 

 

When I click on any one of the lick  it outputs

 

   

[file:-rw-r--r--   1 sys      sys       118298 Feb  1 18:05
/var/adm/sa/sar01]

ERROR: No such file or directory

 

But file is there.  Do I have to change or add anything to display the
contents of sar file or it checks only size, timestamp, permission etc.

    

 

 

________________________________

From: Haertig, David F (Dave) [mailto:haertig at avaya.com] 
Sent: Friday, February 01, 2008 7:20 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] monitor files,log msgs,

 

Your client-local.cfg syntax is wrong.  client-local tells hobbit what
to upload, hobbit-client tells Hobbit how to use what it uploaded.  You
have the two files configured the same, which is wrong.  Also, you don't
need anything on the client side if you're running Hobbit in the typical
manner.  The client-local.cfg data is downloaded from the server to the
client automatically.

 

Try something more like this:

 

Client-local.cfg

[nj1db200pt]

file:/home/monitor/test

file:/var/log/

log:/var/adm/messages:4096

The default copies of all these files are commented heavily at the top
showing all this syntax.

 

________________________________

From: Perumal, Santoshbabu [mailto:santoshbabu_perumal at platts.com] 
Sent: Friday, February 01, 2008 1:24 PM
To: hobbit at hswn.dk
Subject: [hobbit] monitor files,log msgs,

I have been trying to monitor files and messages.but no luck.

On server side I have edited following files and given entries

hobbit-client.cfg

    HOST=nj1db200pt 

       FILE  /home/monitor/test mtime>600 red

       DIR %^/var/log TRACK

       LOG /var/adm/messages  WARNING COLOR=yellow

Client-local.cfg

      

     [nj1db200pt]

    FILE  /home/monitor/test mtime>600 red

   DIR %^/var/log TRACK

   LOG /var/adm/messages  WARNING COLOR=yellow

On Client side

           

    HOST=nj1db200pt

     FILE  /home/monitor/test mtime>600 red

     DIR %^/var/log TRACK

     LOG /var/adm/messages  WARNING COLOR=yellow

  Do I have to edit any other files. or I am doing something wrong. I
can see any output. I can see only white icon.help me monitorl logs and
messages

Thanks

Santhoshbabu Perumal

Unix system Administrator

System Engineering, GO & I

The Mcgraw-Hill companies

HTS East Windsor, NJ

609-371-6317 (Desk)

609-385-5016 (work cell)

________________________________

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/20080206/7b62d8d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2425 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080206/7b62d8d5/attachment.jpg>


More information about the Xymon mailing list