TECHZEN Zenoss User Community ARCHIVE  

Zenoss 4.2.5 & Model Device

Subject: Zenoss 4.2.5 & Model Device
Author: Clayton Tavernier
Posted: 2017-11-30 12:23

I'm having some issues modeling a switch.  The Overview page says it's been two weeks since the last model and when I try to start it manually, it gets two lines in and hangs.  On a hunch, I look at the Zenoss server and my /opt/zenoss/perf directory is at 100% usage, mostly /opt/zenoss/perf/Devices.

I'm not sure what to do with this information.  Is there a way to clean up the /opt/zenoss/perf?  Do I need to find a way to increase the partition size?  Is this lack of disk space the reason the modeling isn't working?

FYI: I had problems creating this Zenoss server so I went with the OVA which worked but it's using CENTOS 5 which is EOL.  As I understand it, Zenoss 5 is overkill for my environment (roughly 1000 Devices) but would it be worth it to have a better supported version?

Thanks in advance.

------------------------------
Clay
Network Computer Technician

------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Jane Curry
Posted: 2017-11-30 14:09

Hi Clay,
Full file systems are bad news.  If you have a separate /opt/zenoss/perf filesystem then it is worth trying to expand that filesystem using Operating System techniques.  This is where all your performance data is held and, as you suggest, it is virtually all under the Devices subdirectory (the rest is a small amount of performance data for the various Zenoss daemons).  The good news is that if it is just this filesystem that is full then hopefully nothing else will be corrupted.

I would also ensure that my Zenoss server is discovered into Zenoss and is having its filesystems monitored and thresholded so hopefully you will get alerted before this happens again.

You are obviously on a Zenoss pre 5.x if you have this file system - it is an area that is totally changed in Zenoss 5 and above.

What version of Zenoss are you on?  My personal preference would be to stick with a Zenoss 4.2.5, preferably with the latest SUP 732.  Administering a Zenoss 5 is a totally different animal and there is no migration path; plus you will probably need a hugely bigger system (don't think of starting with less than 20GB RAM and 4 CPUs).

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Clayton Tavernier
Posted: 2017-11-30 15:43

Hi Jane, long time.  Thanks for the reply.

I'm running Zenoss 4.2.5 and I doubt I have the 732 update but I can't find anyplace that says one way or the other.

And I'm assuming I should fix my disk space problem before trying to install the update.

------------------------------
Clay
Network Computer Technician
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Clayton Tavernier
Posted: 2017-11-30 18:29

Well, it seems to be working.  My /opt/zenoss/perf partition went from 3G & 100% usage to 62GB & 5% usage.  Plus my model time updated to today as opposed to two weeks ago and a manual model works now.  Yay!

Now to install the 732 update.


------------------------------
Clay
Network Computer Technician
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Clayton Tavernier
Posted: 2017-11-30 19:08

I wasn't able to install the 732 update completely.  The update was sailing along but I got a

ERROR:zen.Migrate:Error executing mysql: ERROR 1114 (HY000) at line 1: The table '#sql-d01_183' is full

error and, from Googling, I think I ran out of space on the sql partition.

*sigh*

But Zenoss restarted without an issue so at least I've got that going for me...

------------------------------
Clayton
Network Computer Technician
------------------------------

Subject: RE: Zenoss 4.2.5 & Model Device
Author: Jane Curry
Posted: 2017-12-01 05:10

Good news!  Sounds like you need to increase the partition with the rest of Zenoss as well though.

To find out what patch you are at run "zenup status" (as the zenoss user).  That should tell you what you are at.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Clayton Tavernier
Posted: 2017-12-01 12:32

Product: zenoss-core-4.2.5 (id = zenoss-core-4.2.5)
Home: /opt/zenoss
Revision: 0
Upgrading: 732
Last Attempted Step: post/run_migrates 4.2.5
Updated On: Thu Nov 30 15:36:59 2017

Which means this is my first update, correct?

------------------------------
Clay
Network Computer Technician
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Jane Curry
Posted: 2017-12-01 13:52

Yup.  I assume you have put in the relevant "pristine"?  http:http://wiki.zenoss.org/ZenUp//wiki.zenoss.org/ZenUp   is a useful reference.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Clayton Tavernier
Posted: 2017-12-01 15:22

I added a new hard drive to the VM, set it as LVM and expanded the sql partition and the zenup 732 install got further but still errored out (something after the "you have 611 devices, this may take some time") and I had to bail on the upgrade for now.

Thanks for your help.

------------------------------
Clay
Network Computer Technician
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Clayton Tavernier
Posted: 2017-12-04 19:30

I tried the zenoss patch install on my new 4.2.5 server (thanks again Jane) and I ran into the mysql password error:

/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
ERROR: MySQL for zodb is not running or permissions are broken - aborting

From Googling, I was able to change my mysql root password but I'm guessing that Zenoss has some other mysql root password stored someplace.  How do I fix this?

------------------------------
Clayton
Network Computer Technician
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Jane Curry
Posted: 2017-12-05 05:21

Did you change the password for the mysql databases when you installed?  I have a feeling that there is a comment that prompts you to do so.

The default user / password for the databases (zope and zenoss_zep are the main ones) are user zenoss, password zenoss.  You should be able to see these in $ZENHOME/etc/global.conf.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Zenoss 4.2.5 & Model Device
Author: Clayton Tavernier
Posted: 2017-12-05 17:24

SUCCESS!!!

Once I figured out where to add my root password in global.conf, the zenup patch went off without a hitch.

Many, many thanks again Jane.

------------------------------
Clay
Network Computer Technician
------------------------------


< Previous
Zenoss 4.2.5 Linux Monitor: Got 'unimplemented' SSH message
  Next
error docker and serviced(CC) "Dependency failed for Zenoss ServiceD
>