mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-08 17:06:05 +02:00
enh(generic-snmp): all the new json files pass. Now the plugin must do its job
This commit is contained in:
parent
1d69c1bff5
commit
51a6c2aec8
@ -45,6 +45,7 @@ fn worst(a: Status, b: Status) -> Status {
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
enum QueryType {
|
||||
Get,
|
||||
Walk,
|
||||
}
|
||||
|
||||
@ -60,7 +61,7 @@ struct Metric {
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct Compute {
|
||||
metrics: Vec<Metric>,
|
||||
aggregations: Vec<Metric>,
|
||||
aggregations: Option<Vec<Metric>>,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user