Invalid device/port combination
After an upgrade a while back I began to receive a message "Invalid device/port combination" when selecting the hyperlink for a port on any device.
I upgraded recently to 5770 and still experiencing this issue.
The URL http://observium.domain.com/device/device=70/tab=port/port=10234/ gives the following message. [cid:image001.png@01CFC38A.2E8A9150]
Everything else seems to be performing fine. What troubleshooting steps should I perform to figure out what is happening? Or what further information is needed?
Thank you --------------------------------------------------------------------------------------- This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com ---------------------------------------------------------------------------------------
You're not really providing any information.
Who, what, where, why?
"I tried to buy some milk but my car wouldn't start, Why?"
adam.
On 2014-08-29 18:09, Peter Casserly wrote:
After an upgrade a while back I began to receive a message "Invalid device/port combination" when selecting the hyperlink for a port on any device.
I upgraded recently to 5770 and still experiencing this issue.
The URL http://observium.domain.com/device/device=70/tab=port/port=10234/ [1] gives the following message.
Everything else seems to be performing fine.
What troubleshooting steps should I perform to figure out what is happening? Or what further information is needed?
Thank you
Links:
[1] http://observium.domain.com/device/device=70/tab=port/port=10234/
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Now I see the error in my ways.
Within the web interface of Observium I navigate to a device. Let's say a switch. I then click the port tab to view all the ports. I then click on port GigabitEthernet 1/0/4
The resulting web page give an error message "Invalid device/port combination"
This happens for all devices added to Observium on all ports.
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Friday, August 29, 2014 1:28 PM To: Observium Network Observation System Subject: Re: [Observium] Invalid device/port combination
You're not really providing any information.
Who, what, where, why?
"I tried to buy some milk but my car wouldn't start, Why?"
adam.
On 2014-08-29 18:09, Peter Casserly wrote:
After an upgrade a while back I began to receive a message "Invalid device/port combination" when selecting the hyperlink for a port on any device.
I upgraded recently to 5770 and still experiencing this issue.
The URL http://observium.domain.com/device/device=70/tab=port/port=10234/ [1] gives the following message.
Everything else seems to be performing fine.
What troubleshooting steps should I perform to figure out what is happening? Or what further information is needed?
Thank you
Links:
[1] http://observium.domain.com/device/device=70/tab=port/port=10234/
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 --------------------------------------------------------------------------------------- This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com ---------------------------------------------------------------------------------------
On 2014-08-29 19:14, Peter Casserly wrote:
Now I see the error in my ways.
Within the web interface of Observium I navigate to a device. Let's say a switch. I then click the port tab to view all the ports. I then click on port GigabitEthernet 1/0/4
The resulting web page give an error message "Invalid device/port combination"
This happens for all devices added to Observium on all ports.
Given that you're the only person who has ever reported this out of an install base of 10,000, I'm going to suggest that this is some strange local issue, or that you've missed out some critical part of the problem.
Nothing in the information above explains what you're doing. That error only appears if you don't have permission to view that port, or that port is not related to that device.
adam.
On 08/29/2014 08:25 PM, Adam Armstrong wrote:
On 2014-08-29 19:14, Peter Casserly wrote:
Now I see the error in my ways.
Within the web interface of Observium I navigate to a device. Let's say a switch. I then click the port tab to view all the ports. I then click on port GigabitEthernet 1/0/4
The resulting web page give an error message "Invalid device/port combination"
This happens for all devices added to Observium on all ports.
Given that you're the only person who has ever reported this out of an install base of 10,000, I'm going to suggest that this is some strange local issue, or that you've missed out some critical part of the problem.
Nothing in the information above explains what you're doing. That error only appears if you don't have permission to view that port, or that port is not related to that device.
You can turn up some more information (database queries) by adding /debug to the url.
Tom
Based on the feedback I was leaning towards this being a permission issue. We are using LDAP authentication.
The user I log in with is setup with "Global Administrative Access" I also switched it back to MySQL authentication and used the "admin" account with the same results.
Below is the output of the debug.
Thank you.
$vars/opt/observium/includes/common.inc.php:193
SELECT * FROM `entity_permissions` WHERE `user_id` = '-1' /opt/observium/includes/common.inc.php:193 SELECT `value` FROM `users_prefs` WHERE `user_id` = '-1' AND `pref` = 'atom_key' /opt/observium/includes/common.inc.php:193 SELECT `value` FROM `users_prefs` WHERE `user_id` = '-1' AND `pref` = 'atom_key' /opt/observium/includes/common.inc.php:193 SELECT * FROM `devices` ORDER BY `hostname` /opt/observium/includes/common.inc.php:193 SELECT `device_id`, `ports`.`port_id`, `ifAdminStatus`, `ifOperStatus`, `deleted`, `ignore`, `ifOutErrors_delta`, `ifInErrors_delta` FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` /opt/observium/includes/common.inc.php:193 SELECT * FROM `sensors` LEFT JOIN `sensors-state` ON `sensors`.`sensor_id` = `sensors-state`.`sensor_id` /opt/observium/includes/common.inc.php:193 SELECT `device_id`,`bgpPeerState`,`bgpPeerAdminStatus`,`bgpPeerRemoteAs` FROM bgpPeers /opt/observium/includes/common.inc.php:193 SELECT `device_id`,`ospfAdminStat` FROM `ospf_instances` /opt/observium/includes/common.inc.php:193 SELECT COUNT(cef_switching_id) from `cef_switching` /opt/observium/includes/common.inc.php:193 SELECT COUNT(vrf_id) from `vrfs` /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) from `packages`
/opt/observium/includes/common.inc.php:193 SELECT COUNT(wifi_session_id) FROM wifi_sessions /opt/observium/includes/common.inc.php:193 SELECT count(*) FROM `toner` /opt/observium/includes/common.inc.php:193 SELECT COUNT(`app_id`) FROM `applications`
Devices Ports Health
/opt/observium/includes/common.inc.php:193 SELECT `version` FROM `dbSchema` /opt/observium/includes/common.inc.php:193 SELECT `device_id` FROM `ports` WHERE `port_id` = '14623' /opt/observium/includes/common.inc.php:193 SELECT `device_id` FROM `ports` WHERE `port_id` = '14623' /opt/observium/includes/common.inc.php:193 SELECT * FROM devices_attribs WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT * FROM `entPhysical-state` WHERE `device_id` = '80' workcenter7665.channel.casserlyconsulting.com machine location not set Toner /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM storage WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(sensor_id) FROM sensors WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM cempMemPool WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM cpmCPU WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM processors WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(app_id) FROM applications WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(mplug_id) FROM munin_plugins WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(port_id) FROM ports WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(sla_id) FROM slas WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(accesspoint_id) FROM accesspoints WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(wifi_accesspoint_id) FROM wifi_accesspoints WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(vlan_id) FROM vlans WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(id) FROM vminfo WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `loadbalancer_rservers` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `ipsec_tunnels` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `bgpPeers` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `ospf_instances` WHERE `ospfAdminStat` = 'enabled' AND `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `eigrp_ports` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `cef_switching` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `vrfs` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `pseudowires` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `packages` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `entPhysical` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `hrDevice` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(toner_id) FROM toner WHERE device_id = '80' Overview Graphs Health Ports Inventory Printing Logs Alerts Invalid device/port combination
The port/device combination was invalid. Please retype and try again. Observium 0.14.10.5880 (current) 0.071s
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Friday, August 29, 2014 2:40 PM To: Observium Network Observation System Subject: Re: [Observium] Invalid device/port combination
On 08/29/2014 08:25 PM, Adam Armstrong wrote:
On 2014-08-29 19:14, Peter Casserly wrote:
Now I see the error in my ways.
Within the web interface of Observium I navigate to a device. Let's say a switch. I then click the port tab to view all the ports. I then click on port GigabitEthernet 1/0/4
The resulting web page give an error message "Invalid device/port combination"
This happens for all devices added to Observium on all ports.
Given that you're the only person who has ever reported this out of an install base of 10,000, I'm going to suggest that this is some strange local issue, or that you've missed out some critical part of the problem.
Nothing in the information above explains what you're doing. That error only appears if you don't have permission to view that port, or that port is not related to that device.
You can turn up some more information (database queries) by adding /debug to the url.
Tom _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium --------------------------------------------------------------------------------------- This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com ---------------------------------------------------------------------------------------
Checking in to see if anyone has any further insight on this. Thank you.
-----Original Message----- From: Peter Casserly Sent: Friday, October 10, 2014 3:53 PM To: Observium Network Observation System Subject: RE: [Observium] Invalid device/port combination
Based on the feedback I was leaning towards this being a permission issue. We are using LDAP authentication.
The user I log in with is setup with "Global Administrative Access" I also switched it back to MySQL authentication and used the "admin" account with the same results.
Below is the output of the debug.
Thank you.
$vars/opt/observium/includes/common.inc.php:193
SELECT * FROM `entity_permissions` WHERE `user_id` = '-1' /opt/observium/includes/common.inc.php:193 SELECT `value` FROM `users_prefs` WHERE `user_id` = '-1' AND `pref` = 'atom_key' /opt/observium/includes/common.inc.php:193 SELECT `value` FROM `users_prefs` WHERE `user_id` = '-1' AND `pref` = 'atom_key' /opt/observium/includes/common.inc.php:193 SELECT * FROM `devices` ORDER BY `hostname` /opt/observium/includes/common.inc.php:193 SELECT `device_id`, `ports`.`port_id`, `ifAdminStatus`, `ifOperStatus`, `deleted`, `ignore`, `ifOutErrors_delta`, `ifInErrors_delta` FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` /opt/observium/includes/common.inc.php:193 SELECT * FROM `sensors` LEFT JOIN `sensors-state` ON `sensors`.`sensor_id` = `sensors-state`.`sensor_id` /opt/observium/includes/common.inc.php:193 SELECT `device_id`,`bgpPeerState`,`bgpPeerAdminStatus`,`bgpPeerRemoteAs` FROM bgpPeers /opt/observium/includes/common.inc.php:193 SELECT `device_id`,`ospfAdminStat` FROM `ospf_instances` /opt/observium/includes/common.inc.php:193 SELECT COUNT(cef_switching_id) from `cef_switching` /opt/observium/includes/common.inc.php:193 SELECT COUNT(vrf_id) from `vrfs` /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) from `packages`
/opt/observium/includes/common.inc.php:193 SELECT COUNT(wifi_session_id) FROM wifi_sessions /opt/observium/includes/common.inc.php:193 SELECT count(*) FROM `toner` /opt/observium/includes/common.inc.php:193 SELECT COUNT(`app_id`) FROM `applications`
Devices Ports Health
/opt/observium/includes/common.inc.php:193 SELECT `version` FROM `dbSchema` /opt/observium/includes/common.inc.php:193 SELECT `device_id` FROM `ports` WHERE `port_id` = '14623' /opt/observium/includes/common.inc.php:193 SELECT `device_id` FROM `ports` WHERE `port_id` = '14623' /opt/observium/includes/common.inc.php:193 SELECT * FROM devices_attribs WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT * FROM `entPhysical-state` WHERE `device_id` = '80' workcenter7665.channel.casserlyconsulting.com machine location not set Toner /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM storage WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(sensor_id) FROM sensors WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM cempMemPool WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM cpmCPU WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM processors WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(app_id) FROM applications WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(mplug_id) FROM munin_plugins WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(port_id) FROM ports WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(sla_id) FROM slas WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(accesspoint_id) FROM accesspoints WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(wifi_accesspoint_id) FROM wifi_accesspoints WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(vlan_id) FROM vlans WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(id) FROM vminfo WHERE device_id = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `loadbalancer_rservers` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `ipsec_tunnels` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `bgpPeers` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `ospf_instances` WHERE `ospfAdminStat` = 'enabled' AND `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `eigrp_ports` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `cef_switching` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `vrfs` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `pseudowires` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `packages` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `entPhysical` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(*) FROM `hrDevice` WHERE `device_id` = '80' /opt/observium/includes/common.inc.php:193 SELECT COUNT(toner_id) FROM toner WHERE device_id = '80' Overview Graphs Health Ports Inventory Printing Logs Alerts Invalid device/port combination
The port/device combination was invalid. Please retype and try again. Observium 0.14.10.5880 (current) 0.071s
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Friday, August 29, 2014 2:40 PM To: Observium Network Observation System Subject: Re: [Observium] Invalid device/port combination
On 08/29/2014 08:25 PM, Adam Armstrong wrote:
On 2014-08-29 19:14, Peter Casserly wrote:
Now I see the error in my ways.
Within the web interface of Observium I navigate to a device. Let's say a switch. I then click the port tab to view all the ports. I then click on port GigabitEthernet 1/0/4
The resulting web page give an error message "Invalid device/port combination"
This happens for all devices added to Observium on all ports.
Given that you're the only person who has ever reported this out of an install base of 10,000, I'm going to suggest that this is some strange local issue, or that you've missed out some critical part of the problem.
Nothing in the information above explains what you're doing. That error only appears if you don't have permission to view that port, or that port is not related to that device.
You can turn up some more information (database queries) by adding /debug to the url.
Tom _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium --------------------------------------------------------------------------------------- This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com ---------------------------------------------------------------------------------------
participants (3)
-
Adam Armstrong
-
Peter Casserly
-
Tom Laermans