Those variables are showing up correctly in env
--Todd
Eric Newton wrote:
Hi Todd,
ensure that ZENHOME and PYTHONPATH are set:
export ZENHOME=/home/zenoss
export PYTHONPATH=$ZENHOME/lib/python
-Eric
Todd M. Hebert wrote:
I figured that last one out. (I had moved the /tmp folder to a
symlink so I'd have more room for temporary files... but hadn't
restarted mysql.)
Now I am getting this message from zenrestore.py on the zenoss virtual
applicance:
[EMAIL PROTECTED] bin]$ $ZENHOME/bin/zenrestore.py
Traceback (most recent call last):
File "/home/zenoss/bin/zenrestore.py", line 13, in ?
import Globals
ImportError: No module named Globals
Anyone have any ideas?
Thanks,
--Todd
Todd M. Hebert wrote:
I am now receiving this error when I run the zenbackup.py script:
mysqldump: Got error: 1033: Incorrect information in file:
'./events/alert_state.frm' when using LOCK TABLES
I have a feeling that some things have changed in the database since
the version I'm running was written. (0.23.0)
Any advice at this point? The old zenoss install now refuses to run
zenping, so I'm currently not monitoring anything but SNMP data.
(about half of the Zenoss process will not start, and there is
nothing useful showing up in the logs.)
Thanks in advance,
--Todd
Marc Irlandez wrote:
Hi Todd,
Great uptime!
You are right you'll be able to get the latest zenbackup and use it
on your instance. Before doing anything tar up your $ZENHOME.
OK, so you need to download three files from the trunk
http://dev.zenoss.org/trac/browser/trunk/bin
zenbackup.py
zenrestore.py
zenbackupcommon.py
Put these files in your bin directory and try it out. It should
work. Let me know if that works for you.
Marc Irlandez
On Apr 12, 2007, at 7:08 AM, Todd M. Hebert wrote:
I don't have a zenbackup.py available to me. :/
I am running Zenoss version 0.23.0 right now.
I need to move things over to the Zenoss virtual appliance that
I've got running (1.1.1) on the new box.
Any ideas? Am I going to have to upgrade the version on the old
box before I'll be able to do the backup.. or should I be able to
snarf zenbackup.py from somewhere that will work with version 0.23.0?
Thanks.
(Just a note..current uptime for zope is 98 days, 17 hours, 26
mins. Stability is a good thing! =D )
Christopher Blunck wrote:
Todd,
You can use ${ZENHOME}/bin/zenbackup.py to make a backup .zip file
that contains:
- A copy of your events
- A copy of the device tree
- Performance information (rrd files)
You can run "zenbackup.py --help" to get additional options on
what you can pass to zenbackup.py.
zenbackup.py will produce a tarball, which you can then scp over
to the new machine. You can then use zenbackup.py --restore to
expand the tarball into the zenoss installation.
As for your latter question about a separate zenoss box...
Depends on how many devices you plan to monitor. I monitor about
40 devices and run zenoss alongside nfs, samba, apache, mt-daapd,
mysql, and some other services.
If you're looking to monitor 500 devices you might want to
allocate a box just to running zenoss. :)
-c
On Feb 26, 2007, at 5:44 AM, Todd M. Hebert wrote:
Is there a procedure or a README available about how to properly
migrate Zenoss data from one machine to another?
Also.. am I better off building a box that has Zenoss, and a lot
of other things running on it, or am I better off using the
VMWare appliance? (VMWare is already installed on the box, and
installing the appliance wouldn't be a difficult task.
Thanks,
-- Todd M. Hebert
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users