[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Devmon issue
- To: hobbit (at) hswn.dk
- Subject: Devmon issue
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Thu, 20 Sep 2007 14:33:30 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=D1IqrtMd/kevacEn0bC9fAUjnRy6zIDOs96jBYPbX84=; b=QSQPhrjYQJW5GGylTyqJ+6sGowxNFNPVHk7dbZb0IcYEczrj2B1YXjvblWFQODamyGP7ghLxqKzrU3b9JVejmgkgH/t5L83XSmNwXjOcJ4x6tnOHfdUwICFWgekUiZnolUBrVq4p3e9twIrW1rKmEUXqQrrtGjgqWA/L9aqLuko=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mHwHV/EWY2G7nb5Bdl3aB7hwB5PG30RP+T82pNslZZ9nNjoz0gH0gFO4UHO2w9DYyuXkqAQYlP1HRWkxldlemlMD9ibZ7zPkoFe50Ds4ZyQ/1Deg2c6sO2MhJzOml/SQA2Jy5LkBhCulO7nxPg/jHkneVMozhDS9mbHRealsQgA=
This is really a devmon issue, but I think it will probably bite other
folks here sooner or later, so here it is.
I've been trying to set up a template to get information from some
Windows servers, and it turns out that the string I get back for the
ifDescr oid (.1.3.6.1.2.1.2.2.1.2) contains a null byte. The problem
with that is that the interface name is being sent on to Hobbit,
complete with the null byte. Hobbit interprets the null byte as
end-of-message within a combo stream and chops off the rest of the
message.
If I were a Perl programmer I could probably fix it, but I'm not so
I'm working around it by simply not including the interface names in
the message.
I don't know if the same thing will affect *all* character strings
coming from a Windows server, but I expect I'll find out soon enough.
So, if some kind soul can figure out where to patch devmon to remove
the null, it would certainly help me, and probably other folks too.
Thanks,
Ralph Mitchell