On 09/20/2012 06:13 AM, Andreas Scheuring wrote:
> Hi Alan,
> As compiling worked on my ubuntu system, I tried to get the assimmon project
> running.
> I really had now idea what to configure and which binaries to execute. Can
> you please give me a short introduction how to set up a small environment
> with let’s say three servers? So which configurations have to be made? Which
> components do I need, etc.
> That would be very helpful!
>
>
> The next parts all relate to ubuntu 12.04 64bit Operating System!
>
>
> I played a little bit around and executed the nanoprobe binary. It seems,
> that there’s a hard link to the netconfig file anywhere.
>
>
> ############Output############
> root@assimmon1:/assimmon/bin/nanoprobe# ./nanoprobe
> ** Message: CMA address: 10.10.10.200:1984
> ** Message: Local address: 0.0.0.0:1984
> ** Message: json_discovery_new:
> FULLPATH=[/home/alanr/monitor/src/discovery_agents/netconfig]
> discoverytype[netconfig]
> ** Message: _jsondiscovery_discover: don't have [cmadisc] address yet -
> continuing.
> /bin/sh: 1: /home/alanr/monitor/src/discovery_agents/netconfig: not found
>
> ** (process:2739): WARNING **: JSON discovery from
> /home/alanr/monitor/src/discovery_agents/netconfig failed with status 0x7f00
> (32512)
>
> --------- pressed Ctrl + c!------------
>
> ^C** Message: nanoprobe: exiting on SIGINT.
> ** Message: Count of heartbeats: 0
> ** Message: Count of deadtimes: 0
> ** Message: Count of warntimes: 0
> ** Message: Count of comealives: 0
> ** Message: Count of martians: 0
> ** Message: Count of LLDP/CDP pkts sent: 0
> ** Message: Count of LLDP/CDP pkts received: 0
> ** Message: Count of 'other' pkts received: 0
> ** Message: No objects left alive. Awesome!
> root@assimmon1:/assimmon/bin/nanoprobe# find / | grep netconfig
> /assimmon/Experimental-Assimilation-3195581b5863/discovery_agents/netconfig
> ########################
>
> So searching for that file I was able to find it in the downloaded
> sources-file. Created the directory tree
> (/home/alanr/monitor/src/discovery_agents) and copied the netconfig file to
> that location.
>
> It passed. But wasn’t able to find a cma – of course. That looks fine now! I
> guess using an install routine, this file will be copied in system directory
> or anywhere else.
>
> After that I tried to get the cma running (on the same host). I guess it’s
> just starting the cma.py script in the source-files. Did it.
>
> Firstly I encountered some error that it wasn’t able to find glib-2.0. Solved
> this problem changing some paths in the file
> “/pyclasswrappers/AssimCtypes.py” from “.../i386/…” to “…/x86_64/…” (See mail
> [Update] Compiling issue on ubuntu 12.04 and workaround)
>
>
> After that it missed the neo4j module. Installed neo4j – fine! Maybe you
> should add this to you dependencies list.
Yeah... I added the neo4j code since the time I wrote that email. But
if you're running the current cma.py (formerly newcma.py) you'll need a
couple of other modules as well. py2neo, neo4j, and there are some
things py2neo needs - tornado maybe?
Thanks for pressing on!
--
Alan Robertson <[email protected]> - @OSSAlanR
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/