Advertisements

System.DirectoryServices doesn’t contain any public member or cannot be found

Namespace or type specified in the Imports ‘System.DirectoryServices’ doesn’t contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn’t use any aliases.

Add a reference to the project under .NET tab to System.DirectoryServices

Advertisements

Type ManagementClass is not defined, Can’t use ManagementClass

Duh needed to add a reference to the project.

Right Click your app, Add Reference, Under the .NET Tab add System.Management

Zenoss 2.1.3 Versus Hyperic HQ episode 1

Find this post interesting? Do you like interesting things? Maybe you would like my invention, a connectible candle called a WickBrick!

Get one here http://wickbrick.etsy.com/

WickBrick

I’m trying to find some good open source network monitoring software.

Continuation here https://michaelellerbeck.com/2008/08/04/network-monitoring-zenoss-spiceworks-nagios-hyperic/

First I downloaded the vm version of Zenoss, it fired up pretty easily and I was in to the web interface. I was looking around for some way to do an autodiscovery of the network but couldn’t finid it quickly so I guess I will have to read the manual 🙂

First strangeness I encountered, following the manual I try to change the password for ‘Zope’ by entering zenpass. But it doesn’t work. I don’t like that. The next thing I notice is an error, something about a problem pinging localhost?? thats strange.

Ok, the interface is pretty confusing. This is what it says

From the left navigation menu select networks. The Networks Overview page appears.
2.  Click the checkbox next to the network you want to add all of the devices from. You can also use Subnetworks table menu to add a new network to the list.
3.  Once you have selected the network, open the Subnetworks table menu and select Discover Devices.
4.  The Discover Device page will appear showing you the status of all the device collections going on.

So what the heck is the table menu you might ask?? Well it looks exactly like a sort column arrow.

Would you guess to select that arrow?

Hmm ok, so It looked like it started doing something… although now I’m getting a bunch of errors?

INFO:zen.Ping:starting ping cycle Thu May 1 17:16:51 2008
2008-05-01 17:17:53    INFO     zen    ERROR:zen.Ping:receiving packet
2008-05-01 17:17:53    INFO     zen    Traceback (most recent call last):
2008-05-01 17:17:53    INFO     zen    File “/home/zenoss/Products/ZenStatus/Ping.py”, line 161, in recvPacket
2008-05-01 17:17:53    INFO     zen    icmppkt = icmp.disassemble(ipreply.data)
2008-05-01 17:17:53    INFO     zen    File “/usr/lib/python2.4/site-packages/icmp.py”, line 252, in disassemble
2008-05-01 17:17:53    INFO     zen    raise ValueError, “Unrecognized type: %d” % type
2008-05-01 17:17:53    INFO     zen    ValueError: Unrecognized type: 5
2008-05-01 17:17:53    INFO     zen    ERROR:zen.Ping:receiving packet
2008-05-01 17:17:53    INFO     zen    Traceback (most recent call last):

I deleted and re added the network, and now it was able to find a few machines… but the console keeps on saying Neighbour table overflow???

Well, all and all, it looks cool but still has a few issues to work out.