Xymon Mailing List Archive search

page.log entry

3 messages in this thread

list Robert Manocchia · Mon, 10 Sep 2007 11:02:28 -0400 ·
I am running hobbit server 4.2.0. My email pages are working fine but I
cannot get my custom script to parse the BBALPHAMSG file to send a page to
our system pager. In the /var/log/hobbit/page.log file I see the following
entries:

 
awk: cmd. line:2: fatal: cannot open file `server1.disk' for reading (No
such file or directory)

 
I can manually send pages to the system pager but when I try to parse the
BBALPHAMSG file I get nada.

 
Any help would be greatly appreciated.

 
Thanks.

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid
list Trent Melcher · Mon, 10 Sep 2007 12:01:02 -0500 ·
quoted from Robert Manocchia
On Mon, 2007-09-10 at 11:02 -0400, Manocchia, Robert wrote:
I am running hobbit server 4.2.0. My email pages are working fine but
I cannot get my custom script to parse the BBALPHAMSG file to send a
page to our system pager. In the /var/log/hobbit/page.log file I see
the following entries:

 
awk: cmd. line:2: fatal: cannot open file `server1.disk' for reading
(No such file or directory)
Looks like you didnt define the path to server1.disk, it looks like its
trying to find it in current directory which is probably $BBHOME if
hobbit fired off the script.  Qualify your path to the file location and
you should be fine.

Trent
quoted from Robert Manocchia
 
I can manually send pages to the system pager but when I try to parse
the BBALPHAMSG file I get nada.

 
Any help would be greatly appreciated.

 
Thanks.

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

 
list Robert Manocchia · Mon, 10 Sep 2007 13:05:23 -0400 ·
Thanks. I found it. It was a problem with the awk command in one of my
custom scripts.
quoted from Trent Melcher

Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Trent Melcher [mailto:user-c65e78735b17@xymon.invalid] Sent: Monday, September 10, 2007 1:01 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] page.log entry

On Mon, 2007-09-10 at 11:02 -0400, Manocchia, Robert wrote:
I am running hobbit server 4.2.0. My email pages are working fine but
I cannot get my custom script to parse the BBALPHAMSG file to send a
page to our system pager. In the /var/log/hobbit/page.log file I see
the following entries:

 
awk: cmd. line:2: fatal: cannot open file `server1.disk' for reading
(No such file or directory)
Looks like you didnt define the path to server1.disk, it looks like its
trying to find it in current directory which is probably $BBHOME if
hobbit fired off the script.  Qualify your path to the file location and
you should be fine.

Trent
 
I can manually send pages to the system pager but when I try to parse
the BBALPHAMSG file I get nada.

 
Any help would be greatly appreciated.

 
Thanks.

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid