Reply

Download PTOPLOG via WAPI

New Member
Posts: 6
554     2

Hi,

 

Im trying to export the PTOPLOG via WAPI but i'm getting an error. I can download the AUDITLOG file the same way and this works. Im on NIOS 9.0.3.

 

I try this curl command (from the manual in link below)

curl -k1 -u admin:infoblox -H "Content-Type: application/json" -X POST https://10.12.21.107/wapi/v2.9.7/fileop?_function\=get_log_files -d '{"include_rotated":false,"log_type":"PTOPLOG","node_type":"ACTIVE"}'

I get

"Error": "AdmConProtoError: Invalid value for log_type (\"PTOPLOG\") valid values are: SYSLOG, AUDITLOG, MSMGMTLOG, DELTALOG, OUTBOUND", 


When I try the AUDITLOG it works fine, I get the download link and can download the log.

 

PTOP info

https://docs.infoblox.com/space/nios90/280270363/Configuring+the+PTop+Instance+to+Collect+CPU+Utiliz...

 

From the manual how to download it via WAPI

https://docs.infoblox.com/space/nios90/280760719/Collecting+Database+Performance+Data

 

Should be a valid argument:

https://ipam.illinois.edu/wapidoc/objects/fileop.html?highlight=ptoplog

 

Am I doing something wrong or is it a bug. Or is there an alternative way to see this logging or the CPU useage per process. 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You