Web Services API Guide, Cisco DCNM for LAN, Release 5.x
PollerApp Service
Downloads: This chapterpdf (PDF - 75.0KB) The complete bookPDF (PDF - 11.08MB) | Feedback

PollerApp Service

Table Of Contents

PollerApp Service

Information About PollerApp Service

fetchAllPollerTasks

getPollerInterval

modifyPollerInterval

startSyslogPoller

stopSyslogPoller

synchronizeWithDevice


PollerApp Service


This chapter describes the DCNM web services' API methods for the PollerApp service.

Information About PollerApp Service

The PollerApp service allows you to obtain syslog poller information. The syslog poller component is used to synchronize with the device automatically. The DCNM server creates a syslog poller for each managed device. Each syslog poller periodically retrieves system and accounting logs from a device. DCNM uses the information retrieved by poller processes to update its configuration and status information for polled devices.

fetchAllPollerTasks

Returns all the SyslogPollerInfo running in the server.

Parameters

opContext—Operational context

Return Value

List of SyslogPollerInfo for all syslog poller tasks.

getPollerInterval

Returns the interval of the syslog poller in seconds.

Parameters

opContext—Operational context

Return Value

The polling interval in seconds

modifyPollerInterval

Modifies the given number of seconds as the polling interval of the syslog poller.

Parameters

opContext—Operational context

seconds—polling interval in seconds

Return Value

void

startSyslogPoller

Starts the syslog polling for the given network element id.

Parameters

opContext—Operational context

networkElementId—network element id for which the polling has to be started.

Return Value

void

stopSyslogPoller

Stops the syslog polling for the given network element.

Parameters

opContext—Operational context

networkElementId—network element for which the syslog polling has to be stopped.

Return Value

void

synchronizeWithDevice

Syncronizes with the device. Runs syslog polling of the given network element once immediately to syncronize the changes done in the device with DCNM.

Parameters

opContext—Operational context

networkElementId—network element for which the syslog polling has to be run immediately once.

Return Value

void