Currently I have:
Code: Select all
/output:.*([0-9]+\.?[0-9]+).* avg time. Idle (\d+), peak busy (\d+), avg usage (\d+)/
and push @s, [ sessions,
[ 'avg idle', GAUGE, $2 ],
[ 'busy', GAUGE, $3 ],
[ 'avg use', GAUGE, $4 ]
];
Code: Select all
/perfdata:([.\d]+);([.\d]+);([.\d]+)/
and push @s, [ 'other',
[ 'logged in', GAUGE, $1 ],
[ 'top module', GAUGE, $2 ],
[ 'processes', GAUGE, $3 ]
];
Code: Select all
/output:.*([0-9]+\.?[0-9]+).* avg time. Idle (\d+), peak busy (\d+), avg usage (\d+)/
and push @s, [ sessions,
[ 'avg idle', GAUGE, $2 ],
[ 'busy', GAUGE, $3 ],
[ 'avg use', GAUGE, $4 ]
];
/perfdata:([.\d]+);([.\d]+);([.\d]+)/
and push @s, [ 'other',
[ 'logged in', GAUGE, $1 ],
[ 'modules', GAUGE, $2 ],
[ 'processes', GAUGE, $3 ],
[ 'connections', GAUGE, $4 ]
];
The above seems to work but I'm only seeing the first 6 on the graph page. So is there a limit that I've reached or do I need to change the format of the mapping definition please?