z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Monitor multiples url in single graph

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.

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
image.png

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
image.png

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:

http://server/cgi-bin/showgroup.cgi?group=temperatures
Reference Link : https://github.com/JasonRivers/nagiosgr ... README.pod
reema.pal
 
Posts: 2
Joined: Wed Jan 12, 2022 1:10 pm

Return to Open Source Nagios Projects

Who is online

Users browsing this forum: Fess [Nagios Bot] and 13 guests