Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
mrh wrote:Please everyone make sure the polling account for the schedule task has administrator privileges on the target machine (or at least the same as when you're succeed on the command-line).
Thanks
I wish I read that earlier... I ended up figuring it out on my own.
So when calling this from linux, did you have to change the path for the data input method to the path on the windows machine? Or does it run from the linux box?
--
Daniel.S wrote:
mrh wrote:Please everyone make sure the polling account for the schedule task has administrator privileges on the target machine (or at least the same as when you're succeed on the command-line).
Thanks
I wish I read that earlier... I ended up figuring it out on my own.
When I run this script against my bes, i don't get any data returned. I fired up scriptomatic and it didn't see the source Win32_PerfRawData_BlackBerryEnterpriseServer_BlackBerryServer, is there something which needs to be installed on the BES to add that field to WMI?
zlynt wrote:When I run this script against my bes, i don't get any data returned. I fired up scriptomatic and it didn't see the source Win32_PerfRawData_BlackBerryEnterpriseServer_BlackBerryServer, is there something which needs to be installed on the BES to add that field to WMI?
thanks for the reply. I checked out that article and refreshed the tables. The odd thing is, at the bottom of that article, it references using wbemtest to query against the wmi db. I tried that and it looks like the Win32_PerfRawData_BlackBerryEnterpriseServer_BlackBerryServer is present from wbemtest, but when i run the script both locally and remotely, i don't get any data. Also, even after refreshing the table I don't see that information in scriptomatic.
Gents-
I imported the graphs and host template and I am missing the data input methods. Can someone export or tell me how to define. I am still new at this.
_JPL_ wrote:You can do the same thing in linux using the nsclient in windows (or similar client) by polling the perfmon values with check_nt.
I have created a Linux compatible script/template which uses check_nt. The graphs look identical to the original poster. You will need to modify the perl script to point to the check_nt location... and change "BLACKBERRY1" to the name of your BlackBerry Enterprise Server name (not necessarily the hostname). Please try it out and let me know if it works for you.
_JPL_ wrote:You can do the same thing in linux using the nsclient in windows (or similar client) by polling the perfmon values with check_nt.
I have created a Linux compatible script/template which uses check_nt. The graphs look identical to the original poster. You will need to modify the perl script to point to the check_nt location... and change "BLACKBERRY1" to the name of your BlackBerry Enterprise Server name (not necessarily the hostname). Please try it out and let me know if it works for you.
Thanks,
Dave
Cool. Works great for me with one major problem.
Things will graph fine for a while then report a value something like 880,956,823.75 for messages sent or received. It seems to be a related to the counter values going backwards.
Obviously, this is not a problem with your script but the data being provided by the BES counters.
thanks alot for the great script
We are using it for a pretty long time without problems now, but we have some issues since we migrated to the last version of our BES server.
Since we migrated to version 4.1.6 the WMI does not longer return any data
Has anyone else noticed this and does anyone have a solution for this?