" /> DataSourcer (how to monitor?) - Genesys CTI User Forum

Author Topic: DataSourcer (how to monitor?)  (Read 3791 times)

Paul Simon

  • Guest
DataSourcer (how to monitor?)
« on: January 01, 1970, 12:00:00 AM »
Advertisement
Hi,

I have been asked to investigate a way to check DataSourcer is running correctly on a node. One suggestion has been after statup check the output log for error messages and also when DataSourcer has been running for a time to make sure it has updated the log within the last 15 minutes.

Using a log file and parseing it is something I would rather avoid, is there a way to invoke some executable from the command line (shell script) which interacts with DataSourcer and will give the status, i.e. is it 'running ok' or 'failed'?

Basically I am trying to avoid looking in a log file to determine the online or offline/failed status of DataSourcer.

Thanks,

Paul

gauthier

  • Guest
DataSourcer (how to monitor?)
« Reply #1 on: January 01, 1970, 12:00:00 AM »
  • Best Answer
  • What version of Data Sourcer are you using? Normally in version 6.1 you should be able to find out if it is running or not? Otherwise my best shot would be to use a web server and some cgi scripts to check if the process is running.

    Paul Simon

    • Guest
    DataSourcer (how to monitor?)
    « Reply #2 on: January 01, 1970, 12:00:00 AM »
  • Best Answer
  • Thanks for the reply.

    The version is 6.1, we are checking the process table (on Solaris) using 'ps' and searching for 'data_sourcer', which works up to a point. There is a view that this may not be sufficient, it might be possible the process is running / in the process table but DataSourcer is failed in some way?

    You say in 6.1 you can tell if it's running? We need a way to call a command from a script which can tell if DataSourcer is working correctly.

    Thanks,

    Paul

    Vic

    • Guest
    DataSourcer (how to monitor?)
    « Reply #3 on: January 01, 1970, 12:00:00 AM »
  • Best Answer
  • It depends on how much you need the functionality, but you can use alarms generated by SCS to monitor DataSourcer performance. SCS can issue snmp message for different type of alarms, so you can base your reactions on that.

    Of course, you can also monitor DataSourcer's log for any unusual errors and in combination with ps ef | grep data_sourcer command alert whatever you need to alert :)