Page 1 of 1
NRDS update script problem
Posted: Mon Dec 16, 2013 4:28 pm
by nagarjuna
Hi Team,
we are getting following error in /var/log/httpd/error_log file of Nagios XI Server.
" api_version in /usr/local/nrdp/server/plugins/nrdsconfigupdate/nrdsconfigupdate.inc.php on line 269"
any resolution, please help me. so many systems showing which is configured with NRDS.....for passive checks
Re: NRDS update script problem
Posted: Mon Dec 16, 2013 4:58 pm
by scottwilkerson
Can you give us the whole error? This just seems like an error fragment...
Also, what version of NRDS component are you running?
Re: NRDS update script problem
Posted: Wed Dec 18, 2013 1:16 am
by nagarjuna
Hi Team,
We are using NRDS 1.2, We installed in almost 2000 systems NRDS agent for passive checks. We suddenly checked in http error log its showing following error in /var/log/httpd/error_log file of Nagios XI Server.
[Wed Dec 18 11:37:31 2013] [error] [client 182.18.173.40] PHP Notice: Undefined variable: api_version in /usr/local/nrdp/server/plugins/nrdsconfigupdate/nrdsconfigupdate.inc.php on line 269
Please check the attached nrdsconfigupdate.inc.php file.
Please find the attached file........due to php extention. it was not uploaded, text format is able to upload
Re: NRDS update script problem
Posted: Wed Dec 18, 2013 11:28 am
by lmiltchev
Can you try uploading the "nrdsconfigupdate.inc.php" file again (zip it up first)? Thanks!
Re: NRDS update script problem
Posted: Wed Dec 18, 2013 3:17 pm
by nagarjuna
Please check the attached nrdsconfigupdate.inc.php file.
Re: NRDS update script problem
Posted: Thu Dec 19, 2013 10:34 am
by slansing
That is just a php notice, and your updateconfig file looks stock to me, are you actually having an issue with updating your remote host configurations?
Re: NRDS update script problem
Posted: Thu Dec 19, 2013 1:55 pm
by nagarjuna
No, we dont have any issue with our client NRDS configuration files updatetion, whenever we changed in our NRDS config file on NagiosXI Server, automatically its reflected on all respective hosts machines, only this issue is coming in some of the hosts and showing in http error log file,
Re: NRDS update script problem
Posted: Thu Dec 19, 2013 5:57 pm
by slansing
We're going to look into why you might be getting this php notice, it is likely just a matching issue between config versions, did you perhaps copy one of the configuration files manually from one system to another?
Re: NRDS update script problem
Posted: Tue Dec 31, 2013 1:28 am
by nagarjuna
No i did not copy any configuration file from one to another host machine.
Manually we are login into client machine and run NRDS script.
Re: NRDS update script problem
Posted: Thu Jan 02, 2014 1:20 pm
by lmiltchev
I am able to recreate the issue on my test box. We will have to do some more testing - it is possible that this is a bug. It is not a php error, it's just a notice, so it's not something you need to worry about. The only problem is that it "fills" up the apache error log with unwanted entries.