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

-
@chucknorrison to clear this up
First
xe host-listto get the hosts uuidxe host-param-list uuid=9b239e09-8b49-4925-96bc-55135b1cfe94to list all params and search for other-configThis 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-setandxe host-param-removewhich 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=perfmonAnd now we can remove the perfmon with
host-param-removeor 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 -
pinging @nhanlon
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