Skip to content

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

@btzq

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. 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions