nsclient & nrpe configuration file changes
Re: nsclient & nrpe configuration file changes
same error
enterpriseenterpriseserver5.7 is not currently supported. Please use Red Hat or CentOS versions 5 or 6.
is it 5.7 not supported by nagiosxi?
if yes ...then i must say nagios has limitation..
enterpriseenterpriseserver5.7 is not currently supported. Please use Red Hat or CentOS versions 5 or 6.
is it 5.7 not supported by nagiosxi?
if yes ...then i must say nagios has limitation..
Re: nsclient & nrpe configuration file changes
Can you post the output from:
Also, can you post some of the actual log output from the installer so we can get a better idea as to where it's failing?
Code: Select all
cat /etc/redhat-releaseRe: nsclient & nrpe configuration file changes
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
i think same server being monitored under nagioscore ?
did you check is this possible under nagioscore ?
below is out of of /etc/xinete.d/nrpe
default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = nagioscoreip nagiosxiip
can you pls. check it out this because i want to monitor 50 servers of 5.7 version & we have bought nagiosxi license.
let me know possibilities.
i think same server being monitored under nagioscore ?
did you check is this possible under nagioscore ?
below is out of of /etc/xinete.d/nrpe
default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = nagioscoreip nagiosxiip
can you pls. check it out this because i want to monitor 50 servers of 5.7 version & we have bought nagiosxi license.
let me know possibilities.
Re: nsclient & nrpe configuration file changes
RHEL 5.7 is supported, but it seems something went wrong in the OS detection code. As a temporary workaround since you already indicated the type of system you're running on, try running the following commands:
Then delete line 4 in the fullinstall file (it should say './init.sh') and run the installer again.
Code: Select all
# cd linux-nrpe-agent/
# ./init.sh
# ./xivar distro RedHatEnterpriseLinux
# ./xivar dist el5
# ./xivar version 5.7
# ./xivar ver 5
# ./xivar architecture `uname -m`
# [ `uname -m` = i686 ] && ./xivar arch i386Re: nsclient & nrpe configuration file changes
Also, it would help us fix this error in the future if you could post the output of this command:
Code: Select all
lsb_release -aRe: nsclient & nrpe configuration file changes
perfomed given steps still below error persist
is not currently supported. Please use Red Hat or CentOS versions 5 or 6.
# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64 :graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:prin ting-4.0-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.7 (Carthage)
Release: 5.7
Codename: Carthage
is not currently supported. Please use Red Hat or CentOS versions 5 or 6.
# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64 :graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:prin ting-4.0-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.7 (Carthage)
Release: 5.7
Codename: Carthage
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nsclient & nrpe configuration file changes
Ok, looks like you have Oracle Linux, not Redhat or CentOS...
You may want to try our static agent
http://library.nagios.com/library/produ ... inux-agent
You may want to try our static agent
http://library.nagios.com/library/produ ... inux-agent
Re: nsclient & nrpe configuration file changes
yes. i have oracle linux.
when i run binary below error persist
/Linux_Static_Agent.tar.gz.sh: line 61: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 62: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 65: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 66: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 61: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 62: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 65: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 66: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 61: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 62: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 65: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 66: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 61: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 62: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 65: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 66: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 75: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 76: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 79: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 80: EOF: command not found
Starting nrpe:
is there any way out, how can i monitor my oracle linux box ?
using SNMP can i do so ?
when i run binary below error persist
/Linux_Static_Agent.tar.gz.sh: line 61: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 62: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 65: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 66: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 61: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 62: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 65: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 66: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 61: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 62: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 65: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 66: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 61: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 62: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 65: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 66: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 75: How: command not found
./Linux_Static_Agent.tar.gz.sh: line 76: EOF: command not found
./Linux_Static_Agent.tar.gz.sh: line 79: Provided: command not found
./Linux_Static_Agent.tar.gz.sh: line 80: EOF: command not found
Starting nrpe:
is there any way out, how can i monitor my oracle linux box ?
using SNMP can i do so ?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nsclient & nrpe configuration file changes
This would probably be easiest, and we have a general Linux SNMP wizard you can uselntinfo wrote:yes. i have oracle linux.
.....
is there any way out, how can i monitor my oracle linux box ?
using SNMP can i do so ?
http://exchange.nagios.org/directory/Ad ... rd/details
Add it to your XI system by going to Admin -> Manage Config Wizards
Re: nsclient & nrpe configuration file changes
trying monitor oracle linux using snmp followed steps below error persist:-
./check_snmp_storage.pl -H 172.28.16.55 -C public -m "^/$" -w 2 -c 4
-bash: ./check_snmp_storage.pl: Permission denied
./check_snmp_storage.pl -H 172.28.16.55 -C public -m "^/$" -w 2 -c 4
-bash: ./check_snmp_storage.pl: Permission denied