Page 1 of 1

Solaris 11 agent

Posted: Thu Jul 11, 2019 10:07 am
by hqin
I wonder where I can find latest Nagios agent for Solaris 11. I got one from http://assets.nagios.com/downloads/nagiosxi/agents/. But when I extracted the tarball and run fullinstall command, I got the following error

Code: Select all

 ./fullinstall
=================================
Nagios XI Solaris Agent Installer
=================================

This script will do a complete install of the Nagios XI
Solaris agent by executing all necessary sub-scripts.

IMPORTANT: This script should only be used on a Solaris
           system.  Do NOT use this on a system running
               any other operating system.

./fullinstall[18]: /usr/ucb/echo: not found [No such file or directory]

~/solaris-nrpe-agent# which echo
/usr/bin/echo

~/solaris-nrpe-agent# cat /etc/release

Code: Select all

                      Oracle Solaris 11.3 X86
  Copyright (c) 1983, 2017, Oracle and/or its affiliates.  All rights reserved.
                            Assembled 05 October 2017

So I manully modified fullinstall script and changed /usr/bin/echo to echo but got another error

Code: Select all

Proceeding with installation...
This platform () is not currently supported.
From the script fullinstall, I can see the following part which means only Solaris 10 is supported.

Code: Select all

case "$platform" in
        "sol10")
                case "$arch" in
                        i386|sparc)
                                : do nothing
                                ;;
                        *)
                                echo "This architecture ($arch) is not currently supported." >&2
                                exit 1
                esac
                ;;
        * )
                echo "This platform ($platform) is not currently supported." >&2
                exit 1
esac
Please let me know if there is any agent for Solaris 11

Thanks

Re: Solaris 11 agent

Posted: Thu Jul 11, 2019 11:21 am
by benjaminsmith
Hello @hqin,

Try following the instructions for compiling NRPE on Solaris 11 from this page, and let me know if you have any issues.

NRPE - How To Install NRPE v3 From Source

Thanks.

Re: Solaris 11 agent

Posted: Fri Jul 12, 2019 9:37 am
by hqin
benjaminsmith wrote:Hello @hqin,

Try following the instructions for compiling NRPE on Solaris 11 from this page, and let me know if you have any issues.

NRPE - How To Install NRPE v3 From Source

Thanks.
Thank you very much for your help. Now I successfully installed Nagios Agent on Solaris11 by following instructions.

Re: Solaris 11 agent

Posted: Fri Jul 12, 2019 10:01 am
by benjaminsmith
Hi @hqin,
Thank you very much for your help. Now I successfully installed Nagios Agent on Solaris11 by following instructions.
Great! Happy to hear that.

I'll go ahead and close this post, but if you have any new questions, feel free to open another.