Re: Return code of 13 is out of bounds
Posted: Wed Oct 28, 2015 5:57 pm
Hi All
I was testing nagios 4.1.1 on centos 6.7 and I ran into same "return code of 13...." message.
Just want to make a note here on how I fix it, for my case.
The issue was /etc/nagios/objcets/*.cfg file were messed up since I copy 3.5.1 objects/*.cfg on top of the ones come with 4.1.1 rpm.
I had add the customized objects/*.cfg file lines into the new objects/*.cfg file.
here is how I create my own rpm.
git clone https://github.com/NagiosEnterprises/nagioscore.gitt
cd nagioscore;./configure;cd contrib;make rpm
remove existing nagios-3.5.1
rpm -ivh nagios-4.1.1-2.el6.x86_64.rpm
I was testing nagios 4.1.1 on centos 6.7 and I ran into same "return code of 13...." message.
Just want to make a note here on how I fix it, for my case.
The issue was /etc/nagios/objcets/*.cfg file were messed up since I copy 3.5.1 objects/*.cfg on top of the ones come with 4.1.1 rpm.
I had add the customized objects/*.cfg file lines into the new objects/*.cfg file.
here is how I create my own rpm.
git clone https://github.com/NagiosEnterprises/nagioscore.gitt
cd nagioscore;./configure;cd contrib;make rpm
remove existing nagios-3.5.1
rpm -ivh nagios-4.1.1-2.el6.x86_64.rpm