Xymon Mailing List Archive search

edit script - still some rough edges

2 messages in this thread

list Daniel J McDonald · Mon, 02 May 2005 07:28:10 -0500 ·
I've applied the latest patches, and get an error:
Can't use an undefined value as a symbol reference
at /usr/lib/hobbit/server/bin/bb-hostedit.pl line 1414.
For help, please send mail to the webmaster (root at localhost), giving
this error message and the time and date of the error.
This is because the apache user isn't permitted to write to
the /var/log/hobbit directory.  There should be a test on the file open
to see if it was successful rather than just bombing out.

Also, when a host is deleted, do you do a bb localhost "drop
deleted.host.name"?  I couldn't find anything like that in my cursory
perusal of the script.
-- 
Daniel J McDonald, CCIE # 2495, CNX
Austin Energy

user-290ce4e24e19@xymon.invalid
list Eric E *hs Schwimmer · Mon, 2 May 2005 11:09:47 -0400 ·
Thanks.  I'm currently working on v1.1, it will have the bb "drop" and
"mv" commands integrated into it.
I also added some more error checking for the log file writes.

Regards,
-Eric Schwimmer
Network Engineer
UVA HSCS Network Engineering  
quoted from Daniel J McDonald
-----Original Message-----
From: Daniel J McDonald [mailto:user-290ce4e24e19@xymon.invalid] Sent: Monday, May 02, 2005 8:28 AM
To: Hobbit List
Subject: [hobbit] edit script - still some rough edges

I've applied the latest patches, and get an error:
Can't use an undefined value as a symbol reference at >/usr/lib/hobbit/server/bin/bb-hostedit.pl line 1414.
For help, please send mail to the webmaster (root at localhost), giving >this error message and the time and date of the error.
This is because the apache user isn't permitted to write to the /var/log/hobbit directory.  There should be a test on the file open to see if it was successful rather than just bombing out.

Also, when a host is deleted, do you do a bb localhost "drop deleted.host.name"?  I couldn't find anything like that in my cursory perusal of the script.
--
Daniel J McDonald, CCIE # 2495, CNX
Austin Energy

user-290ce4e24e19@xymon.invalid