Install Zenoss 4.2.4 on CentOS 6.4

I have not been checking up on Zenoss updates since my initial installation a few months ago.  I did not realise that Zenoss released a bugfix update 4.2.4 in July.

My 4.2.3 install has been working well so far, and I plan to update to 4.2.4 soon.  However, firstly I want to revisit the process of installing a fresh version.  I will repeat the steps of my 4.2.3 installation, and see if anything changed.

Start with a minimal CentOS 6.4 installation.  Then disable SELinux.

Remove the mysql-libs package that has been installed as part of the minimal CentOS install.

# yum remove mysql-libs

Install wget and grab the Zenoss 4.2.4 auto-deploy script.

# yum install wget
# wget --no-check-certificate https://github.com/zenoss/core-autodeploy/tarball/4.2.4 -O auto.tar.gz

Unpack the auto-deploy script.

# tar xzvf auto.tar.gz

Go into the unpacked directory and run the auto-deploy script.

# cd zenoss-core-autodeploy-*
# ./core-autodeploy.sh
Welcome to the Zenoss Core auto-deploy script!

This auto-deploy script installs the Oracle Java Runtime Environment (JRE).
To continue, please review and accept the Oracle Binary Code License Agreement
for Java SE.

Press Enter to continue.

Hit Enter, read the agreement, and press q to exit the agreement page.

Type yes and press Enter to accept the agreement.

The install will proceed and finish successfully.

Zenoss Core 4.2.4 install completed successfully!

Please visit http://127.0.0.1:8080 in your favorite Web browser to complete
setup.

NOTE: You may need to disable or modify this server's firewall to access port
8080. To disable this system's firewall, type:

# service iptables save
# service iptables stop
# chkconfig iptables off

Alternatively, you can modify your firewall to enable incoming connections to
port 8080. Here is a full list of all the ports Zenoss accepts incoming
connections from, and their purpose:

        8080 (TCP)                 Web user interface
        11211 (TCP and UDP)        memcached
        514 (UDP)                  syslog
        162 (UDP)                  SNMP traps

If you encounter problems with this script, please report them on the
following wiki page:

http://wiki.zenoss.org/index.php?title=Talk:Install_Zenoss

Thank you for using Zenoss. Happy monitoring!

Now, set up the firewall rules and the zenoss page can be accessed at http://<hostname>:8080

# iptables -I INPUT 5 -p tcp --dport 8080 -j ACCEPT
# iptables -I INPUT 6 -p tcp --dport 11211 -j ACCEPT
# iptables -I INPUT 7 -p udp --dport 11211 -j ACCEPT
# iptables -I INPUT 8 -p udp --dport 514 -j ACCEPT
# iptables -I INPUT 9 -p udp --dport 162 -j ACCEPT
# service iptables save

That’s it!

26 thoughts on “Install Zenoss 4.2.4 on CentOS 6.4

    1. Server availability monitoring, and utilization monitoring (CPU, memory, HDD). Zenoss can send alerts when utilization reaches a predefined level. Not really high-tech stuff, but I think it is the best free alternative to other monitoring tools. I tried a few others like Nagios and Splunk, but Nagios is more for network monitoring while Splunk focuses more on indexing events. For simple server monitoring, Zenoss works great.

      1. Hi Guys!

        I installed Zenoss 4.2.4 using autodeploy script. I added the device manually.
        Now Dev Leads want me to configure the email alerts. Can you please help me how to do that.. I checked on forums the settings they are referring is of previous version.

        Please help me on this I have to complete this ASAP.

      2. tested but zenoss cannot custom on user roles , i want my customer can only view certain item only…but its look like not possible…just available on zenoss enterprise

  1. Hi Hazrulnizam,

    I wanted to express my sincere thanks for the work you put into getting this guide online and sharing your recommended steps. Following the guide worked perfectly.

    Thanks again.

    Regards, Deyton

  2. Hi hazrulnizam,
    I’ve just installed zenoss core on my centos server (6.4 – x64). The zenoss services start & stop OK. Then, I use zenoss web interface for create, delete user is OK. But when I change other email for user, it’s not OK. After I click save button, the web page view with older email address whitout any error log or event.
    I looking for namy log file of zenoss, I didn’t see any thing log message about this problem.
    Please, give me some idea !!!

    Thanks for your help!

    Best Regards,.

    1. Hi Achilles,

      Sorry to hear you are having problems. I have checked with my install and I have no problems editing users. I can see you have posted to the Zenoss forums for help. I wish you good luck in solving the problem.

      Regards,
      Hazrul

  3. Hi hazrulnizam,

    I Already installed the zenoss, but the problem was the alert email, when I test the email , the mail was sent, but when it comes to Mail Alert it will not send, can someone help me on this, im new in zenoss, thank you. you can email me on xycrix999@gmail.com. thanks. this is the error on zenactionsd.log.

    2013-11-16 16:05:11,572 ERROR zen.actions: Notification ‘windowsNotif’ FAILED to send emails to set([‘xycrix999@gmail.com’]): – [Errno -3] Temporary failure in name resolution
    2013-11-16 16:05:11,572 ERROR zen.actions: Error executing action windowsNotif on set([‘xycrix999@gmail.com’])
    2013-11-16 16:05:11,585 ERROR zen.zenactiond: Error executing action: email on notification windowsNotif
    2013-11-16 16:05:11,586 INFO zen.zenactiond: Event:’localhost|zenactiond|/App/Failed|3|Error executing action windowsNotif on set([‘xycrix999@gmail.com’])’ Trigger:WindowsServer Action:email Status:FAIL Target:xycrix999@gmail.com Info:Failed Email for notification windowsNotif on targets xycrix999@gmail.com.

  4. Hi, Hazrulnizam …

    i have problem on zenoss core installation , “Failed to create ZOBD session database”
    i’ve installed erlang-R12B-5.11 .but this still didnt work …

    what this solution to fix it ??

    You can email me on gandhi14@yahoo.com / gandhi14fx@gmail.com

    Thanks before … 🙂
    i need your help …

  5. Zenoss not initialized. Performing first-boot initialization…
    Fresh install pre steps
    Please confirm that the JRE in the PATH is Oracle’s version.
    Command failure: /sbin/service zenoss start
    [root@vhost zenoss-core-autodeploy-9342e87]# service zenoss start

    can you explain this?

    1. you have to remove the older versions of java and pick the latest. I think it’s java-1.7.0-openjdk. after installing centos you should do yum update and it will install latest afterwards before attempting to install zenoss to save headache and time. remove 1.6 and set 1.7 to default.

  6. I have a question Mr. Hazrul

    I have cento 6.5 64bit and zenoss 4.2.4. want to monitor esxi 5.1. Can i use esxtop?

    What do you recommend I use to monitor my esxi host with. I would like to use zenoss but monitoring /adding individual instances is exhausting.

    if it’s possible to monitor it with esxtop can you highlight some steps and problems you might encounter during attempt.

    Thanks

    1. Hi,

      I tried monitoring ESXi 5.1 using the Zenoss esxtop ZenPack, but the ZenPack was written for the old version of esxtop, and it does not work with 5.1. I am currently just using SNMP to monitor each VM guest. We just have to wait for someone to update the Community ZenPack to work with the vSphere 5.1 (and now 5.5), but I guess it is too much work to be done for free.

      1. Thanks, for the quick reply. I tried and I was getting Internal panic buffer too small. I think it should work if i can choose what information it can pull. i just need cpu/mem utilization graphs and interfaces. If you have any suggestions I’d appreciate it. thanks.
        Thank you for doing a great job by the way.

  7. Greetings, I am trying to monitor traps from a HP5120 switch, but zenos does not recognize de events, they are unknow for it. I am not sure whether it is a matter of mibs Can anyone through any light? Thanks

    1. To translate the traps, you’ll need to add the MIB file(s) for the switch. In Zenoss Core, that’s in the Advanced-MIB section. Use the Add MIB from desktop, which is in the lower left.

  8. The procedures above are for version 4.2.4 and no longer work, as all http communications are now https and the 4.2.4 autodeploy file hasn’t been updated. But there’s a new file for 4.2.5!

Leave a Reply

Your email address will not be published. Required fields are marked *