XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Disable network_usage alarm

    Scheduled Pinned Locked Moved Xen Orchestra
    3 Posts 2 Posters 705 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ChuckNorrisonC Offline
      ChuckNorrison
      last edited by

      In some way i setup a network_usage alarm. Whats the best way to remove this alarm from my host?

      c1b80a03-6d4b-452a-94ec-b64712ae7b4d-image.png

      ChuckNorrisonC 1 Reply Last reply Reply Quote 0
      • ChuckNorrisonC Offline
        ChuckNorrison @ChuckNorrison
        last edited by ChuckNorrison

        @chucknorrison to clear this up

        First xe host-list to get the hosts uuid

        xe host-param-list uuid=9b239e09-8b49-4925-96bc-55135b1cfe94 to list all params and search for other-config

        This gets listed:

        other-config (MRW): agent_start_time: 1605519894.; boot_time: 1605519835.; rpm_patch_installation_time: 1605296112.587; iscsi_iqn: iqn.2020-09.com.example:bae4d07c; MAINTENANCE_MODE_EVACUATED_VMS_MIGRATED: 4e0713f1-485c-1e29-1383-f14155dca82f,9ef5fa5a-7e5c-e09d-96b8-271dde05d5a6,f4fca81a-61bc-4bce-3a13-d36f193fc832,beeac956-c10c-7dfd-848a-3d3d0e8e2e38,5ad8cbd2-605b-833b-929c-839ba7de2c39; perfmon: <config><variable><name value="cpu_usage" /><alarm_trigger_level value="0.5" /><alarm_trigger_period value="3600" /><alarm_auto_inhibit_period value="3600" /></variable><variable><name value="network_usage" /><alarm_trigger_level value="1048576" /><alarm_trigger_period value="3600" /><alarm_auto_inhibit_period value="3600" /></variable><variable><name value="memory_free_kib" /><alarm_trigger_level value="2097152" /><alarm_trigger_period value="3600" /><alarm_auto_inhibit_period value="3600" /></variable></config>

        i need a reset for the perfmon part. Found some commands xe host-param-set and xe host-param-remove which seems to archive this task. Lets get an equivalent get command:

        xe host-param-get uuid=9b239e09-8b49-4925-96bc-55135b1cfe94 param-name=other-config param-key=perfmon

        And now we can remove the perfmon with host-param-remove or set it.

        this will delete the annoying perfmon settings:
        xe host-param-remove uuid=9b239e09-8b49-4925-96bc-55135b1cfe94 param-name=other-config param-key=perfmon

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          pinging @nhanlon

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post