[icinga-users] icinga ido2db and nagvis
Alexzander O. Shevchenko
thunder at key.ru
Tue Sep 8 14:06:40 CEST 2009
Michael Friedrich ?????:
> John.Greenhalgh at ses.com <mailto:John.Greenhalgh at ses.com> wrote the
> following on 08.09.2009 13:50:
>> I have the same problem. I used -i ndo2db working fine with Icinga
>> 0.8.2 and PHP5.3 on RHEL4
> If ndo2db was found correctly, it would have been installed somwhere
> on your system.
> Looking at the install.sh Code you may see that the check is hardcoded
> to the binary - which is not that good.
> echo $NAGVIS_BACKEND | grep -i "NDO2DB" >/dev/null
> if [ $? -eq 0 ]; then
> # Check NDO
> [ -z "$NDO_MOD"
> NDO=`$NDO_MOD --version 2>/dev/null | grep -i "^NDO2DB"`
> # maybe somebody removed version information
> if [ -z "$NDO" ]; then
> NDO=`$NDO_MOD --version 2>/dev/null | grep -i
> [ -z "$NDO" ]&&NDO_MOD="NDO Module ndo2db"
> log " $NDO_MOD (ndo2db)" $NDO
> If you change the backend definition to
> # backends to use
> and add a new backend search with ido2db, it should run fine. Either
> way, please report this to the NagVis Coders then they can supply a
> patch for the problem. I don't think this relays on different Icinga
> versions, it's simply the hardcoded binary name.
another way is to make symlink to ido2db as ndo2db ;)
WBR, ????????? ?. ????????,
?? "???", ?????-?????????, ????? ??, ??????? 7, thunder at key.ru
jabberto: shevchenko.alexander at jabber.key | icqto: 8083456
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the icinga-users