Forum Discussion
jaskel_40663
Nimbostratus
Jan 23, 2009eventSubsription testing
Ok,
I have an eventsubscription ID by creating one with iControl. I have these events configured to send event notifications:
EVENTTYPE_INTERFACE
EVENTTYPE_NODE_AD...
Jan 26, 2009
Looks like a typo in the create code:
my $total_detail =
{
name => $name,
event_type_list => [@event_list],
url => $url,
url_credentials => $url_cred,
ttl => $ttl,
min_events_per_timeslice => $min_event_per,
max_timeslice => $max_time,
enabled_state => $enabled_sate
};
$enabled_sate is undefined and thus defaults to 0. The server will interpret this as the enum value 0 which equates to STATE_DISABLED. Change that to $enabled_state and that should get you going.
Hope this helps...
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
