feat: add RabbitMQ monitor (#5199)

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Suven-p 2024-10-20 19:42:03 +05:45 committed by GitHub
parent a7e9bdd43e
commit c01494ec33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 234 additions and 5 deletions

View file

@ -153,6 +153,7 @@ class Monitor extends BeanModel {
snmpOid: this.snmpOid,
jsonPathOperator: this.jsonPathOperator,
snmpVersion: this.snmpVersion,
rabbitmqNodes: JSON.parse(this.rabbitmqNodes),
conditions: JSON.parse(this.conditions),
};
@ -183,6 +184,8 @@ class Monitor extends BeanModel {
tlsCert: this.tlsCert,
tlsKey: this.tlsKey,
kafkaProducerSaslOptions: JSON.parse(this.kafkaProducerSaslOptions),
rabbitmqUsername: this.rabbitmqUsername,
rabbitmqPassword: this.rabbitmqPassword,
};
}