From the course: Learning Nagios

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

nagiosgraph links

nagiosgraph links - Nagios Tutorial

From the course: Learning Nagios

Start my 1-month free trial

nagiosgraph links

- [Instructor] Being able to see graphs of everything you're monitoring is great but it's kind of a hassle to have to use the Nagios graph interface. Thankfully Nagios can be configured to dynamically show the correct graph for each service. We just need to set the action URL parameter in your Nagios config. You can add these individually but it makes more sense to add it to the base service and host definition templates. So, we want to edit /usr/local/nagios/etc/objects/templates.cfg. This file contains the base templates for our config and these were installed when we installed the sample configuration files. We'll search for generic-service and if we go down to the bottom, we can add another parameter here. We'll add it just after register. Action_url and then /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$ and then an ampersand and service=$SERVICEDESC$. Now we can search for generic-host and go to the bottom here and we'll add action_url…

Contents