mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-09-25 18:58:39 +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)]
|
#[derive(Deserialize, Debug)]
|
||||||
enum QueryType {
|
enum QueryType {
|
||||||
|
Get,
|
||||||
Walk,
|
Walk,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,7 +61,7 @@ struct Metric {
|
|||||||
#[derive(Deserialize, Debug)]
|
#[derive(Deserialize, Debug)]
|
||||||
pub struct Compute {
|
pub struct Compute {
|
||||||
metrics: Vec<Metric>,
|
metrics: Vec<Metric>,
|
||||||
aggregations: Vec<Metric>,
|
aggregations: Option<Vec<Metric>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize, Debug)]
|
#[derive(Deserialize, Debug)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user