SNMP Location can't have forward-slash
Hi,
Just noticed a small issue, when an SNMP 'location' contains a forward slash (/) then the link doesn't work in the location's menu, for example:
With a location set to "THN/TFM-10/C5" on the device, the link is auto-generated as "http://<server>/devices/location=THN%2FTFM-10%2FC5/" which then results in the error:
Not Found The requested URL /devices/location=THN/TFM-10/C5/ was not found on this server.
Currently running:
Observium 0.12.4.2956 Apache 2.2.20 (Ubuntu) PHP 5.3.6-13ubuntu3.7 MySQL 5.1.62-0ubuntu0.11.10.1-log
This isn't critical at all, but since I just noticed it I thought I'd mention it :)
Cheers!
Robert Williams Backline / Operations Team Custodian DataCentre tel: +44 (0)1622 230382 email: Robert@CustodianDC.com http://www.custodiandc.com/disclaimer.txt
Spotted here too, irritating, but not enough for me to think about fixing it. We have a /building/room/rack naming scheme, so most of our location links are broken. :)
- James ________________________________________ From: observium-bounces@observium.org [observium-bounces@observium.org] on behalf of Robert Williams [Robert@CustodianDC.com] Sent: 09 May 2012 09:58 To: Observium Network Observation System Subject: [Observium] SNMP Location can't have forward-slash
Hi,
Just noticed a small issue, when an SNMP 'location' contains a forward slash (/) then the link doesn't work in the location's menu, for example:
With a location set to "THN/TFM-10/C5" on the device, the link is auto-generated as "http://<server>/devices/location=THN%2FTFM-10%2FC5/" which then results in the error:
Not Found The requested URL /devices/location=THN/TFM-10/C5/ was not found on this server.
Currently running:
Observium 0.12.4.2956 Apache 2.2.20 (Ubuntu) PHP 5.3.6-13ubuntu3.7 MySQL 5.1.62-0ubuntu0.11.10.1-log
This isn't critical at all, but since I just noticed it I thought I'd mention it :)
Cheers!
Robert Williams Backline / Operations Team Custodian DataCentre tel: +44 (0)1622 230382 email: Robert@CustodianDC.com http://www.custodiandc.com/disclaimer.txt
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi,
Just noticed a small issue, when an SNMP 'location' contains a forward slash (/) then the link doesn't work in the location's menu, for example:
With a location set to "THN/TFM-10/C5" on the device, the link is auto-generated as "http://<server>/devices/location=THN%2FTFM-10%2FC5/" which then results in the error:
Not Found The requested URL /devices/location=THN/TFM-10/C5/ was not found on this server.
Currently running:
Observium 0.12.4.2956 Apache 2.2.20 (Ubuntu) PHP 5.3.6-13ubuntu3.7 MySQL 5.1.62-0ubuntu0.11.10.1-log
This isn't critical at all, but since I just noticed it I thought I'd mention it :)
It is probably Apache doing this. You can try adding 'AllowEncodedSlashes On' in your VirtualHost. I haven't tested this, but it might work :-) The AllowEncodedSlashes is not allowed in .htaccess files, so Observium can't do anything about it :-(
- Sander
Sounds like people should just not use slashes in their location strings :)
adam.
On 2012-05-09 10:49, Sander Steffann wrote:
Hi,
Just noticed a small issue, when an SNMP 'location' contains a forward slash (/) then the link doesn't work in the location's menu, for example:
With a location set to "THN/TFM-10/C5" on the device, the link is auto-generated as "http://<server>/devices/location=THN%2FTFM-10%2FC5/" which then results in the error:
Not Found The requested URL /devices/location=THN/TFM-10/C5/ was not found on this server.
Currently running:
Observium 0.12.4.2956 Apache 2.2.20 (Ubuntu) PHP 5.3.6-13ubuntu3.7 MySQL 5.1.62-0ubuntu0.11.10.1-log
This isn't critical at all, but since I just noticed it I thought I'd mention it :)
It is probably Apache doing this. You can try adding 'AllowEncodedSlashes On' in your VirtualHost. I haven't tested this, but it might work :-) The AllowEncodedSlashes is not allowed in .htaccess files, so Observium can't do anything about it :-(
- Sander
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
It is probably Apache doing this. You can try adding 'AllowEncodedSlashes On' in your VirtualHost. I haven't tested this, but it might work :-) The AllowEncodedSlashes is not allowed in .htaccess files, so Observium can't do anything about it :-(
Oh cool, that fixed it. Thanks!
- James-- Scanned by iCritical.
I should put that in the FAQ :)
On 2012-05-09 10:49, Sander Steffann wrote:
Hi,
Just noticed a small issue, when an SNMP 'location' contains a forward slash (/) then the link doesn't work in the location's menu, for example:
With a location set to "THN/TFM-10/C5" on the device, the link is auto-generated as "http://<server>/devices/location=THN%2FTFM-10%2FC5/" which then results in the error:
Not Found The requested URL /devices/location=THN/TFM-10/C5/ was not found on this server.
Currently running:
Observium 0.12.4.2956 Apache 2.2.20 (Ubuntu) PHP 5.3.6-13ubuntu3.7 MySQL 5.1.62-0ubuntu0.11.10.1-log
This isn't critical at all, but since I just noticed it I thought I'd mention it :)
It is probably Apache doing this. You can try adding 'AllowEncodedSlashes On' in your VirtualHost. I haven't tested this, but it might work :-) The AllowEncodedSlashes is not allowed in .htaccess files, so Observium can't do anything about it :-(
- Sander
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
That sorted it here too - cheers! :D
Robert Williams Backline / Operations Team Custodian DataCentre tel: +44 (0)1622 230382 email: Robert@CustodianDC.com http://www.custodiandc.com/disclaimer.txt
-----Original Message----- From: observium-bounces@observium.org [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 09 May 2012 11:16 To: Observium Network Observation System Subject: Re: [Observium] SNMP Location can't have forward-slash
I should put that in the FAQ :)
On 2012-05-09 10:49, Sander Steffann wrote:
Hi,
Just noticed a small issue, when an SNMP 'location' contains a forward slash (/) then the link doesn't work in the location's menu, for example:
With a location set to "THN/TFM-10/C5" on the device, the link is auto-generated as "http://<server>/devices/location=THN%2FTFM-10%2FC5/" which then results in the error:
Not Found The requested URL /devices/location=THN/TFM-10/C5/ was not found on this server.
Currently running:
Observium 0.12.4.2956 Apache 2.2.20 (Ubuntu) PHP 5.3.6-13ubuntu3.7 MySQL 5.1.62-0ubuntu0.11.10.1-log
This isn't critical at all, but since I just noticed it I thought I'd mention it :)
It is probably Apache doing this. You can try adding 'AllowEncodedSlashes On' in your VirtualHost. I haven't tested this, but it might work :-) The AllowEncodedSlashes is not allowed in .htaccess files, so Observium can't do anything about it :-(
- Sander
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
james.adams@stfc.ac.uk
-
Robert Williams
-
Sander Steffann