Skip to content

Virtual Router to output logs to Cloudstack Mgmt Server, so Operator can monitor via Zabbix, Loki or other system #10164

Description

@btzq
ISSUE TYPE
  • Feature Idea
COMPONENT NAME
VR, Cloudstack Mgmt
CLOUDSTACK VERSION
4.19.0
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

When a VR is created, the logs are only being output within the VM, which makes it very difficult to monitor.

When an issue occurs, it is likely the cloud operator would reboot or clean up the router, resulting the VR being recreated and logs being lost. But this is done to restore the services with as little downtime as possible.

It would be great to have the VR output logs back to a central location in Cloudstack Management. Then, using some sort of log monitoring tool (Zabbix, Grafana Loki, Wazuh SIEM), we can monitor logs of all VRs created to lookout for key words which may signify an issue.

This can also lead to potential future automations such as: 'If Keyword exist, cleanup VPC' via some self built automation service that talks to Cloudstack APIs.

STEPS TO REPRODUCE
NA
EXPECTED RESULTS
NA
ACTUAL RESULTS
Difficult for Cloud Operator to manage and monitor VR and the logs. 

Activity

  1. added this to the unplanned milestone on Jan 6, 2025
  2. DaanHoogland commented on Jan 6, 2025

    @DaanHoogland
    Contributor

    @btzq , this is not the first time this comes up. There have been implementation attempt on this as well. Maybe it is good to have a discuss item to discuss how this would be implemented and how configurable it would be. (https://github.com/apache/cloudstack/discussions/new/choose)

  3. btzq commented on Jan 6, 2025

    @btzq
    Author

    I see @DaanHoogland , then can you help convert this ticket to a discussion?
    We can continue discussions there.

  4. locked and limited conversation to collaborators on Jan 6, 2025
  5. converted this issue into a discussion #10165 on Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions