SSLogger

Contents
casp1032
 
 
This section describes the SSLogger application and its benefits when compared with native 
DX NetOps Spectrum
 logging.
SSLogger is a 
DX NetOps 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 
DX NetOps Spectrum
's native method of logging statistics:
  • SSLogger lets you specify particular devices for which you want to log statistics. The 
    DX NetOps 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 
    DX NetOps Spectrum
     native method only allows you to specify the frequency per model type.
  • SSLogger writes data to a simple, readily exportable ASCII file. The v native method writes data to the Archive Manager's database, which requires additional steps to export the data.
Disabling 
DX NetOps Spectrum
 Native Logging
If you decide to log 
DX NetOps Spectrum
 statistics using SSLogger, you can turn off 
DX NetOps Spectrum
 native logging by setting the stat_logging_disabled flag to TRUE in 
DX NetOps 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 
DX NetOps Spectrum
 from using SNMP get actions to check attribute values and prevents 
DX NetOps 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 
DX NetOps Spectrum
 regains contact with the downed device, SSLogger will log its data on the configured scheduled interval.