SQL proof of concept (was SQL storage backends (was RE: [hobbit] Xymon 4.3.0:Beta version available on Sourceforge))
Hello all,
Just wanted to send off a copy of the proof-of-concept SQL hobbitd_channel storage script we've been using. It could certainly be more useful, but we just wanted to test some of ramifications of keeping status reports like this. Any feedback would be appreciated.
Regards, Japheth Cleaver
To use, add lines in hobbitlaunch.cfg like so: ======== snip =========
Experiemental SQL storage
[bbsqlstatus] ENVFILE /etc/hobbit/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/sqlstatus.log SOMEPATH/hobbitd_sqlstore ======= snip ==========
(Note, I'm using a packagized version of hobbit, so your paths may vary.)
Hi:)
I have a strange issue with bb-omsa-raid.sh script running on a Ubuntu on a Dell machine.
One of my coleagues upgraded OMSA from 5.4 to 5.5. After that the script bb-omsa-raid.sh running in xymon server started to not show data.
I google it and I couldn't find any error reported yet.
It look like bb-omsa-raid.sh after running /usr/bin/omreport is getting no data or in a wrong format. In xymon at Raid there is no data.
For Ubuntu, OMSA is not supported by Dell, is re-packed by a dutch guy..
Do you have any ideea how to solve it?
Thank you:)
Gabi
Hi !!
I upgraded OMSA too and ran into some troubles. The main problem is that the ouptut is now displayed on three lines (2 only before). You should modify your script to take this into account. For your information, I only change the following line (143) :
sudo /usr/sbin/omreport storage controller -fmt ssv
| grep -v "Controller" | grep -v "^$" > ${RAID_CONTROLLERS}
to
sudo /usr/sbin/omreport storage controller -fmt ssv | grep -v "Controller"
| grep -v "^$" | sed -e :a -e '$!N;s/\n;/;/;ta' -e 'P;D' >
${RAID_CONTROLLERS}
Then it should work again !! Cheers,
ThomaS
Gabriel Petrescu a écrit :
Hi:)
I have a strange issue with bb-omsa-raid.sh script running on a Ubuntu on a Dell machine.
One of my coleagues upgraded OMSA from 5.4 to 5.5. After that the script bb-omsa-raid.sh running in xymon server started to not show data.
I google it and I couldn't find any error reported yet.
It look like bb-omsa-raid.sh after running /usr/bin/omreport is getting no data or in a wrong format. In xymon at Raid there is no data.
For Ubuntu, OMSA is not supported by Dell, is re-packed by a dutch guy..
Do you have any ideea how to solve it?
Thank you:)
Gabi
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi!
I made this changes and now it works:)
Gabi
On Mon, Mar 9, 2009 at 12:45 PM, Thomas Séglard <tsg at bluekiwi-software.com> wrote:
Hi !!
I upgraded OMSA too and ran into some troubles. The main problem is that the ouptut is now displayed on three lines (2 only before). You should modify your script to take this into account. For your information, I only change the following line (143) :
sudo /usr/sbin/omreport storage controller -fmt ssv
| grep -v "Controller" | grep -v "^$" > ${RAID_CONTROLLERS}to
sudo /usr/sbin/omreport storage controller -fmt ssv | grep -v "Controller"
| grep -v "^$" | sed -e :a -e '$!N;s/\n;/;/;ta' -e 'P;D' > ${RAID_CONTROLLERS}Then it should work again !! Cheers,
ThomaS
Gabriel Petrescu a écrit :
Hi:)
I have a strange issue with bb-omsa-raid.sh script running on a Ubuntu on a Dell machine.
One of my coleagues upgraded OMSA from 5.4 to 5.5. After that the script bb-omsa-raid.sh running in xymon server started to not show data.
I google it and I couldn't find any error reported yet.
It look like bb-omsa-raid.sh after running /usr/bin/omreport is getting no data or in a wrong format. In xymon at Raid there is no data.
For Ubuntu, OMSA is not supported by Dell, is re-packed by a dutch guy..
Do you have any ideea how to solve it?
Thank you:)
Gabi
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
gabrielescu@gmail.com
-
jcleaver@soe.sony.com
-
tsg@bluekiwi-software.com