I suspect user 'nagios' has an old/outdated copy of the SDR or
possibly corrupted copy, so it is simply reading fewer sensors than
other users that have a more updated copy / not-corrupted copy.  You
can run -f / --flush-cache to flush the ipmi-sensors cache for user
'nagios' once to fully flush the cache.

If that doesn't work, please send full output of the differences.

Al

On Mon, Jun 25, 2018 at 5:43 AM, Vladimir Laskov <samflan...@gmail.com> wrote:
> Hello, I have a problem with an ipmi-sensors tool.
>
> ***
> # sudo -u nagios ipmi-sensors -h gamma-mgmt.loc -k
> 0x4BCF3C256AB2124BAFBC8B266D59EF94A9DCF474 --quiet-cache
> --sdr-cache-recreate --interpret-oem-data --output-sensor-state
> --ignore-not-available-sensors --driver-type=LAN_2_0
> --output-sensor-thresholds  | wc -l
> 34
>
> # sudo -u fred ipmi-sensors -h gamma-mgmt.loc -k
> 0x4BCF3C256AB2124BAFBC8B266D59EF94A9DCF474 --quiet-cache
> --sdr-cache-recreate --interpret-oem-data --output-sensor-state
> --ignore-not-available-sensors --driver-type=LAN_2_0
> --output-sensor-thresholds  | wc -l
> 87
>
>
> # head /etc/freeipmi/freeipmi.conf
> username icinga
> password BlahBlahBlah
> privilege-level user
> ipmi-sensors-entity-sensor-names ENABLE
>
> ***
>
>
> no errors, but the output is different
> small output have a user 'nagios' only, any another users have a full
> output (87 lines)
>
> on another host user 'nagios' have a full output (87 lines)
>
> please help me to debug that issue
> thank you
>
> --
> Vladimir Laskov
> _______________________________________________
> Freeipmi-users mailing list
> Freeipmi-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/freeipmi-users

_______________________________________________
Freeipmi-users mailing list
Freeipmi-users@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-users

Reply via email to