SQL Server login
Hello,
We have our Serverscheck linked to log into a SQL Server the values returned by the application (to get monthly statistics).
All the rules are logged correctly except the rules of memory, that aren't inserted into the database.
If we look into the serverscheck_checks database we see that all the rules have a record but in the Serverscheck_data, these memory rules don't have any record.
What could be the problem with this?
Greetings,
Francesc
We have our Serverscheck linked to log into a SQL Server the values returned by the application (to get monthly statistics).
All the rules are logged correctly except the rules of memory, that aren't inserted into the database.
If we look into the serverscheck_checks database we see that all the rules have a record but in the Serverscheck_data, these memory rules don't have any record.
What could be the problem with this?
Greetings,
Francesc
This discussion has been closed.
Comments
Can your DBA check for SQL errors from ServersCheck?
But this should be an internal Serverscheck error, doesnt' it?
Because the rest of the rules are correctly inserted.
I'm executing the SC in debug mode. Where can I send the log file to be analyzed?
Greetings,
Francesc
I think that the problem is from Serverscheck and not from our database. We don't see any SQL Server error and the debuglog doesn't show any SQL error.
In the sentences that creates the tables, I think that the UID field in the Serverscheck_data table is a UNIQUE Key, so when SC is going to execute a second insert of a rule that exists in the table, it fails.
Could you confirm me that the creation is correct?
We have the same problem and the SQL Server doesn't show light to our problem.
Thanks,
Francesc
But the table serverscheck_checks can't have the UID as unique key because we want to have a register for every time a rule is executed.
I'm right when I think that the serverscheck_data contains one register for every time that a rule is executed? If a rule is executed 2 times, should I have 2 registers?
Other question:
I create a rule of memory. The serverscheck_checks shows a register with the UID, GROUPS, DEVICES, TYPE...
The rule is executed correctly but the table serverscheck_data don't show any rule with the UID.
Could you test in your laboratory that the memory rules are correctly inseted in the database serverscheck_data? I think that could be a bug with this.
Greetings,
Francesc
6.9.4 is available via manual upgrade. Automatic upgrade will be available as of Monday.
I've upgraded but the version is the 6.9.3.
Francesc
http://kb.serverscheck.com/index.php?page=index_v2&id=12&c=5
Is the last version updated in your website?
I've installed the last version but the rules based on memory checks continues without inserting in the SQL Server database.
Francesc
Replace the existing monitoring_rule.exe with the above one and let me know if it solves your problem
I've replaced the file and it continues without working... :-(
I have checked it here on a test system and it works fine.
Can you please check yourself or a DBA what SQL statement for the memory check is sent to the database?
All the rules writes on the database except the memory type.
I am going to ask development to make a special debug build for you. It will be for beginning of next week.
Thank you very much!!
Francesc
In debug mode all SQL statements are sent to the screen
I've installed the last version and now the problem of login into the SQL Server has been solved!!
Thanks,
Francesc