Hi! Unfortunately, I didn't have cases with Solaris, so I'll answer in style RTFM -) An official InterSystems documentation says:
Many UNIX operating systems (HP-UX, IBM AIX®, and Oracle Solaris) do not support the AgentX protocol at this time. If your system does not support AgentX, you must install a separate SNMP agent which supports AgentX, such as Net-SNMP. Note: On Oracle Solaris, the System Management Agent (SMA), although a version of NET-SNMP, is not compatible with the Cache AgentX implementation. You will therefore need to disable the SMA agent (and possibly the older snmpdx agent as well) and install a standard version of NET-SNMP to support AgentX.
You can read more about SNMP support on Solaris here.
Yes, that article is brilliant. And I was inspired to monitor as much as we can about Cache memory usage from inside Cache, because it will give us the opportunity to have one "monitoring" class (with a lot of API calls) to gather many Cache-connected metrics. Of course, a lot of metrics we should gather from OS as well. Ok, let HugePages usage to be an OS-metrics.
Hi, Alexey! Thanks! What about your question: I think, in that case we should:
1) run mgstat continuously
2) parse file.
Although both of these steps are not difficult, a REST-interface enables us to merge them in one step when we run class in that time we want. Besides we can always extend our metrics set. For example, it's worth to add monitoring of databases sizes as well as Mirroring, Shadowing etc.
Hi, Murray! Thanks for your comment! I'll try to describe templating soon. I should add it to my plan. For now, an article about ^mgstat is almost ready (in head -)). So stay tuned for more.
Hi! Link to template with some of metrics is attached. You can easily add other standard metrics as well as your own. Meaning of the metrics see in <cache_dir>/mgr/SNMP/ISC-CACHE.mib. If you have any questions, fill free to ask them.
go to post
Hi!
Unfortunately, I didn't have cases with Solaris, so I'll answer in style RTFM -)
An official InterSystems documentation says:
Note:
On Oracle Solaris, the System Management Agent (SMA), although a version of NET-SNMP, is not compatible with the Cache AgentX implementation. You will therefore need to disable the SMA agent (and possibly the older snmpdx agent as well) and install a standard version of NET-SNMP to support AgentX.
You can read more about SNMP support on Solaris here.
go to post
Hi, Murray! Thanks for an answer!
Yes, that article is brilliant. And I was inspired to monitor as much as we can about Cache memory usage from inside Cache, because it will give us the opportunity to have one "monitoring" class (with a lot of API calls) to gather many Cache-connected metrics. Of course, a lot of metrics we should gather from OS as well.
Ok, let HugePages usage to be an OS-metrics.
Best regards!
go to post
Hi, Alexey! Thanks! What about your question: I think, in that case we should:
1) run mgstat continuously
2) parse file.
Although both of these steps are not difficult, a REST-interface enables us to merge them in one step when we run class in that time we want. Besides we can always extend our metrics set. For example, it's worth to add monitoring of databases sizes as well as Mirroring, Shadowing etc.
go to post
Fabian. thanks for link! I'll try it.
go to post
Hi, Murray!
You can read continuation of article here. There templates are used.
go to post
mgstat.int uses such approach (in this case, for class %SYSTEM.CPU):
if $D(^oddDEF("%SYSTEM.CPU")) {
...
}
go to post
Thanks, Rubens, for answer! I also thought to use Java compiler. If my attempt is successful, I'll report about it.
go to post
Hi, Murray! Thanks for your comment! I'll try to describe templating soon. I should add it to my plan. For now, an article about ^mgstat is almost ready (in head -)). So stay tuned for more.
go to post
Good day! Please, see comment to other article https://community.intersystems.com/post/creating-custom-snmp-oids#commen...
go to post
Hi! Link to template with some of metrics is attached. You can easily add other standard metrics as well as your own. Meaning of the metrics see in <cache_dir>/mgr/SNMP/ISC-CACHE.mib. If you have any questions, fill free to ask them.
https://github.com/myardyas/zabbix/blob/master/zabbix_cache_snmp_example...