check_ipmi_power

Check the power state of a server with IPMI

check_ipmi_power

Use the ipmi-power tool from FreeIPMI to check current power state.

Requirements

General

  • Perl 5
  • Perl Modules:
    • Monitoring::Plugin or Nagios::Plugin
  • FreeIPMI

Ubuntu

  • perl
  • libmonitoring-plugin-perl
  • freeipmi-tools

Installation

Just copy the file check_ipmi_power.pl to your Icinga or Nagios plugin directory.

Examples

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

Source

Issues

Use the GitHub issue tracker to report any issues

License

GPLv3+