Hello,
I installed Solaris NRPE agent with following procedure
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
Then, i follow this procedure
http://linuxdrops.com/how-to-monitor-re ... gios-nrpe/
-After, when i launch a check_nrpre from nagios to Solaris, i receive this error :
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages
-When i check connection with "telnet SERVER 5666" from nagios, i receive this error :
ld.so.1: nrpe: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file /opt/nagios/bin/nrpe)
An solution for me ?
Error with Solaris NRPE agent
Re: Error with Solaris NRPE agent
You are missing a library which is most likely not available without an upgrade. What version of Solaris are you running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Error with Solaris NRPE agent
Hello,
uname -a
SunOS archive1 5.10 Generic_144489-17 i86pc i386 i86pc
cat /etc/release
Oracle Solaris 10 9/10 s10x_u9wos_14a X86
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010
An upgrade of Solaris is mandatory ?
uname -a
SunOS archive1 5.10 Generic_144489-17 i86pc i386 i86pc
cat /etc/release
Oracle Solaris 10 9/10 s10x_u9wos_14a X86
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010
An upgrade of Solaris is mandatory ?
Re: Error with Solaris NRPE agent
Well, not mandatory, but necessary for the agent. But I cannot guarantee that an upgrade will get you that library. My suggestion would be to use check_by_ssh instead:
http://assets.nagios.com/downloads/nagi ... ng_SSH.pdf
http://assets.nagios.com/downloads/nagi ... ng_SSH.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Error with Solaris NRPE agent
Ok,
Where can I download the check_by_ssh plugin ? because it doesn't exist on my Nagios server and i cannot found on Exchange Nagios Download site
I receive error (Return code of 127 is out of bounds - plugin may be missing)
Where can I download the check_by_ssh plugin ? because it doesn't exist on my Nagios server and i cannot found on Exchange Nagios Download site
I receive error (Return code of 127 is out of bounds - plugin may be missing)
Re: Error with Solaris NRPE agent
Hi,
I found nagios-plugins-1.3.0.tar.gz with check_by_ssh.c plugin inside
I upload to Nagios Server and launch a immediate check, now i receive "(null)" result error ?
I found nagios-plugins-1.3.0.tar.gz with check_by_ssh.c plugin inside
I upload to Nagios Server and launch a immediate check, now i receive "(null)" result error ?
Re: Error with Solaris NRPE agent
News... i successfully install check_by_ssh Executable.
I try the command :
/usr/local/nagios/libexec/check_by_ssh -i /home/nagios/.ssh/id_rsa -H IPADRESS -C "/usr/local/nagios/libexec/check_disk -w 20% -c 10%"
I have same error of NRPE
Remote command execution failed: ld.so.1: check_disk: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file /opt/nagios/libexec/check_disk)
I try the command :
/usr/local/nagios/libexec/check_by_ssh -i /home/nagios/.ssh/id_rsa -H IPADRESS -C "/usr/local/nagios/libexec/check_disk -w 20% -c 10%"
I have same error of NRPE
Remote command execution failed: ld.so.1: check_disk: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file /opt/nagios/libexec/check_disk)
Re: Error with Solaris NRPE agent
Looks like the plugins on the solaris box needs to be recompiled, or you need to hunt down a different package for nagios-plugins on the solaris box. Many people use the packages from:
http://www.opencsw.org/
http://www.opencsw.org/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Error with Solaris NRPE agent
Ok now,
-I copy check plugin on Solaris, recompiled from last Nagios Plugin TAR
-After, I use the command but I receive "host key failed verification"
Solution => add no-FQDN name to Solaris Server in Know host, with "ssh SERVERNAME" command.
Now, all it's ok
Thanks
-I copy check plugin on Solaris, recompiled from last Nagios Plugin TAR
-After, I use the command but I receive "host key failed verification"
Solution => add no-FQDN name to Solaris Server in Know host, with "ssh SERVERNAME" command.
Now, all it's ok
Thanks