Board index

Cheshire Cat Software

Steve Shipway's Discussion Groups
Locations of visitors to this page
It is currently Wed 08 Sep, 2010 11:44 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Multiple host in single graph
PostPosted: Tue 26 Jan, 2010 11:58 pm 
Offline
User

Joined: Tue 26 Jan, 2010 11:49 pm
Posts: 3
Is it possible to monitor multiple host in single graph?
Ex.
Packet loss Monitoring for Primary & Secondary WAN link in a single graph.


Top
 Profile  
 
 Post subject: Re: Multiple host in single graph
PostPosted: Wed 27 Jan, 2010 3:32 pm 
Offline
Site Admin
User avatar

Joined: Mon 28 Jul, 2003 5:42 pm
Posts: 3005
Location: Auckland, New Zealand
Yes.
You need to first define the Targets for the component lines of the graph, then define a UserDefined graph over the two (or more) component Targets.
This is not really a cfgmaker issue, it is using the extended Routers2 directives. See the documentation on Userdefined graphs and the routers.cgi*Graph[] directive.
Steve

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
 Post subject: Re: Multiple host in single graph
PostPosted: Fri 29 Jan, 2010 12:40 am 
Offline
User

Joined: Tue 26 Jan, 2010 11:49 pm
Posts: 3
Hi Steve,

Following is the code using but getting 2 different graphs. I want both the hosts in Single Graph. Please advise.

Regards
ARS.

#########
#WAN-Primary
Target[WAN-Primary.ping]: `mrtg-ping-probe -t 42 -p loss/loss WAN-Primary`
PageTop[WAN-Primary.ping]: <H1> WAN-Primary Response time </H1>
Title[WAN-Primary.ping]: Packet Loss Monitoring - WAN-Primary
Factor[WAN-Primary.ping]: 0.001
Maxbytes[WAN-Primary.ping]: 100
AbsMax[WAN-Primary.ping]: 101
Options[WAN-Primary.ping]: growright,gauge
YLegend[WAN-Primary.ping]: % Packet Loss
ShortLegend[WAN-Primary.ping]: %
LegendO[WAN-Primary.ping]: Low:&nbsp;
LegendI[WAN-Primary.ping]: High:
Legend1[WAN-Primary.ping]: Ping response time range
Legend2[WAN-Primary.ping]: Ping response time range
Legend4[WAN-Primary.ping]: Peak low response RTT
Legend3[WAN-Primary.ping]: Peak high response RTT
routers.cgi*WithPeak[WAN-Primary.ping]: none
routers.cgi*Options[WAN-Primary.ping]: nomax, nopercent, nototal, scaled
routers.cgi*InOut[WAN-Primary.ping]: no
routers.cgi*InCompact[WAN-Primary.ping]: no
routers.cgi*GraphStyle[WAN-Primary.ping]: range
routers.cgi*Icon[WAN-Primary.ping]: clock-sm.gif
routers.cgi*ShortName[WAN-Primary.ping]: Response
routers.cgi*Graph[WAN-Primary.ping]: WAN1


#WAN-Secondary
Target[WAN-Secondary.ping]: `mrtg-ping-probe -t 42 -p loss/loss WAN-Secondary`
PageTop[WAN-Secondary.ping]: <H1> WAN-Secondary Response time </H1>
Title[WAN-Secondary.ping]: Packet Loss Monitoring - WAN-Secondary
Factor[WAN-Secondary.ping]: 0.001
Maxbytes[WAN-Secondary.ping]: 100
AbsMax[WAN-Secondary.ping]: 101
Options[WAN-Secondary.ping]: growright,gauge
YLegend[WAN-Secondary.ping]: % Packet Loss
ShortLegend[WAN-Secondary.ping]: %
LegendO[WAN-Secondary.ping]: Low:&nbsp;
LegendI[WAN-Secondary.ping]: High:
Legend1[WAN-Secondary.ping]: Ping response time range
Legend2[WAN-Secondary.ping]: Ping response time range
Legend4[WAN-Secondary.ping]: Peak low response RTT
Legend3[WAN-Secondary.ping]: Peak high response RTT
routers.cgi*WithPeak[WAN-Secondary.ping]: none
routers.cgi*Options[WAN-Secondary.ping]: nomax, nopercent, nototal, scaled
routers.cgi*InOut[WAN-Secondary.ping]: no
routers.cgi*InCompact[WAN-Secondary.ping]: no
routers.cgi*GraphStyle[WAN-Secondary.ping]: range
routers.cgi*Icon[WAN-Secondary.ping]: clock-sm.gif
routers.cgi*ShortName[WAN-Secondary.ping]: Response
routers.cgi*Graph[WAN-Secondary.ping]: WAN12

########


Top
 Profile  
 
 Post subject: Re: Multiple host in single graph
PostPosted: Mon 01 Feb, 2010 3:28 pm 
Offline
Site Admin
User avatar

Joined: Mon 28 Jul, 2003 5:42 pm
Posts: 3005
Location: Auckland, New Zealand
ar_sarav wrote:
routers.cgi*Graph[WAN-Primary.ping]: WAN1
routers.cgi*Graph[WAN-Secondary.ping]: WAN12


The routers.cgi*Graph[] directive has a first parameter of the combination graph name. If you want these two targets on the same graph, this should be the same! EG:

Code:
routers.cgi*Graph[WAN-Primary.ping]: WAN1
routers.cgi*Graph[WAN-Secondary.ping]: WAN1


In addition, you might like to specify 'noo' or 'noi' for this combined graph so that it is not confusing. Finally, remember that the 'range' graph type (floating bar) does not work for combined graphs.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
 Post subject: Re: Multiple host in single graph
PostPosted: Wed 03 Feb, 2010 2:06 am 
Offline
User

Joined: Tue 26 Jan, 2010 11:49 pm
Posts: 3
Hi Steve,

It works perfectly.
Thanks for the support.

Regards
ARS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group