Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expression Missing SQL Error #23

Open
iversond opened this issue Dec 4, 2019 · 0 comments
Open

Expression Missing SQL Error #23

iversond opened this issue Dec 4, 2019 · 0 comments

Comments

@iversond
Copy link

iversond commented Dec 4, 2019

When setting up a basic IB Monitor (1 database, only default monitoring), there is a SQL syntax error in the resulting monitoring SQL. The SQL is missing single quotes inside the parentheses for NOT IN ().

Example SQL Error:

Select /*+ Index(PSAPMSGPUBHDR PSCPSAPMSGPUBHDR) */ IBTRANSACTIONID From PSADM.PSAPMSGPUBHDR Where PUBSTATUS in (0,5,6) and IBTRANSACTIONID not in ();
00936. 00000 -  "missing expression"
*Cause:    
*Action:
Error at Line: 37 Column: 149

Here is the configuration for the setup:

---
root:
  emailUser: ibmonitor@domain.com
  emailPassword: 
  emailReplyTo: ibmonitor@domain.com
  emailHost: mail.domain.com
  emailPort: '25'
  onCallFile: 'c:/psadmin/oncallfile'
  debugMode: 'OFF'
  dbType: Oracle
  database:
  - databaseName: FDEV
    host: fdev:1521/FDEV.domain.com
    user: MONITOR
    password: <password>
    dbSchema: SYSADM
    sleepTime: '5'
    defaultMonitorTime: '0'
    defaultStatusToCheck: '0,5,6'
    defaultRetryCount: '0'
    defaultNotifyTo: me@domain.com
    defaultNotifyCC: ''
    defaultNotifyInterval: '60'
    downTimeStartDay: '1'
    downTimeStart: '6:00'
    downTimeEndDay: '1'
    downTimeEnd: '12:00'
    downTimeFrequency: '7'
    defaultNotifyIntervalOffHours: '720'
    startTimeOffHours: '17:00'
    endTimeOffHours: '7:00'
    domainStatus: 'OFF'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant