Discussion:
[Maintain] Trouble creating range
Fox, Sam P
2007-11-20 19:42:29 UTC
Permalink
I'm having trouble creating a range in Maintain 3.1. I've followed the
directions and added and enabled a new IP block. After creating the
subnet, I try to add the range as a static range (we aren't using DHCP
for this IP block) and I get a form error:



Please review the following error(s) below.

Overfill Multiplier



Here's the problem: This is a static range so I can't edit the Overfill
Multiplier value because it's grayed out. I'm not even sure what this
multiplier value is for. Also, if anyone can tell me what data type is
used to store the host ip in the database, I'd really appreciate it.
I'm writing a perl script to import hosts from our BIND zone files and I
need to know what data format I should convert the IP into.



THANKS!!





Samuel Fox

NOC Engineer

BendBroadband

access : everything

63090 Sherman Rd.

Bend, OR 97701

spfox at bendbroadband.net

541.693.5997 (Phone)

541.383.8858 (Fax)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/maintain/attachments/20071120/e851ff4d/attachment.htm
Kevin Purdy
2007-11-20 20:06:51 UTC
Permalink
Sam,
The overfill multiplier is a variable for dynamic ranges that allows more host than should fit to be added, with the
assumption that not all will be connected at once. That it won't allow you to add a static range without the overfill is a bug.
The hosts are stored in the database with their IPs in long integer form, using the php function ip2long().

-Kevin Purdy
I?m having trouble creating a range in Maintain 3.1. I?ve followed the
directions and added and enabled a new IP block. After creating the
subnet, I try to add the range as a static range (we aren?t using DHCP
Please review the following error(s) below.
Overfill Multiplier
Here?s the problem: This is a static range so I can?t edit the Overfill
Multiplier value because it?s grayed out. I?m not even sure what this
multiplier value is for. Also, if anyone can tell me what data type is
used to store the host ip in the database, I?d really appreciate it.
I?m writing a perl script to import hosts from our BIND zone files and I
need to know what data format I should convert the IP into.
THANKS!!
Samuel Fox
/NOC Engineer/
BendBroadband
access : everything
63090 Sherman Rd.
Bend, OR 97701
_spfox at bendbroadband.net_
541.693.5997 (Phone)
541.383.8858 (Fax)
------------------------------------------------------------------------
_______________________________________________
maintain mailing list
maintain at osuosl.org
http://lists.osuosl.org/mailman/listinfo/maintain
--
Kevin Purdy * Security Student
Network Engineering * Oregon State University
Kevin Purdy
2007-11-20 20:30:39 UTC
Permalink
Sam,
Yes, it looks like the issue has indeed been fixed in SVN.
-Kevin
Thanks Kevin! Has this bug been addressed yet with a nightly release?
I haven't installed SVN on this box yet because it has soooo many
dependencies. I've been waiting for a 3.1.1 or similar but haven't seen
anything posted on the maintain page.
Regards,
Sam Fox
-----Original Message-----
From: Kevin Purdy [mailto:purdyk at net.oregonstate.edu]
Sent: Tuesday, November 20, 2007 12:06 PM
To: Fox, Sam P
Subject: Re: [Maintain] Trouble creating range
Sam,
The overfill multiplier is a variable for dynamic ranges that
allows more host than should fit to be added, with the
assumption that not all will be connected at once. That it won't allow
you to add a static range without the overfill is a bug.
The hosts are stored in the database with their IPs in long integer
form, using the php function ip2long().
-Kevin Purdy
Post by Fox, Sam P
I'm having trouble creating a range in Maintain 3.1. I've followed
the
Post by Fox, Sam P
directions and added and enabled a new IP block. After creating the
subnet, I try to add the range as a static range (we aren't using DHCP
Please review the following error(s) below.
Overfill Multiplier
Here's the problem: This is a static range so I can't edit the
Overfill
Post by Fox, Sam P
Multiplier value because it's grayed out. I'm not even sure what this
multiplier value is for. Also, if anyone can tell me what data type
is
Post by Fox, Sam P
used to store the host ip in the database, I'd really appreciate it.
I'm writing a perl script to import hosts from our BIND zone files and
I
Post by Fox, Sam P
need to know what data format I should convert the IP into.
THANKS!!
Samuel Fox
/NOC Engineer/
BendBroadband
access : everything
63090 Sherman Rd.
Bend, OR 97701
_spfox at bendbroadband.net_
541.693.5997 (Phone)
541.383.8858 (Fax)
------------------------------------------------------------------------
Post by Fox, Sam P
_______________________________________________
maintain mailing list
maintain at osuosl.org
http://lists.osuosl.org/mailman/listinfo/maintain
--
Kevin Purdy * Security Student
Network Engineering * Oregon State University
Dawn Keenan
2007-11-20 20:38:44 UTC
Permalink
I?m writing a perl script to import hosts from our BIND zone files and I
need to know what data format I should convert the IP into.
The install/sql/maintain.sql file is a very handy resource for helping
you figure out what data goes where, in what format.

I've been throwing together a fairly patchy module to import DNS domains
and subdomains into Maintain (because I am that impatient sometimes),
mostly to test that it can correctly export the data for multiple
(Maintain) domains (BIND zones). If anyone would care to look at
https://lauren.uwaterloo.ca/repos/maintain3/modules/dns_import/, I'd
appreciate any feedback on how to do a better job.

--
Dawn Keenan
Network Services, Information Systems and Technology
University of Waterloo
Fox, Sam P
2007-11-20 20:43:34 UTC
Permalink
Thanks Dawn! I'll check it out and let you know- hopefully I'll have
some time to work on this before Thanksgiving.

Regards,

Sam Fox

-----Original Message-----
From: maintain-bounces at osuosl.org [mailto:maintain-bounces at osuosl.org]
On Behalf Of Dawn Keenan
Sent: Tuesday, November 20, 2007 12:39 PM
To: maintain at osuosl.org
Subject: Re: [Maintain] Trouble creating range
Post by Fox, Sam P
I'm writing a perl script to import hosts from our BIND zone files and I
need to know what data format I should convert the IP into.
The install/sql/maintain.sql file is a very handy resource for helping
you figure out what data goes where, in what format.

I've been throwing together a fairly patchy module to import DNS domains

and subdomains into Maintain (because I am that impatient sometimes),
mostly to test that it can correctly export the data for multiple
(Maintain) domains (BIND zones). If anyone would care to look at
https://lauren.uwaterloo.ca/repos/maintain3/modules/dns_import/, I'd
appreciate any feedback on how to do a better job.

--
Dawn Keenan
Network Services, Information Systems and Technology
University of Waterloo

Loading...