Send Netdot-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."
Today's Topics:
1. [Netdot - Bug #1738] (New) REST host resource does not return
propper HTTP status codes ([email protected])
2. [Netdot - Feature #1739] (New) Utilization of DHCP pools
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Tue, 19 Feb 2013 01:47:07 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1738] (New) REST host resource
does not return propper HTTP status codes
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1738 has been reported by Matej Vadnjal.
----------------------------------------
Bug #1738: REST host resource does not return propper HTTP status codes
https://osl.uoregon.edu/redmine/issues/1738
Author: Matej Vadnjal
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
If I do a request for something that does not exist, the response gets a HTTP
status code OK. This is with Wireshark sees:
<pre>
GET /netdot/rest/host?rrid=5690 HTTP/1.1
Host: <removed>.arnes.si
Connection: keep-alive
Accept: text/xml; version=1.0
Cookie: Apache2::SiteControl_Netdot=<removed>;
HTTP/1.1 200 OK
Date: Tue, 19 Feb 2013 09:19:37 GMT
Server: Apache/2.2.15 (CentOS)
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
c
RR not found
0
</pre>
Status code 200 is returned no mater what kind of exception is thrown in
@netdot/htdocs/rest/host@. The generic REST resources like Device and Ipblock
return proper status code.
Looking at the code I think you should be catching exceptions thrown in
@netdot/htdocs/rest/host@ and then calling @$m->clear_and_abort();@ like you do
@netdot/htdocs/rest/dhandler@.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://osl.uoregon.edu/redmine/my/account
------------------------------
Message: 2
Date: Tue, 19 Feb 2013 05:04:57 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1739] (New) Utilization of
DHCP pools
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1739 has been reported by Vadym Kalsin.
----------------------------------------
Feature #1739: Utilization of DHCP pools
https://osl.uoregon.edu/redmine/issues/1739
Author: Vadym Kalsin
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
I'm examing network documentation tool - Netdot, and I want to graph DHCP
utilization.
In the Feature #1645 Carlos Vicente wrote:
> ... What we do at the University is to graph the utilization of DHCP pools
> using SNMP. This process polls the DHCP servers every 5 minutes and
> determines more exactly how many addresses are used in the pool. This
> requires some special scripts and configurations, which I'd be glad to share
> outside this ticket.
Could you share this scripts and configurations?
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://osl.uoregon.edu/redmine/my/account
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 71, Issue 14
********************************************