<div dir="ltr">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.<br clear="all">
<br>'Nobody goes there anymore. It's too crowded.' --Yogi Berra<br>
<br><br><div class="gmail_quote">On Fri, Sep 12, 2008 at 2:33 AM, Buchan Milne <span dir="ltr"><<a href="mailto:bgmilne@staff.telkomsa.net">bgmilne@staff.telkomsa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Friday 12 September 2008 05:57:32 Everett, Vernon wrote:<br>
> Hi all<br>
><br>
> Is there a document, web site or mailing list with more assistance for<br>
> Devmon?<br>
<br>
</div>The devmon mailing lists are available from the sourceforge page.<br>
<div class="Ih2E3d"><br>
> Currently I am getting rather frustrated with it.<br>
> The instructions<br>
<br>
</div>Which "instructions"? Devmon ships with an INSTALLATION file, and a USING<br>
file. I really can't see what is missing in the documentation, and unless<br>
you're more specific about which documentation you followed, I can't improve<br>
it.<br>
<div class="Ih2E3d"><br>
> are something along the lines of<br>
> 1. Install like so<br>
> 2. ???<br>
> 3. Results.<br>
><br>
> I need a little more help with step 2.<br>
> Even though I have followed step 1. to the letter and am getting<br>
> something that looks sane in the devmon hosts.db, I am still getting no<br>
> results in hobbit.<br>
> Nothing in the logs either :-(<br>
><br>
> Does devmon have a debug mode to force it to log?<br>
<br>
</div>I assume you've run --help, which lists:<br>
<br>
Usage: devmon [arguments]<br>
<br>
  Arguments:<br>
   -c       Specify config file location<br>
   -d       Specify database file location<br>
   -f       Run in foreground.  Prevents running in daemon mode.<br>
   -p       Print message.  Don't send message to display server.<br>
            print it to stdout<br>
   -v       Verbose mode.  The more v's, the more vebose logging.<br>
   --debug  Print debug output (this can be quite extensive).<br>
<br>
  Mutually exclusive arguments:<br>
   --readbbhosts   Read in data from the BigBrother/Hobbit hosts file<br>
   --syncconfig    Update multinode DB with the global config options<br>
                   configured on this local node.<br>
   --synctemplates Update multinode device templates with the template<br>
                   data on this local node.<br>
   --resetowners   Reset multinode device ownership data.  This will<br>
                   cause all nodes to recalculate ownership data.<br>
<div class="Ih2E3d"><br>
<br>
><br>
> In the bb-hosts file, I have this.<br>
> <a href="http://11.22.33.44" target="_blank">11.22.33.44</a>  filer     # netapp COMMENT:"Netapp01"<br>
> DEVMON:tests(if_load,status,netapptemp),cid(Secret)<br>
><br>
> In he hosts.db I get this<br>
> filer <a href="http://11.22.33.44" target="_blank">11.22.33.44</a> Network Appliances NetApp<br>
> v1.0 if_load,status,netapptemp Secret<br>
><br>
> Crontab -l<br>
> */5 * * *  *    /usr/local/devmon/devmon --readbbhosts<br>
<br>
</div>I don't use this myself, and running it every 5 minutes is a bit excessive. I<br>
assume you are aware that this does *nothing* besides update the hosts.db<br>
file, it doesn't actually poll any devices.<br>
<div class="Ih2E3d"><br>
><br>
> My devmon.cfg looks like this<br>
> MULTINODE=NO<br>
> BBHOSTS=/etc/hobbit/bb-hosts<br>
> BBTAG=DEVMON<br>
> SNMPCIDS=public,private,Secret<br>
> NODENAME=HOSTNAME<br>
> PIDFILE=/var/run/devmon/devmon.pid<br>
<br>
</div>Is this file writable by the user that runs devmon?<br>
<div class="Ih2E3d"><br>
> LOGFILE=/var/log/hobbit/devmon.log<br>
<br>
</div>Same question here.<br>
<div class="Ih2E3d"><br>
> DBHOST=<a href="http://1.2.3.4" target="_blank">1.2.3.4</a><br>
> DBNAME=devmon<br>
> DBUSER=devmon<br>
> DBPASS=devmon<br>
> BBTYPE=hobbit<br>
> DISPSERV=localhost<br>
> DISPPORT=1984<br>
> MSGSIZE=8096<br>
> MSGSLEEP=10<br>
> CYCLETIME=60<br>
> DEADTIME=180<br>
> CLEARTIME=180<br>
> NUMFORKS=10<br>
> MAXPOLLTIME=30<br>
> SNMPTIMEOUT=2<br>
> SNMPTRIES=5<br>
><br>
> But still nothing in Hobbit.<br>
><br>
> What now?<br>
<br>
</div>Did you actually *start* devmon?<br>
<br>
A sample init script is provided in the extras directory. This is covered in<br>
points 6 and 7 of the INSTALLATION file ...<br>
<br>
<br>
Regards,<br>
<font color="#888888">Buchan<br>
</font><div><div></div><div class="Wj3C7c"><br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>