[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bigsister-general] re: Bbscript question


I was able to get the openmanage script to work using a different
method.  Instead of bbscript, I used command.

The line in uxmon-net looks like this (all one line):

localhost	exec="/bigsis/openmanage.cmd" time=120
results=green:green:Ok;yellow:yellow:Warning;timeout:red:ERROR;red:red:E
RROR command

(I think the red:red:ERROR should be something else, maybe *:red:Error.)

I also had to change the openmanage script slightly.  Once the script
created the report/output file, I changed it to "type" file, which
directed it to stdin for command to send it to uxmon.  The other change
was to have the  openmanage script delete the report/output file.

The bin/bbecho command is not present in the MSI distribution.  I looked
at other bigbrother (unix) scripts where the file is output using $bb
$bbdisp etc, but the $bb environment variable resolves to bin/bbecho. 

I'm starting a migration from bigbrother to bigsister and this was
almost a show-stopper for us.  We have become dependent on the openmange
monitor script for our servers, especially for the servers at remote
locations.  (Now to work on alarm notifications <G>.)



-----Original Message-----
From: suppressed
[mailto:suppressed On Behalf Of Rob
Terhaar
Sent: Tuesday, December 13, 2005 6:43 PM
To: suppressed
Subject: [Bigsister-general] re: Bbscript question

>From: david d <suppressed> 
>I have a big brother script that I'm attempting to run in big sister
>(the openmanage NT script from www.deadcat.net.)  It appears that the
>script is being run by the agent, but the created file and status is
not
>getting sent to the big sister display server.  Where does the output
>file need to be located in order to be picked up by the agent?
>
>I'm using the 1.00.1.2 Windows agent on a Windows 2003 server.
>
>The uxmon-net line is:  localhost	file="c:/program
>files/bigsister/adm/openmanage/openmanage.cmd" bbscript
>
>Thanks in advance.

I  just recently started testing out bigsister and have the same
question! I wasn't able to figure out how to get any of the deadcat.net
scripts to run. I started out with the much simpler ping script- no
luck. Any gurus out there want to pitch in (and perhaps update the
documentation..) on how to use bbscripts?



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.