[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Snmp with devmon
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Snmp with devmon
- From: "Geoff Hallford" <geoff.hallford (at) gmail.com>
- Date: Fri, 12 Sep 2008 23:54:17 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=FLadUEwETY4PiLvHmZvQTF7a9zK4QpGPAqht+FJ+prA=; b=AoBgVqTNnPX52AOIag5hrSBL9pdmoyHf/nW7gD+G8T1YHtH9w0XjKr5wp5bKNkq5Bn +VQkWlbpjc7SjFv7/3I2OnVQtB++TvoR33HcUOo3piZPO6uOTwZTNWM0/bRNiKbWqanw CF4lshVA7XNCxC4hl+3ghwDmm+IVtJ7rXbk90=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=KjajEPqPQaC78mENZzjjuFO0yhBhJ50brMsEQY6jTBkVNX+JqrFUz1JSMgWnnql0VK QpzCd5DN2hW+4c8U7SQfbYuduUu+dwYPFsaOG2L1t2tlSy1fv5FtwmLE2aZX4EA9JGgM GIA27dbaHjN6tRGc3tHkgBb+YGqx02VwTHGXo=
- References: <BAC1D28A5AB852439A6914CA7AB4E63F065E1C63 (at) permls05.wde.woodside.com.au> <200809120833.44047.bgmilne (at) staff.telkomsa.net>
Yes, I believe you are correct that it is not started. Use the init script
or just run the devmon executable and it should spawn some daemons. The
--readbbhosts just imports the configs from bbhosts but doesn't actually run
the tests and send the results.
'Nobody goes there anymore. It's too crowded.' --Yogi Berra
On Fri, Sep 12, 2008 at 2:33 AM, Buchan Milne <bgmilne (at) staff.telkomsa.net>wrote:
> On Friday 12 September 2008 05:57:32 Everett, Vernon wrote:
> > Hi all
> >
> > Is there a document, web site or mailing list with more assistance for
> > Devmon?
>
> The devmon mailing lists are available from the sourceforge page.
>
> > Currently I am getting rather frustrated with it.
> > The instructions
>
> Which "instructions"? Devmon ships with an INSTALLATION file, and a USING
> file. I really can't see what is missing in the documentation, and unless
> you're more specific about which documentation you followed, I can't
> improve
> it.
>
> > are something along the lines of
> > 1. Install like so
> > 2. ???
> > 3. Results.
> >
> > I need a little more help with step 2.
> > Even though I have followed step 1. to the letter and am getting
> > something that looks sane in the devmon hosts.db, I am still getting no
> > results in hobbit.
> > Nothing in the logs either :-(
> >
> > Does devmon have a debug mode to force it to log?
>
> I assume you've run --help, which lists:
>
> Usage: devmon [arguments]
>
> Arguments:
> -c Specify config file location
> -d Specify database file location
> -f Run in foreground. Prevents running in daemon mode.
> -p Print message. Don't send message to display server.
> print it to stdout
> -v Verbose mode. The more v's, the more vebose logging.
> --debug Print debug output (this can be quite extensive).
>
> Mutually exclusive arguments:
> --readbbhosts Read in data from the BigBrother/Hobbit hosts file
> --syncconfig Update multinode DB with the global config options
> configured on this local node.
> --synctemplates Update multinode device templates with the template
> data on this local node.
> --resetowners Reset multinode device ownership data. This will
> cause all nodes to recalculate ownership data.
>
>
> >
> > In the bb-hosts file, I have this.
> > 11.22.33.44 filer # netapp COMMENT:"Netapp01"
> > DEVMON:tests(if_load,status,netapptemp),cid(Secret)
> >
> > In he hosts.db I get this
> > filer 11.22.33.44 Network Appliances NetApp
> > v1.0 if_load,status,netapptemp Secret
> >
> > Crontab -l
> > */5 * * * * /usr/local/devmon/devmon --readbbhosts
>
> I don't use this myself, and running it every 5 minutes is a bit excessive.
> I
> assume you are aware that this does *nothing* besides update the hosts.db
> file, it doesn't actually poll any devices.
>
> >
> > My devmon.cfg looks like this
> > MULTINODE=NO
> > BBHOSTS=/etc/hobbit/bb-hosts
> > BBTAG=DEVMON
> > SNMPCIDS=public,private,Secret
> > NODENAME=HOSTNAME
> > PIDFILE=/var/run/devmon/devmon.pid
>
> Is this file writable by the user that runs devmon?
>
> > LOGFILE=/var/log/hobbit/devmon.log
>
> Same question here.
>
> > DBHOST=1.2.3.4
> > DBNAME=devmon
> > DBUSER=devmon
> > DBPASS=devmon
> > BBTYPE=hobbit
> > DISPSERV=localhost
> > DISPPORT=1984
> > MSGSIZE=8096
> > MSGSLEEP=10
> > CYCLETIME=60
> > DEADTIME=180
> > CLEARTIME=180
> > NUMFORKS=10
> > MAXPOLLTIME=30
> > SNMPTIMEOUT=2
> > SNMPTRIES=5
> >
> > But still nothing in Hobbit.
> >
> > What now?
>
> Did you actually *start* devmon?
>
> A sample init script is provided in the extras directory. This is covered
> in
> points 6 and 7 of the INSTALLATION file ...
>
>
> Regards,
> Buchan
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>