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
NRDS update script problem
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRDS update script problem
Can you give us the whole error? This just seems like an error fragment...
Also, what version of NRDS component are you running?
Also, what version of NRDS component are you running?
Re: NRDS update script problem
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
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
You do not have the required permissions to view the files attached to this post.
Last edited by nagarjuna on Wed Dec 18, 2013 3:15 pm, edited 1 time in total.
Re: NRDS update script problem
Can you try uploading the "nrdsconfigupdate.inc.php" file again (zip it up first)? Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NRDS update script problem
Please check the attached nrdsconfigupdate.inc.php file.
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRDS update script problem
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
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,
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRDS update script problem
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
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.
Manually we are login into client machine and run NRDS script.
Re: NRDS update script problem
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!