jenningsloy318 / redfish_exporter

exporter to get metrics from redfish based hardware such as lenovo/dell/superc servers
Apache License 2.0
70 stars 62 forks source link

hostname is null #32

Closed vince-weka closed 2 years ago

vince-weka commented 2 years ago

The hostname is coming up null on a supermicro server:

redfish_system_memory_state{hostname="",memory="P1-DIMMA1",memory_id="1",resource="memory"} 1

I've set the hostname via the IPMI interface.

jenningsloy318 commented 2 years ago

Hi can you please get the json response from the api, not sure if it is configured in other place.

vince-weka commented 2 years ago

What field/url are you using for hostname? This server lists the name in /redfish/v1/Managers/1/EthernetInterfaces/1

jenningsloy318 commented 2 years ago

Maybe under redfiah/v1/system/,not individual component,It is the standard redfish specification, please check if your sever have fully compatibility with redfish specification,you van also refer the pdf file in this repo

vince-weka commented 2 years ago

It's an older server (3 yrs or so), so I'm upgrading the FW. Apparently they have an upgraded RedFish version in there. I'll let you know if that resolves the issue.

On Sat, Oct 16, 2021 at 11:12 AM jenningsloy318 @.***> wrote:

under sysrem/hostname,not individual component,It is the standard redfish specification, please check if your sever have fully compatibility with redfish specification

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jenningsloy318/redfish_exporter/issues/32#issuecomment-944930137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7ZJLZHYMEYCSNB2B5P6BTUHGI45ANCNFSM5GB5KDPQ . Triage notifications on the go with GitHub Mobile for iOS https://avanan.url-protection.com/v1/url?o=https%3A//apps.apple.com/app/apple-store/id1477376905%3Fct%3Dnotification-email%26amp%3Bmt%3D8%26amp%3Bpt%3D524675&g=MmFkZDdkZDRmMzA1YjNlNA==&h=N2ZlYmM1NzczNmUwMTAzZWU4M2ZmZDNmMzQ2ZGZhNmFkYjlmNDVjMzE4OTU2ZDY3MThlN2NmNDkwNjE1YzBkNg==&p=YXAzOndla2E6YXZhbmFuOmc6NDkyZGI5YWE4YjJkOTI0YjUxMjJmYTY5NWNkZWM1OGU6djE6aA== or Android https://avanan.url-protection.com/v1/url?o=https%3A//play.google.com/store/apps/details%3Fid%3Dcom.github.android%26amp%3Breferrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&g=ZDhkYzk3NzhkZDlhNTQ2Nw==&h=YWM2NGY3ZWY2MGQ1NWE3YTc1NjY1YWNjN2VlOGQwOWY3Njc2MmZlYWY1NDkxMmM0OGM3MjA5NzRiZjE2Y2VjYQ==&p=YXAzOndla2E6YXZhbmFuOmc6NDkyZGI5YWE4YjJkOTI0YjUxMjJmYTY5NWNkZWM1OGU6djE6aA==.

-- Vince Fleming Director, Solutions & Services, WekaIO M 848-220-0041 ­E @.*** ­W https://www.weka.io/ https://www.weka.io/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature ­ ­ https://www.weka.io/2021-gartner-mq-distributed-file-systems-block-storage/

jenningsloy318 commented 2 years ago

Hi, is there any updates here ?

vince-weka commented 2 years ago

It's the server; it lists the hostname under the NIC. I presume it's because it's an older (about 3yrs old) Supermicro server, and just doesn't implement the protocol correctly.

On Thu, Oct 28, 2021 at 10:22 PM jenningsloy318 @.***> wrote:

Hi, is there any updates here ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jenningsloy318/redfish_exporter/issues/32#issuecomment-954357297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7ZJL4FQKGJFTBMOMVNJGTUJIALTANCNFSM5GB5KDPQ . Triage notifications on the go with GitHub Mobile for iOS https://avanan.url-protection.com/v1/url?o=https%3A//apps.apple.com/app/apple-store/id1477376905%3Fct%3Dnotification-email%26amp%3Bmt%3D8%26amp%3Bpt%3D524675&g=N2VkZTM0NDAyODNiY2I3Nw==&h=MmNhODA2N2RiZDk3MzI3NWQwNWUxZTcxMGU0NmM1NmU0MTg2MDNkYzAwN2M0Zjc5YzJiOTQxMDVkYWU3MTU4ZQ==&p=YXAzOndla2E6YXZhbmFuOmc6M2ZmZTUwZmRmNDIwMTIyMmQ1MGVhZTk2ZjA2OGU0Yjg6djE6aA== or Android.

-- Vince Fleming Director, Solutions & Services, WekaIO M 848-220-0041 ­E @.*** ­W https://www.weka.io/ https://www.weka.io/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature ­ ­ https://www.weka.io/2021-gartner-mq-distributed-file-systems-block-storage/