bb-xsnmp.pl
list David Garaway
I am trying to get bb-xsnmp installed and not having much luck. I was running this before with BB. Im usning the bb-xsnmp i downloaded from Deadcat and put the script in /home/hobbit/server/ext and created a /home/hobbit/server/etc/bb-xsnmptab added the script to hobbitlaunch.cfg.
[bbxsnmp]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD $BBHOME/ext/bb-xsnmp.pl
LOGFILE /var/log/hobbit/bb-xsnmp.log
INTERVAL 1m
when I execute the script manually it works without errors. When I start hobbit it creates the log file but nothing is in it. When I change the value in the bb-xsnmp.pl script
"our $is_commandline = 0" to "our $is_commandline = 1"
and tail the log file it spits the correct data out. But nothing is displayed on the page.
any suggestions,
Dave
list Rich Smrcina
Is there a concise way to monitor Hobbit clients with SNMP? I would like to do something similar to the Big Brother clients, that monitor processes, CPU, disk utilization, etc. I've looked at deadcat, but nothing really jumps out as real useful. Thanks. -- Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (XXX)XXX-XXXX Ans Service: (866)569-7378 user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2005 - Colorado Springs - May 20-24, 2005
list Daniel J McDonald
▸
On Mon, 2005-03-28 at 11:34 -0600, Rich Smrcina wrote:
Is there a concise way to monitor Hobbit clients with SNMP? I would like to do something similar to the Big Brother clients, that monitor processes, CPU, disk utilization, etc. I've looked at deadcat, but nothing really jumps out as real useful.
I wrote some mrtg templates that work fairly well with bbmrtg.pl and hobbit. I haven't played with them lately, but it should pick up cpu and disk ok. Poke around http://www.austinnetworkdesign.com/mrtg/ and see what looks reasonable.
list Pnixon
Hey all,
I'm trying to debug whether or not an external script is launching. If I
run it by hand, it works perfectly.
I've checked all the log files in /var/log/hobbit and there's nothing
apparent from them it's working.
I'm assuming it runs once when it starts and then in 5m intervals
(according to hobbitlaunch.cfg).
here's my snippet from hobbitlaunch
[xsnmp]
ENVFILE /bb/hms/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD /bb/hms/server/ext/bb-xsnmp.pl
LOGFILE $BBSERVERLOGS/bb-xsnmp.log
INTERVAL 5m
list Richard Deal
What do you have in the bb-xsnmp.log file? Do you have a bb-xsnmptab file in /bb/hms/server/etc ? I assume this is running on the hobbitd server since you have "NEEDS hobbitd"
▸
-----Original Message----- From: user-c102b8958c7a@xymon.invalid [mailto:user-c102b8958c7a@xymon.invalid] Sent: Thursday, November 17, 2005 2:48 PM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] bb-xsnmp.pl Hey all, I'm trying to debug whether or not an external script is launching.
If I
run it by hand, it works perfectly.
I've checked all the log files in /var/log/hobbit and there's nothing
apparent from them it's working.
I'm assuming it runs once when it starts and then in 5m intervals
(according to hobbitlaunch.cfg).
here's my snippet from hobbitlaunch
[xsnmp]
ENVFILE /bb/hms/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD /bb/hms/server/ext/bb-xsnmp.pl
LOGFILE $BBSERVERLOGS/bb-xsnmp.log
INTERVAL 5m
list Asif Iqbal
▸
On Thu, Nov 17, 2005 at 02:47:34PM, user-c102b8958c7a@xymon.invalid wrote:
Hey all, I'm trying to debug whether or not an external script is launching. If I run it by hand, it works perfectly.
Did you mean you ran it like this as user 'hobbit' (assuming that is the user you picked for your hobbit installation) /bb/hms/server/bin/bbcmd /bb/hms/server/ext/bb-xsnmp.pl And it worked fine?
▸
I've checked all the log files in /var/log/hobbit and there's nothing
apparent from them it's working.
I'm assuming it runs once when it starts and then in 5m intervals
(according to hobbitlaunch.cfg).
here's my snippet from hobbitlaunch
[xsnmp]
ENVFILE /bb/hms/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD /bb/hms/server/ext/bb-xsnmp.pl
LOGFILE $BBSERVERLOGS/bb-xsnmp.log
INTERVAL 5m
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
to be in the first group;...less competition there." - Indira Gandhi
list Pnixon
I actually figured it out. I ran 'bbcmd sh' to get into the hobbit environment and then manually executed the script. I had the machine name as localhost in the bb-xsnmptab, but it was expecting the machine name, so I just changed that. --Pat
▸
-----Original Message-----
From: Deal, Richard [mailto:user-f6f804cb0a50@xymon.invalid]
Sent: Thursday, November 17, 2005 5:10 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-xsnmp.pl
What do you have in the bb-xsnmp.log file?
Do you have a bb-xsnmptab file in /bb/hms/server/etc ?
I assume this is running on the hobbitd server since you have
"NEEDS hobbitd"
-----Original Message----- From: user-c102b8958c7a@xymon.invalid [mailto:user-c102b8958c7a@xymon.invalid] Sent: Thursday, November 17, 2005 2:48 PM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] bb-xsnmp.pl Hey all, I'm trying to debug whether or not an external script is launching.
If I
run it by hand, it works perfectly.
I've checked all the log files in /var/log/hobbit and there's nothing
apparent from them it's working.
I'm assuming it runs once when it starts and then in 5m intervals
(according to hobbitlaunch.cfg).
here's my snippet from hobbitlaunch
[xsnmp]
ENVFILE /bb/hms/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD /bb/hms/server/ext/bb-xsnmp.pl
LOGFILE $BBSERVERLOGS/bb-xsnmp.log
INTERVAL 5m