Reply
Highlighted
Accepted Solution

Last Queried output issue

hasagh
Techie
Posts: 14
5974     0

Hello,

 

I tried Last queried command but instead of getting the amount of time each record is being queried i have either a 0 or empty field at the end....any idea why? and how could i fix this? thanks

 

#Get last_queried
 my $last_queried = $allrecord->last_queried();

view,zone,name,last_queried
cr_view,mnc***.*****.3gppnetwork.org,,
cr_view,mnc***.mcc***.3gppnetwork.org,,
cr_view,mnc***.mcc***.3gppnetwork.org,*.***.***.**.11.apn.epc,
cr_view,mnc***.mcc***.3gppnetwork.org,*.***.***l.**.1501.apn.epc,0

Re: Last Queried output issue

Adviser
Posts: 118
5975     0

Hello,

 

Where are you running this command and getting the output from? This doesn't appear to be specifically related to the reporting server.

 

-Roger

 

Re: Last Queried output issue

hasagh
Techie
Posts: 14
5975     0

Hi Roger

 

Answer to your question: this is using Perl script talking to infoblox API.

 

My question: How I'm I supposed to run the command to avoid the issue?

 

thanks 

 

Re: Last Queried output issue

Adviser
Posts: 43
5975     0

Hi Hasagh,

 

The Perl API call that you use is the right one.

 

Two things to check:

 

1 - Is "Enabled last queried time monitoring for resource records" enabled in the DNS grid properties and / or DNS zone > DNS scavengingCapture d’écran 2017-05-30 à 21.54.13.png

 

 

2 - In the Data Management > DNS > Zones in the zone content, after editing column to add "Last queried", do you see the date?

 

Capture d’écran 2017-05-30 à 21.57.10.png

 

Regards

 

Nicolas

Check out our new Tech docs website at http://docs.infobox.com for latest documentation on Infoblox products.

Re: Last Queried output issue

hasagh
Techie
Posts: 14
5975     0

Hi Nicolas,

Thanks for the asnwer

regrading option 1: I dont have the scavenging feature (and i m using version 7.2 of Grid and wont upgrade for now to 7.3 while at same time i need my stats numbers now) and this is why i was looking for an alternative way to get my stats. I was told that 'last queried' would be my option and found out a way to run it throught PAPI (which i shared above with issue in the results).

 

Now for the option 2, i tried to edit column as you instructed but i could not find any culumn named 'last queried'. 

so not sure now how i can proceed.

 

infoblox issue.png

 

Re: Last Queried output issue

Adviser
Posts: 43
5975     0

Hello Hasagh,

 

In NIOS 7.2 the procedure to enable the last queried feature in reporting was different. Please find the procedure attached.

I have checked the PAPI documentation and the call was already available, it should be ok once enabled.

 

Regards

 

Nicolas

Check out our new Tech docs website at http://docs.infobox.com for latest documentation on Infoblox products.

Re: Last Queried output issue

Adviser
Posts: 43
5975     0

You will find the grid properties in Grid > Grid Manager > Reporting > Services > Edit button (pencil)

Check out our new Tech docs website at http://docs.infobox.com for latest documentation on Infoblox products.

Re: Last Queried output issue

hasagh
Techie
Posts: 14
5975     0

I could not find the Reporting tab you mentioned..I have only 3 Tabs: Vizualization, members, and services.

Maybe it is a paid feature not included on the licenses that i have?

 

infoblox issue2.png

Re: Last Queried output issue

Adviser
Posts: 43
5975     0

Yes a reporting member, physical or virtual, has to be joined to the grid.

You can deploy an evaluation version and contact your Sales Engineer to see if the free 500 MB version suit your needs or not.

Check out our new Tech docs website at http://docs.infobox.com for latest documentation on Infoblox products.

Re: Last Queried output issue

hasagh
Techie
Posts: 14
5975     0

Ok I see.

Thanks a lot for the help, i will follow up with infoblox.

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You