Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have successfully added nagiosgraph to our nagios installation. I also added a memory checker plugin, from here : However I can't seem to get the graph of this service to be output by nagiosgraph.

The plugin returns a single line like this:

 31% (3785 of 11903 MB) used

so i added a rule like this to the map file:

/output:(\d+)% \((\d+) of (\d+) MB\) used/
and push @s, ['Mem',
        ['Percentage', 'GUAGE', $1],
        ['Used', 'GUAGE', $2],
        ['Total', 'GUAGE', $3] ];

I have also read this : and made sure that process_performance_data=1 in the nagios conf file.

So far I have no graph for the Mem service on any host, and no rrd file either. I am unsure how to proceed to get this working. The documentation is rather difficult to follow and I haven't managed yet to understand it enough to do this.

Can anyone point me to a tutorial, or some documentation which explains the steps needed to get a service noticed and graphed by nagiosgraph?

share|improve this question
up vote 2 down vote accepted

looks like your plugin does not return any performance data. have a look at Host State Information. Can you see Performance Data like this: enter image description here

share|improve this answer
Thank you. This was indeed the problem, so I've marked this as the correct answer, even though I found out independently. Also I had misspelled 'GAUGE' :-D – Tom Macdonald Nov 25 '12 at 10:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.