bb-host include problem
list Robert P. McGraw
I am running hobbit 4.1.2p1 on a Solaris Sparc. I want to monitor my entire clients to determine if that are up and connected. With a script I created a file of all clients for each subnet from a database that includes all hosts. I run this when I add or remove hosts in the database. I then added an "include filename-of-clients" to the bb-hosts. The following is an example of the include file. 128.999.3.40 abel.xxx.yyy.edu 128.999.3.39 agnesi.xxx.yyy.edu 128.999.3.212 ahlfors.xxx.yyy.edu 128.999.3.91 apostol-lp.xxx.yyy.edu 128.999.3.26 archimedes.xxx.yyy.edu My bb-hosts looks as follows page subnet3 Subnet3 include /homes/bb/hobbit/bb-host-include/bb-host-list-3 The web page is created for the clients and it has "conn info trends" header for each client. Clients that are not pingable are marked red. I also have entries in the data/rrd/hostname.domain.edu. PROBLEM: The problem is that when I click on any icon for a host, I get a page that says "No such host". What have I forgotten? Robert Robert P. McGraw, Jr. Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid Purdue University ROOM: MATH-807 Department of Mathematics PHONE: (XXX) XXX-XXXX XXX N. University Street FAX: (XXX) XXX-XXXX West Lafayette, IN XXXXX-XXXX
list Robert P. McGraw
For kicks I decided to just add a few names that were in the include file to the bb-host file and comment out the include line. Now they work. Am I using the include file the wrong way?
▸
Robert
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (XXX) XXX-XXXX
XXX N. University Street FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX
-----Original Message-----
▸
From: McGraw, Robert P. [mailto:user-33cf07af04dd@xymon.invalid]
Sent: Monday, February 06, 2006 2:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] bb-host include problem
I am running hobbit 4.1.2p1 on a Solaris Sparc.
I want to monitor my entire clients to determine if that are up and
connected.
With a script I created a file of all clients for each subnet from a
database that includes all hosts. I run this when I add or remove hosts in
the database.
I then added an "include filename-of-clients" to the bb-hosts. The
following
is an example of the include file.
128.999.3.40 abel.xxx.yyy.edu
128.999.3.39 agnesi.xxx.yyy.edu
128.999.3.212 ahlfors.xxx.yyy.edu
128.999.3.91 apostol-lp.xxx.yyy.edu
128.999.3.26 archimedes.xxx.yyy.edu
My bb-hosts looks as follows
page subnet3 Subnet3
include /homes/bb/hobbit/bb-host-include/bb-host-list-3
The web page is created for the clients and it has "conn info trends"
header
for each client. Clients that are not pingable are marked red.
I also have entries in the data/rrd/hostname.domain.edu.
PROBLEM:
The problem is that when I click on any icon for a host, I get a page that
says "No such host".
What have I forgotten?
Robert
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (XXX) XXX-XXXX
XXX N. University Street FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX
list Thomas Pedersen
Hi ! I would try to loook in the logfile to see if there are any errors in the include process. In all my include files I have the group-compress "group name" before all hosts entries and also I have at least a # sign after the hostname. You could try this. BR Thomas
▸
McGraw, Robert P. wrote:I am running hobbit 4.1.2p1 on a Solaris Sparc. I want to monitor my entire clients to determine if that are up and connected. With a script I created a file of all clients for each subnet from a database that includes all hosts. I run this when I add or remove hosts in the database. I then added an "include filename-of-clients" to the bb-hosts. The following is an example of the include file. 128.999.3.40 abel.xxx.yyy.edu 128.999.3.39 agnesi.xxx.yyy.edu 128.999.3.212 ahlfors.xxx.yyy.edu 128.999.3.91 apostol-lp.xxx.yyy.edu 128.999.3.26 archimedes.xxx.yyy.edu My bb-hosts looks as follows page subnet3 Subnet3 include /homes/bb/hobbit/bb-host-include/bb-host-list-3 The web page is created for the clients and it has "conn info trends" header for each client. Clients that are not pingable are marked red. I also have entries in the data/rrd/hostname.domain.edu. PROBLEM: The problem is that when I click on any icon for a host, I get a page that says "No such host". What have I forgotten? Robert Robert P. McGraw, Jr. Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid Purdue University ROOM: MATH-807 Department of Mathematics PHONE: (XXX) XXX-XXXX XXX N. University Street FAX: (XXX) XXX-XXXX West Lafayette, IN XXXXX-XXXX
list Henrik Størner
▸
On Mon, Feb 06, 2006 at 02:39:59PM -0500, McGraw, Robert P. wrote:
page subnet3 Subnet3 include /homes/bb/hobbit/bb-host-include/bb-host-list-3 The web page is created for the clients and it has "conn info trends" header for each client. Clients that are not pingable are marked red. I also have entries in the data/rrd/hostname.domain.edu. PROBLEM: The problem is that when I click on any icon for a host, I get a page that says "No such host". What have I forgotten?
From your description, I cannot point at anything you've done wrong. The only thing I can think of is that the include file is not readable by the webserver userid (who runs the CGI programs). Could you check permissions on the include-file and the directories where they are located ? Henrik