SSLogger

Contents
casp941
Contents
This section describes the SSLogger application and its benefits when compared with native CA Spectrum logging.
SSLogger is a CA Spectrum command-line application that works with SpectroSERVER to poll network devices and log the data to a simple ASCII file suitable for import into databases and reporting systems. As shown in the following diagram, you control SSLogger activity using command-line options and three input files (a configuration file, a model file, and a data file) which specify the target SpectroSERVER, the target devices and ports, the target attributes, the logging frequency per attribute, and the output file rotation frequency. SSLogger uses the SSAPI to communicate with SpectroSERVER, which obtains data from the target devices using SNMP requests. SSLogger then logs the specified data to an ASCII file, closing the current output file and creating a new one depending on your needs.
The following image illustrates the process that SSLogger uses to communicate with SpectroServer:
SSLogger.gif
Benefits of SSLogger
SSLogger offers several advantages over CA Spectrum's native method of logging statistics:
  • SSLogger lets you specify particular devices for which you want to log statistics. The CA Spectrum native method only allows you to specify the
    types
    of devices for which you want to log data, which means that you often are forced to poll and log more data than you want.
  • SSLogger lets you set the polling and logging frequency for each attribute. The CA Spectrum native method only allows you to specify the frequency per model type.
  • SSLogger writes data to a simple, readily exportable ASCII file. The CA Spectrum native method writes data to the Archive Manager's database, which requires additional steps to export the data.
Disabling CA Spectrum Native Logging
If you decide to log CA Spectrum statistics using SSLogger, you can turn off CA Spectrum native logging by setting the stat_logging_disabled flag to TRUE in CA Spectrum's /SS/.vnmrc file and then restarting SpectroSERVER. Setting this value to TRUE also turns off the polling of these logged attributes. It prevents CA Spectrum from using SNMP get actions to check attribute values and prevents CA Spectrum from writing the values to the Archive Manager database. This results in reduced device traffic as well as a reduced load on the Archive Manager database.
SSLogger Functionality When Contact Status is Lost
SSLogger functions differently when the contact status of a device (or group of devices) it is monitoring is lost. When SSLogger is scheduled to collect statistical data from a device and that device goes down, SSLogger will not write any data from the downed device to the .log file, effectively ignoring the device. SSLogger will not retry the downed device until the next scheduled poll cycle. SSLogger will continue to log data from devices that are up on the scheduled interval with no interruption. Once CA Spectrum regains contact with the downed device, SSLogger will log its data on the configured scheduled interval.