I just installed the User-ID API PAN::API system on my Linux server to pass wireless syslog information to a Palo Alto User-ID Agent. The problem is the User-ID Agent does see the connection from Linux, but does not post the passed user logon data. The test Perl script is very small;
my $uid = PAN::API::UID->new('10.1x.2xx.1xx');
Now the User-ID Agent log shows the connection, but no passed data;
05/25/12 11:46:34 | Info | New xml api connection 10.1x.2xx.1xx : 57990: -2068154446
05/25/12 11:46:34 | Info | XML api thread 0 from 10.1x.2xx.1xx : 57990 is started.
05/25/12 11:46:34 | Debug | Event: type="XML API connection" name=" 10.1x.2xx.1xx" status="Connected"
05/25/12 11:46:34 | Debug | Device thread 0 send server status 10.1x.2xx.1xx : 57990 Connected (XML API)
05/25/12 11:46:34 | Info | XML api thread 0 accept finished
05/25/12 11:46:34 | Debug | XML api thread 0 SSL no certificate
05/25/12 11:46:34 | Debug | Event: type="XML API connection" name="10.1x.2xx.1xx" status="Disconnected"
05/25/12 11:46:34 | Debug | XML api thread 0 exists
05/25/12 11:46:34 | Info | XML api connection 10.1x.2xx.1xx : 57990 closed.
05/25/12 11:46:34 | Debug | All XML api connection stopped!
05/25/12 11:46:34 | Debug | Device thread 0 send server status 10.1x.2xx.1xx : 57990 Disconnected (XML API)
The Perl program throws no errors and everything ~looks~ fine.
I was wondering how one would go about troubleshooting thi issue.
Thanks in advance.
there is a mistake in your script:
you write "logon" instead of "login"
you can use :
the event type can be login or logout, in this doc:
I think there is a mistake. try to use ->login() and ->logout() function instead.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!