![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, we're running SQL anywhere and I would like to write a custom monitoring service that communicates with the database server via SNMP and have had zero luck getting any responses from the OID's for either the generic RDBMS or the specific SQLanywhere stuff. I've tried on both server2003, xp and vista. I am gathering other SNMP data so I know that the server is operating properly. Does anybody have any suggestions on how to get this operational? Sybase was installed first, then I installed the snmp service and based on Sybase docs this should work fine. However, i have also tried restarting the db server to see if that made any difference, but no joy. Thanks for any insight. Cheers! ken |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
See that is where I think the problem is. My understanding of the sasnmp.ini file is you have to specify a database to monitor. I don't want to monitor a "database"... I want to monitor the entire server and be able to find out how many databases are running on the server and get a list of names etc. I can use a program called ServersCheck MIB Browser and get regular system values properly, but nothing in the generic rdbms, sqlanywhere or sybase nodes. Am I completely misunderstand the sasnmp.ini file? Thanks so much! Cheers! ken |
#5
| |||
| |||
|
|
You have to monitor a database, not a server, because SQL Anywhere doesn't have the ability to connect to a server without connecting to a database. You can't easily do what you want with the SNMP agent. There are SQL constructs available for you do get the list of databases running on the server (see the docs on the next_database function), but to do this, you still have to connect to a database on the server. Graeme Perrow Senior Software Developer gperrow _at_ ianywhere _dot_ com Sybase iAnywhere Engineering SQL Anywhere Developer Community http://www.sybase.com/developer/libr...ere-techcorner SQL Anywhere Blog Center http://www.sybase.com/sqlanyblogs visiperl (AT) gmail (DOT) com wrote: See that is where I think the problem is. My understanding of the sasnmp.ini file is you have to specify a database to monitor. I don't want to monitor a "database"... I want to monitor the entire server and be able to find out how many databases are running on the server and get a list of names etc. I can use a program called ServersCheck MIB Browser and get regular system values properly, but nothing in the generic rdbms, sqlanywhere or sybase nodes. Am I completely misunderstand the sasnmp.ini file? Thanks so much! Cheers! ken |
![]() |
| Thread Tools | |
| Display Modes | |
| |