NRDS update script problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

NRDS update script problem

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDS update script problem

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS update script problem

Post 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
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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS update script problem

Post by lmiltchev »

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!
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS update script problem

Post by nagarjuna »

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

Post 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?
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS update script problem

Post 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,
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRDS update script problem

Post 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?
nagarjuna
Posts: 133
Joined: Mon Dec 09, 2013 2:11 am

Re: NRDS update script problem

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS update script problem

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked