Ad Widget

Collapse

Zabbix on OpenShift

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dkanbier
    Junior Member
    Zabbix Certified Specialist
    • Jul 2013
    • 13

    #1

    Zabbix on OpenShift

    I've been experimenting with creating a QuickStart for Zabbix on OpenShift.

    OpenShift is RedHat's cloud platform, which you can use for free with limited resources. I've been using this for monitoring my website using web checks.

    It's easy to use:

    1. Create an account at http://openshift.redhat.com/
    2. Install the OpenShift client application "rhc" and configure it
    3. Run:

    Code:
    rhc app create zabbix php-5.3 mysql-5.1 --from-code=https://github.com/dkanbier/openshift-zabbix-quickstart
    4. That's it!

    Visit your Zabbix instance at http://zabbix-<your_rhcloud_namespace>.rhcloud.com

    For more information:
    A Zabbix quickstart to use on OpenShift. Contribute to dkanbier/openshift-zabbix-quickstart development by creating an account on GitHub.


    Edit:

    I just noticed when github.com or the openshift servers are very busy it's possible for the app creation to time out. In that case, just execute the command again.
    Last edited by dkanbier; 25-02-2014, 11:54.
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Pretty cool! I'll let the Zabbix admin for OpenShift know if he does not already. Zabbix is what is used to monitor the Public OpenShift instance.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • dkanbier
      Junior Member
      Zabbix Certified Specialist
      • Jul 2013
      • 13

      #3
      Originally posted by nelsonab
      Pretty cool! I'll let the Zabbix admin for OpenShift know if he does not already. Zabbix is what is used to monitor the Public OpenShift instance.
      Nice!

      I noticed the time-outs occurring a lot more when trying to install it this way. I think it's because the zabbix sources are downloaded and compiled on the OpenShift servers, which takes too much time.

      I think I'll take the binaries from my instance and upload them in the QuickStart. It will speed up the installation process a lot, but people will have to thrust the binaries I put in there.

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        Putting the binaries into a gear/cartridge is the best way to go overall. Last time I checked the nodes running OpenShift had a process load of around 40+ It's shared tenancy to the extreme for the free version.
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        • dkanbier
          Junior Member
          Zabbix Certified Specialist
          • Jul 2013
          • 13

          #5
          Originally posted by nelsonab
          Putting the binaries into a gear/cartridge is the best way to go overall. Last time I checked the nodes running OpenShift had a process load of around 40+ It's shared tenancy to the extreme for the free version.
          Well I tried to do this yesterday, but I ran into the problem where you can configure the configuration directory while compiling Zabbix.

          On OpenShift, the part where you can write to always has a random string in it. For example, ${OPENSHIFT_DATA_DIR} always contains your specific user name/string. So I can't compile that in

          Comment

          • dkanbier
            Junior Member
            Zabbix Certified Specialist
            • Jul 2013
            • 13

            #6
            I've compiled the binaries and put them into the QuickStart, so no compilation is needed anymore!

            Comment

            Working...