mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
enh(generic-snmp): all the new json files pass. Now the plugin must do its job
This commit is contained in:
parent
968922478e
commit
0d7f99043a
@ -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