Connect with us

Hi, what are you looking for?

APC NetBotz

How to integrate an APC NetBotz camera with Solarwinds Orion

I was recently tasked with integrating some datacenter NetBotz cameras with Solarwinds Orion.  But if you have disabled guest access to the NetBotz devices and require authentication, it will pop up with a login page each time you refresh your Solarwinds page.  I’m not much of a developer so I came up with a solution that prefetches the camera image on the Solarwinds server.  Here are the steps you need to follow to get your Netbotz to work with Solarwinds using HTTP authentication:

1. On the monitoring page you want to display your Netbotz stream, hit the Cutomize Page button.
2. Press the Green + sign and add a Custom HTML box under the Miscellaneous category.
3. Now go back to the the monitoring page and hit the edit button on the HTML box you just added.
4. Add this code.  This code is set to poll the image from your Solarwinds server every 1 second.  Replace “solarwindsserver” with the name of your server in both URLs:

 
Now you need to setup the image to be staged in the Inetpub directory on the Solarwinds server:

Advertisement. Scroll to continue reading.

1. Download wget 1.11.4 (http://users.ugent.be/~bpuype/wget/)
2. Copy wget to the Inetpub folder.  I chose to put in in an existing directory:  C:\Inetpub\SolarWinds\NetworkAtlas
3. Create a new file in this directory called cam.vbs.  The contents of this VBscript file should be:

Depending on what model Netbotz or Wallbotz you have, the URL will change.  nbEyeEnc_0 denotes the integrated cam on a Netbotz.  You can easily grab your exact URL by logging into the Netbotz normally and right clicking, going to properites, and copying the URL for the image you want.  The VBscript uses wget to go out to the Netbotz, authenticate, and download the image to the Solarwinds web server every 1 second.  You can adjust the time by changing the 1000 to however many milliseconds you want.

Advertisement. Scroll to continue reading.

4. Now create a scheduled task in Task Scheduler and point it at C:\Inetpub\SolarWinds\NetworkAtlas\cam.vbs.  Set it to run on system startup.  Run it manually if you like to get it going.

Done!  Now if you visit your monitoring page, you should see a live stream from your locked down NetBotz!  Added bonus your camera credentials are not exposed in your code in plain text and the performance hit on the server from this script running every second is only 6 MB.

Here’s a composite image of what your integration will look like.

Advertisement. Scroll to continue reading.

solarwinds-orion-with-apc-netbotz-integrated

1 Comment

1 Comment

  1. Tyler M

    October 23, 2013 at 9:42 AM

    Thanks for this but your vbscript does not run. It gives an error that its expecting a bracket. See the image.

    Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Apache

Today I would like to go over proper URL redirection when using SSL but first I would like to preface this by describing what...

Exchange 2003

A useful Exchange 2003 guide I wrote for a friend’s blog originally but I am posting it here on mine now for your viewing...

Citrix Workspace

You can use FIDO2 hardware security keys plugged into your physical desktop over the Citrix HDX remoting protocol for use with virtualized Windows Desktop...

Cloud Design Architecture

The community-driven paperback book initiated by my friends Bas van Kaam and Christiaan Brinkhoff is available for sale on Amazon. If you haven’t picked...

Advertisement

JasonSamuel.com was launched in 2008 as a platform to give back to the IT community by sharing knowledge and expertise. Over the years, it has become a trusted global resource for the latest insights, how-to guides, and forward-thinking leadership on enterprise mobility, security, virtualization, cloud architecture, automation, and other cutting-edge technologies. Today, it serves as a go-to reference hub for IT professionals, attracting hundreds of thousands of unique visitors from around the world each month. Learn more on the About Me page.
Copyright © 2008-2025 JasonSamuel.com