Skip to content

Read the status of a raid from megacli and ingest it into influxDB

License

Notifications You must be signed in to change notification settings

112RG/megacli_ingestor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

megacli ingestor

This is a small rust program to read the status of a raid from megacli and ingest it into influxDB

The command that is run to read the data is megacli -PDList -aAll | egrep "Enclosure Device ID:|Slot Number:|Inquiry Data:|Error Count:|state"

Insert strucutre

time: DateTime<Utc>,
enclosure_device_id: u32,
#[influxdb(tag)]
slot_number: u32,
media_error_count: u32,
other_error_count: u32,
firmware_state: String,
inquiry_data: String,

About

Read the status of a raid from megacli and ingest it into influxDB

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages