monitoring a 32bit linux host
Posted: Tue Jul 01, 2014 8:40 am
hi all,
I've run into an issue I'm not sure whether or not it should be posted here. But since most of my work up to this point was done on the command line, it rules out Xi IMHO.
The issue is this:
A customer requested 3 new linux servers to be monitored, 2 of them running 64 bit Centos 6.5 and 1 running 32 bit RHEL5. The application on it can not handle 64bit architecture in case anyone asks.
I managed to to get the first 2 running using NRPE.
We could not find any well documented 32bit version of NRPE, so we decided to use SSH (also because one of my colleagues had walked that road before)
To make a long story short: We almost have it working, exchanged rsa keys between nagios and host, copied the plugins to /usr/local/nagios/libexec etc. etc.. But I seem to need a 32bit version of the scripts/plugins.
output:
According to google resources that means that I'm trying to run 64 bit scripts on a 32 bit OS.
I'm sure that's correct, but I can't find any....
Thanks in advance.
Michiel
I've run into an issue I'm not sure whether or not it should be posted here. But since most of my work up to this point was done on the command line, it rules out Xi IMHO.
The issue is this:
A customer requested 3 new linux servers to be monitored, 2 of them running 64 bit Centos 6.5 and 1 running 32 bit RHEL5. The application on it can not handle 64bit architecture in case anyone asks.
I managed to to get the first 2 running using NRPE.
We could not find any well documented 32bit version of NRPE, so we decided to use SSH (also because one of my colleagues had walked that road before)
To make a long story short: We almost have it working, exchanged rsa keys between nagios and host, copied the plugins to /usr/local/nagios/libexec etc. etc.. But I seem to need a 32bit version of the scripts/plugins.
Code: Select all
[root@nagios01 ~]# /usr/local/nagios/libexec/check_by_ssh -H <ipaddress> -C "/usr/local/nagios/libexec/check_load -w 5,5,5 -c 10,10,10"Code: Select all
Remote command execution failed: bash: /usr/local/nagios/libexec/check_load: cannot execute binary fileI'm sure that's correct, but I can't find any....
Thanks in advance.
Michiel