We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

Monitor multiples url in single graph

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Monitor multiples url in single graph

Postby reema.pal » Wed Jan 12, 2022 1:25 pm

Requirement : Combined multiples url in single graph

My progress till now
I have implemented Nagiosgraph with Nagios
i am able to successfully monitor single host and single web urls in nagios graph

Now we need to monitor multiple web urls in a single graph,
my progress to achieve this
1. I have added the below line in /usr/local/nagios/share/side.php file under Trends word:
<li><a href="<?php echo $cfg["cgi_base_url"];?>/showgroup.cgi" target="<?php echo $link_target;?>">Graphs by Group</a></li>

2. After Uncommented the below in the nagiosgraph.conf file
# Location of showgroup control file (required for showgroup.cgi)
groupdb = /usr/local/nagios/nagiosgraph/etc/groupdb.conf

I Got below output

Reference Link: https://sysadminote.com/how-to-install- ... in-nagios/

i explored the blog and find below yellow colour highlighted line my problem is i am not able to understand how to create group in groupdb.conf file ,Kindly help me to configure the same.
- Use URLs as canned queries. For example, define a 'temperatures'
group in the groupdb.conf file that combines temperature data from
multiple hosts and service types, then create a link to that group:

Reference Link : https://github.com/JasonRivers/nagiosgr ... README.pod
Posts: 2
Joined: Wed Jan 12, 2022 1:10 pm

Return to Community Support

Who is online

Users browsing this forum: No registered users and 31 guests