check_traffic plugin

Richard Colley rcolley at cardaccess.com.au
Thu Jan 16 04:14:01 CET 2003


Actually, this isn't the problem.

There are a couple of small bugs in the make_config script.

1. the serviceextinfo.cfg file is written with an entry for hostextinfo, not
serviceextinfo
2. the writing of the serviceextinfo is not in a loop per interface.  It is
outside a foreach.

It seems you Adrian changed his mind over whether to generate host or
service extinfo.

I will make a simple fix, and email it to Adrian for comment.

Richard


-----Original Message-----
From: Adrian Wieczorek [mailto:ads at irc.pila.pl] 
Sent: Thursday, 16 January 2003 7:13 AM
To: Jon Lyons
Cc: jlyons30 at yahoo.com
Subject: Re[8]: [Nagios-users] check_traffic plugin


Hello Jon,

Wednesday, January 15, 2003, 8:00:31 PM, you wrote:

>  Hi, snmpwalk version 5.0.3 on FreeBSD 4.7, still have the same issue 
> with the serviceextinfo, I do get the error that it can't determine 
> the maxium speed for interface for each interface on my device. Could 
> this be effecting you while loop?

 It happens because script can't get value from
interfaces.ifTable.ifEntry.ifSpeed.$ifNumber object

There might be two reasons of this situation: interface hasn't set this
value, or.. You still have problems with snmpget :) I don't have access to
any platform works under FreeBSD, so I can't help..

Hmmm...I guess the next releases of this plugin should use Perl:SNMP module.
It'll solves many problems.



-- 
Best regards,
ADi



-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003
 


-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en




More information about the Users mailing list