Use the ipmi-power
tool from FreeIPMI to check current power state.
General
- Perl 5
- Perl Modules:
- Monitoring::Plugin or Nagios::Plugin
- FreeIPMI
Ubuntu
- perl
- libmonitoring-plugin-perl
- freeipmi-tools
Just copy the file check_ipmi_power.pl
to your Icinga or Nagios plugin directory.
Only the USER privilege level is required to fetch the power state. Don't use a user with administrative privileges.
./check_ipmi_power.pl --hostname 1.2.3.4 --username your-ipmi-username --password your-ipmi-password
check_ipmi_power OK - System is on
Use the GitHub issue tracker to report any issues
GPLv3+