[mrtg] ȸ½Å: OID in mrtg.cfg

Anson Rinesmith arinesmith at bigrivertelephone.com
Mon Jul 28 21:00:47 CEST 2008


That is not the correct syntax for a target statement it’s Target[_]: OIDInput&OIDOutput:commstring at IP

 

Just repeat the OID twice, when there is only one, or use the noo/noi Option.

 

 

When you say the daemon doesn’t run, are we talking a Windows OS where you just can’t get it to run as a service or a *nix system where you need to run a cron job? Or is it either and you get an error when you run “/pathto/mrtg mrtg.cfg”?

 

  _____  

From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of David Kim
Sent: Monday, July 28, 2008 1:55 PM
To: 'Steve Shipway'; mrtg at lists.oetiker.ch
Subject: [mrtg] 회신: OID in mrtg.cfg

 

Hi Steve,

I have done which you recommend and check OID with snmpget. I got correct value with snmpget but my mrtg daemon doesn’t run.

I had made mrtg.cfg with cfgmaker and then I added one line in mrtg.cfg as below.

 

Target[as5400_DS0_in-Use] : 1.3.6.1.4.1.9.10.19.1.1.4.0:mystring at myip

 

Without adding The daemon run , but with adding the above line , the daemon doesn’t run.

 

Please point me out what’s wrong.

 

Regards,

 

 

보낸 사람: Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
보낸 날짜: Sunday, July 27, 2008 3:01 PM
받는 사람: 'David Kim'; 'mrtg at lists.oetiker.ch'
제목: RE: [mrtg] OID in mrtg.cfg

 

Omit the leading ‘.’ In the OIDs.  Also, check that these OIDs are correct – sometimes you need to add a trailing ‘.0’ to them.

 

Steve

 

  _____  

From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of David Kim
Sent: Saturday, 26 July 2008 08:37
To: mrtg at lists.oetiker.ch
Subject: [mrtg] OID in mrtg.cfg

 

Hi All,

I’d like to monitor DS0 usage for 24hrs a day and I have put below text at bottom of  my mrtg.cfg and run it again.

But my mrtg.cfg doesn’t run with these text. We run mrtg on windows.

 

Target[as5400_DSO_1_in_use]:

.1.3.6.1.4.1.9.10.19.1.1.9.1.3.1.0&.1.3.6.1.4.1.9.10.19.1.1.9.1.3.1.1:co

mm at host

 

Please let me know what’s wrong.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080728/c8370985/attachment-0001.html 


More information about the mrtg mailing list