Cheshire Cat Computing

Software support and information
It is currently Fri May 24, 2013 10:25 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Jan 27, 2010 5:58 pm 
Offline
User

Joined: Wed Jan 27, 2010 5: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  
 
PostPosted: Thu Jan 28, 2010 9:32 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
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  
 
PostPosted: Fri Jan 29, 2010 6:40 pm 
Offline
User

Joined: Wed Jan 27, 2010 5: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  
 
PostPosted: Tue Feb 02, 2010 9:28 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
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  
 
PostPosted: Wed Feb 03, 2010 8:06 pm 
Offline
User

Joined: Wed Jan 27, 2010 5: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 + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


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® Forum Software © phpBB Group