---
name: "ocf_pacemaker_SysInfo"
section: "7"
platform: "linux"
package: "pacemaker-resource-agents"
version: "3.0.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_pacemaker_SysInfo"
---

# ocf\_pacemaker\_SysInfo(7)

SysInfo resource agent

## NAME

ocf\_pacemaker\_SysInfo - SysInfo resource agent

## SYNOPSIS

\[**OCF\_RESKEY\_pidfile**=string\] \[**OCF\_RESKEY\_delay**=string\] \[**OCF\_RESKEY\_disks**=string\] \[**OCF\_RESKEY\_disk\_unit**=select\] \[**OCF\_RESKEY\_min\_disk\_free**=string\]

**SysInfo** \[start \| stop \| monitor \| reload-agent \| meta-data \| validate-all\]

## DESCRIPTION

This is a SysInfo Resource Agent. It records (in the CIB) various attributes of a node Sample Linux output: arch: i686 os: Linux-2.4.26-gentoo-r14 free\_swap: 1999 cpu\_info: Intel(R) Celeron(R) CPU 2.40GHz cpu\_speed: 4771.02 cpu\_cores: 1 cpu\_load: 0.00 ram\_total: 513 ram\_free: 117 root\_free: 2.4 #health\_disk: red Sample Darwin output: arch: i386 os: Darwin-8.6.2 cpu\_info: Intel Core Duo cpu\_speed: 2.16 cpu\_cores: 2 cpu\_load: 0.18 ram\_total: 2016 ram\_free: 787 root\_free: 13 #health\_disk: green Units: free\_swap: MB ram\_\*: MB cpu\_speed (Linux): bogomips cpu\_speed (Darwin): GHz \*\_free: GB (or user-defined: disk\_unit)

## SUPPORTED PARAMETERS

**OCF\_RESKEY\_pidfile** = string \[/SysInfo-\]

PID file

**OCF\_RESKEY\_delay** = string \[0s\]

Dampening Delay

Interval to allow values to stabilize

**OCF\_RESKEY\_disks** = string

List of Filesytems/Paths to query for free disk space

Filesystems or Paths to be queried for free disk space as a SPACE separated list - e.g "/dev/sda1 /tmp". Results will be written to an attribute with leading slashes removed, and other slashes replaced with underscore, and the word 'free' appended - e.g for /dev/sda1 it would be 'dev\_sda1\_free'. Note: The root filesystem '/' is always queried to an attribute named 'root\_free'

**OCF\_RESKEY\_disk\_unit** = select \[G\]

Unit to report disk free space in

Unit to report disk free space in. Can be one of: B, K, M, G, T, P (case-insensitive)

**OCF\_RESKEY\_min\_disk\_free** = string \[\]

minimum disk free space required

The amount of free space required in monitored disks. If any of the monitored disks has less than this amount of free space, , with the node attribute "#health\_disk" changing to "red", all resources will move away from the node. Set the node-health-strategy property appropriately for this to take effect. If the unit is not specified, it defaults to disk\_unit.

## AUTHOR

**Andrew Beekhof** \<andrew@beekhof.net\>

Author.
