[Fwd: Re: SAP CCMS nagio plugin configuration]

PiCo pico at cocco.biz
Wed May 7 11:30:29 MET DST 2008


also for me the command:

# ldd check_sap_cons
        linux-gate.so.1 =>  (0xffffe000)
        sap_moni.so => /usr/lib/sap_moni.so (0x40020000)
        libdl.so.2 => /lib/libdl.so.2 (0x401dd000)
        libm.so.6 => /lib/tls/libm.so.6 (0x401e0000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40202000)
        /lib/ld-linux.so.2 (0x40000000)


give me no error.
So the problem seems to be in the 2 main configuration files (agent.cfg and login.cfg)

can somebody gime an example of this files (mainly the agent.cfg) ??

regards


> Just one questions:
> 
> how I have to configure the ccms-plugin in order to work properly ??
> 
> I have unzipped the ccms-plugin
> then I have followed the README file... so
> 
> cd /../sap-ccms-plugin/src
> make
> and then I have copied the exe file
> 
> check_sap
> check_sap_multiple
> check_sap_multiple_no_thr
> check_sap_system
> check_sap_instance
> 
> into the /usr/local/nagios/libexec  directory
> 
> then i copied the sap_moni.so library into from 
> /sap-ccms-plugin/src/sap_moni/ to folder  /usr/lib

this looks fine.

> 
> but what about the rest of folder /sap-ccms-plugin/src/sap_moni  ???

everything in sap_moni is bundled in the sap_moni.so and the plugins
link to this shared object:

# ldd check_sap_cons
        linux-gate.so.1 =>  (0xffffe000)
        sap_moni.so => /usr/lib/sap_moni.so (0x40020000)
        libdl.so.2 => /lib/libdl.so.2 (0x401dd000)
        libm.so.6 => /lib/tls/libm.so.6 (0x401e0000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40202000)
        /lib/ld-linux.so.2 (0x40000000)


everything is fine until there is some "not found" in the output.

Matthias



-- 
                                               ,,,
                                             /'^'\
                                            ( o o )
----------------------------------------oOOO--(_)--OOOo------
      Pierfrancesco Cocco
      EMail: pico at cocco.biz
      Web: www.cocco.biz
      SkypeID: cocco.biz
      Tel.: +39 335 1234 475
      Fax.: +39 06 233 2401 88           .oooO
                                         (   )   Oooo.
------------------------------------------\ (----(   )-------
                                           \_)    ) /
                                                 (_/



More information about the linux.general mailing list