Announcement

Collapse
No announcement yet.

RealTimeMonitoring (rtm) in OVH

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RealTimeMonitoring (rtm) in OVH

    Issues with RTM

  • #2
    Hello,

    Im having some issues getting RTM to work.
    Anyone else have these issues or a solution to get it to work?

    Comment


    • #3
      Manually running "/usr/local/rtm/bin/rtm" on server seems to update stats into OVH control panel.

      Ports 6100:6200 UDP OUT need to be open in firewall.

      Added a new file /etc/cron.d/rtm :
      */1 * * * * root /usr/local/rtm/bin/rtm 40 > /dev/null 2> /dev/null

      Comment


      • #4
        Hello guys,

        I was able to install OVHs RTM today.

        - I have one dedicated server based on Centos converted to CloudLinux that I was able to install by simply doing

        Code:
        wget -qO - [URL]https://last-public-ovh-infra-yak.snap.mirrors.ovh.net/yak/archives/apply.sh[/URL] | OVH_PUPPET_MANIFEST=distribyak/catalog/master/puppet/manifests/common/rtmv2.pp bash
        and

        - I have one dedicated server based on CloudLinux OVH Template that I was able to install by doing

        Code:
        touch /etc/yum.repos.d/ovh-rtm.repo
        
        nano /etc/yum.repos.d/ovh-rtm.repo
        copy-paste :

        Code:
        [rtm]
        
        name=OVH RTM RHEL/ CentOS $releasever - $basearch
        
        baseurl=[URL]http://last.public.ovh.rtm.snap.mirrors.ovh.net/centos/[/URL]$releasever/$basearch/Packages/
        
        enabled=1
        
        repo_gpgcheck=1
        
        gpgcheck=0
        
        gpgkey=[URL]http://last.public.ovh.rtm.snap.mirrors.ovh.net/ovh_rtm.pub[/URL]
        
        [metrics]
        
        name=OVH METRICS RHEL/ CentOS $releasever - $basearch
        
        baseurl=[URL]http://last.public.ovh.metrics.snap.mirrors.ovh.net/centos/[/URL]$releasever/$basearch/Packages/
        
        enabled=1
        
        repo_gpgcheck=1
        
        gpgcheck=0
        
        gpgkey=[URL]http://last.public.ovh.metrics.snap.mirrors.ovh.net/pub.key[/URL]
        Code:
        yum install ovh-rtm-metrics-toolkit
        For my part, the installation script give me an error

        Code:
        Download: [yak/archives/catalog_puppet_bin_cloudlinux79_amd64.tar.gz?1614833224]
        
        curl: (22) The requested URL returned error: 404 Not Found
        but RTM seems to work fine on the OVH manager.

        Be careful.

        /usr/local/rtm/bin/rtm mentioned above doesnt exist anymore

        The perl scripts are stored in /opt/

        Code:
        /opt/noderig/
        
        ├── 3600
        
        │   ├── rtmHourly -> /usr/bin/rtmHourly
        
        │   └── rtmRaidCheck -> /usr/bin/rtmRaidCheck
        
        └── 43200
        
        └── rtmHardware -> /usr/bin/rtmHardware
        You will not see RTM instantly in your OVH manager. Be patient.

        rtmHourly and rtmRaidCheck are launched on hourly base

        and rtmHardware is executed twice a day

        So, do not worry. If the installation do not show critical error, just wait one hour and then 12h to see correct hardware infos on OVH manager.

        Maybe you can force some infos to be pushed by manually doing

        Code:
        /usr/bin/rtmHardware
        
        /usr/bin/rtmHourly
        
        /usr/bin/rtmRaidCheck
        
        noderig -v
        
        beamium -t
        
        beamium -v
        ( ? )

        Ive installed RTM this morning and I just have one wrong info in my OVH Manager. The Kernel version is wrong and show
        4.19.84-mod-std-ipv6-64-rescue (for CL template) and 3.10.0-1127.19.1.el7.x86_64 (for Centos OVH Template)

        ...instead of 3.10.0-962.3.2.lve1.5.42.el7.x86_64 (my current kernel fixed by kernel care)

        I guessed, in 24h it will be fine, because manually executing /usr/bin/rtmHardware output my right Kernel version.
        Maybe this data is not updated/pushed from our side to the OVH manager, but from the OVH servers side on which we do not have control ??

        Anyway, my purpose was to install RTM for RAID Check and nothing show me that OVH will monitor my RAID disks better with RTM or not, so, keep learning :-)

        Because this discussion rank well on Google when searching "ovh rtm + cloudlinux" I invite anybody to answer below and update this thread with any infos about OVH RTM on CloudLinux. Even in long time. Thanks for sharing.

        Comment


        • #5
          Update 24h later : all my data are now up to date in my OVH manager, include my Kernel version for both servers (happy) :-)

          About the check RAID : I hear about OVH send an alert e-mail when a possible issue is detected on the disk and then, for Soft RAID1, the customer is just responsible to rebuild the RAID disk.

          Comment


          • #6
            Since recent kernel updates, OVH RTM is not working again anymore.

            I ask the OVH support and here, their answer :

            > The administrators also mentioned that it appears that you have Cloudlinux on your server. RTM is known not to work with this OS.

            Game over. Its so bad.

            Comment

            Working...
            X