Hi,
I would like to have an examle of the snmp configuration file: hobbit-snmphosts.cfg-- Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
On Fri, Mar 07, 2008 at 06:30:53AM +0100, Lars Ebeling wrote:
I would like to have an examle of the snmp configuration file: hobbit-snmphosts.cfg--
Here's one:
[osiris.hswn.dk] version=2c community=public ip=172.16.10.100 ifmib={172.16.10.100}
ifmib={*}
hrsystem
hrstorage=(Real Memory)
hrstorage=(Swap Space)
hrstorage=(/)
hrstorage=(/work)
hrtask=<*>
To understand how it works, you need to look at the hobbit-snmpmibs.cfg file also. In this file you'll find an [ifmib] section that begins with
[ifmib] keyidx (IF-MIB::ifDescr) keyidx [IF-MIB::ifPhysAddress] keyidx <IF-MIB::ifName> validx {IP-MIB::ipAdEntIfIndex} ifDescr = IF-MIB::ifDescr
Note the different kind of parentheses / brackets ? What these do is they act like an index into the list of network interfaces. So the line "ifmib={172.16.10.100}" means "grab the ifmib data for the network interface whose {IP-MIB::ipAdEntIfIndex} (IP-address) is 172.16.10.100.
If you wanted the statistics from the "eth0" net-interface, you would use "ifmib=(eth0)".
The line that just read "hrsystem" has no index, because this data
- part of the Host Ressources MIB - only has one entry globally (e.g. there is only one count of how many users are logged on).
The "hrtask=<*>" of course means to fetch information about all of the tasks running on the system.
Regards, Henrik
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Friday, March 07, 2008 7:34 AM Subject: Re: [hobbit] snmp
On Fri, Mar 07, 2008 at 06:30:53AM +0100, Lars Ebeling wrote:
I would like to have an examle of the snmp configuration file: hobbit-snmphosts.cfg--
Thanks, now next question, What does hobbit_snmpcollect.cfg look like?
-- Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
On Fri, Mar 07, 2008 at 06:30:53AM +0100, Lars Ebeling wrote:
I would like to have an examle of the snmp configuration file: hobbit-snmphosts.cfg--
Thanks, now next question, What does hobbit_snmpcollect.cfg look like?
--
Is this the same as hobbit-snmphosts.cfg ?
Lars
On Fri, Mar 07, 2008 at 01:25:05PM +0100, Lars Ebeling wrote:
On Fri, Mar 07, 2008 at 06:30:53AM +0100, Lars Ebeling wrote:
I would like to have an examle of the snmp configuration file: hobbit-snmphosts.cfg--
Thanks, now next question, What does hobbit_snmpcollect.cfg look like?
There's no such file. Might have been in some of the early versions, but not now.
Henrik
Im installing the hobbit linux client on some Suse 10.1 test machines. I just tarred up the client directory from hobbit server and installed it to /home/hobbit/client on the target machines
If I try to start the client using ./runclient.sh start as user hobbit or root, I get the following error:
./runclient.sh: line 83: /home/hobbit/client/bin/hobbitlaunch: cannot execute binary file
Permissions on hobbitlaunch are fine, any ideas?
Thanks all,
On Fri, Mar 7, 2008 at 10:24 PM, Taylor Lewick <tlewick at tradebotsystems.com> wrote:
Im installing the hobbit linux client on some Suse 10.1 test machines. I just tarred up the client directory from hobbit server and installed it to /home/hobbit/client on the target machines
If I try to start the client using ./runclient.sh start as user hobbit or root, I get the following error:
./runclient.sh: line 83: /home/hobbit/client/bin/hobbitlaunch: cannot execute binary file
Permissions on hobbitlaunch are fine, any ideas?
You've mounted /home with the noexec option.
-- Please keep list traffic on the list.
Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Friday, March 07, 2008 10:44 PM Subject: Re: [hobbit] snmp
There's no such file. Might have been in some of the early versions, but not now.
From hobbitlaunch.log
$ cat hobbitlaunch.log 2008-03-08 08:44:32 hobbitlaunch starting 2008-03-08 08:44:32 Loading tasklist configuration from /home/hobbit/server/etc/ hobbitlaunch.cfg 2008-03-08 08:44:32 Loading hostnames 2008-03-08 08:44:32 Loading saved state 2008-03-08 08:44:32 Setting up network listener on 0.0.0.0:1984 2008-03-08 08:44:32 Setting up local listener 2008-03-08 08:44:33 Setting up signal handlers 2008-03-08 08:44:33 Setting up hobbitd channels 2008-03-08 08:44:33 Setting up logfiles 2008-03-08 08:44:34 Cannot open configuration files /home/hobbit/server/etc/hobbit_snmpcollect.cfg
I am running snapshot from 6th March
Lars
On Sat, Mar 08, 2008 at 08:52:12AM +0100, Lars Ebeling wrote:
There's no such file. Might have been in some of the early versions, but not now.
2008-03-08 08:44:33 Setting up hobbitd channels 2008-03-08 08:44:33 Setting up logfiles 2008-03-08 08:44:34 Cannot open configuration files /home/hobbit/server/etc/hobbit_snmpcollect.cfg
I am running snapshot from 6th March
Must be a reference from your hobbitlaunch.cfg file.
Henrik
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Saturday, March 08, 2008 4:40 PM Subject: Re: [hobbit] snmp
Must be a reference from your hobbitlaunch.cfg file.
Sorry to bothered you, but of course you are right.
-- Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (4)
-
henrik@hswn.dk
-
lars.ebeling@leopg9.no-ip.org
-
rob.macgregor@gmail.com
-
tlewick@tradebotsystems.com