[Orca-users] Monitoring multiple hosts

rhfreeman at micron.com rhfreeman at micron.com
Thu Jan 8 01:07:28 PST 2004


I think what you want is:

find_files
/opt/orca/var/orca/orcallator/orcallator-2004(.*)/(?:(?:orcallator)|(?:n
cuxw01))-\d{4}-\d{2}-\d{2}(?:-\d{3,})?(?:\.(?:Z|gz|bz2))?

Cheers,

Rich

-----Original Message-----
From: orca-users-bounces+rhfreeman=micron.com at orcaware.com
[mailto:orca-users-bounces+rhfreeman=micron.com at orcaware.com] On Behalf
Of James Finn
Sent: Wednesday, January 07, 2004 8:41 PM
To: orca-users at orcaware.com
Subject: Re: [Orca-users] Monitoring multiple hosts


Blair - thanks for the quick response but I was unsuccessful with some
of my attempts at getting the hostname to appear on my web pages. Maybe
part of my problem is the lack of knowledge or experience I have with
Perl expressions. Let me present the problem in a different way.
I have all of my data located in
/opt/orca/var/orca/orcallator/<servername> depnding on the machine. Here
is what my "find_files" looks like. All of the files that exist in a
<servername> directory start with the naming convention of
orcallator-2004*.
 
find_files
/opt/orca/var/orca/orcallator/ncuxw01/(.*)/(?:(?:orcallator)|(?:ncuxw01)
)-\d{4}-\d{2}-\d{2}(?:-\d{3,})?(?:\.(?:Z|gz|bz2))?

Not sure if I am doing something wrong.

James Finn wrote:
> 
> I have configured orcallator.se to run on a remote web server that
> I want to monitor and it's collecting data just fine. I have copied
> the data to my server that Orca runs on and displays the data via a
> web page in Apace. My problem is this. How can I get the index.htm
> page on my apache server that houses the orca data to display the
> server name for different data collected? I would like for it to
> look like the examples I have seen in the documentation. I have
> looked in the orcallator.cfg file but I can't find anything in
> there so any help would be appreciated.
> 
> Right now I'm only displaying one servers data in the web pages
> and it currently shows a "." for the host name.

The host name is picked up from the regular expression that matches
the filename in the find_files configuration parameters, specifically
the characters that are matched by a grouping in ()'s.  So the default
orcallator.cfg contains this:

find_files @VAR_DIR@/orcallator/(.*)/(?:(?:orcallator)|(?:percol))
-\d{4}-\d{2}-\d{2}(?:-\d{3,})?(?:\.(?:Z|gz|bz2))?

The hostname here is picked up from the (.*)

Best,
Blair




Working moms: Find helpful tips here on managing kids, home, work - and
yourself. 




More information about the Orca-users mailing list