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
- [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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Expand your Nagios installation4m 42s
-
(Locked)
Introduction to PagerDuty1m 55s
-
(Locked)
Install the PagerDuty Agent56s
-
(Locked)
nagiosgraph configuration5m 20s
-
(Locked)
nagiosgraph links3m 12s
-
(Locked)
Install the PagerDuty webhook3m 57s
-
(Locked)
Test PagerDuty integration2m 13s
-
(Locked)
Custom alerting2m 45s
-
(Locked)
-