Hi all, I am having troubles monitoring blackberry enterprise server services. All services used by BES have spaces, both in the description (shown in Services) and name (HKLMLOCAL_MACHINESYSTEMCurrentControlSetServices). I'm using double quotes in the service name, but it always shows as service being down... is something wrong / special about that? this is the code: # Is BES service running ? module_begin module_name ServicioBES module_type generic_proc module_service "BlackBerry Dispatcher" module_description BES Service module_end
Monitoring Blackberry Services
chiru · 30 abr 2009, 5:19 · 5 mensajes · 67 visitas
- Inicio del debate
Hi, Try removing the quotes on the service name. I'm doing this test (based on your module, only the name was changed) and works perfectly:
module_begin module_name ServicioBES module_type generic_proc module_service VMware Physical Disk Helper Service module_description BES Service module_endThis is the XML generated. Put "debug 1" in your configuration file to view yours on the temporal directory. Notice that this will not send the file to the server.
ServicioBES generic_proc 1 BES ServiceUn saludo
Hi, Try removing the quotes on the service name. I'm doing this test (based on your module, only the name was changed) and works perfectly:
module_begin module_name ServicioBES module_type generic_proc module_service VMware Physical Disk Helper Service module_description BES Service module_endThis is the XML generated. Put "debug 1" in your configuration file to view yours on the temporal directory. Notice that this will not send the file to the server.
ServicioBES generic_proc 1 BES ServiceUn saludo
Please also RECHECK that all lower/uppercase letters are exactly the same as in service "short" name, exactly as shown in service properties in the first field. In this sample service name for pandora is "Adiscon EvntSLog", taken from the first field, marked in a red circle.
Damn it! From docs:
module_service (Win32 Only) Checks if a given service name is running in this host. Remember to use " " characters if service name contains blank spaces.It seemed so logical to me that I even tried... I'm sorry to bother you with this...
Entra en tu cuenta para publicar.
