Am 01.11.2010 12:53, schrieb [email protected]:
not working,icinga
can not
find this service。if “space” in “service name”
define service{
use
generic-service
host_name
server
service_description
Flexlm
check_command
check_nt!SERVICESTATE!-d SHOWALL -l
FLEXlm License Manager
}
Am 01.11.2010 01:58, schrieb Robert Marxreiter:
Hello Lence,
spaces are not allowed in service descriptions ("service_desc"),
but you may name it that way via the additional field
"display_name",
which will be displayed in the frontend.
See "http://docs.icinga.org/1.0/en/objectdefinitions.html#objectdefinitions-service"
Mind that you have to reference the service via the
"service_desc"-name
in the configuration though.
Regards
- Robert
On 31.10.2010 09:53, [email protected]
wrote:
hi all
i want to monitor a service just like "flexlm license manager"
,how to defination in windows.cfg .i mean the "Space" between
flexlm and license?
"spaces are not allowed in service descriptions"
I'm afraid that this statement is not correct. Looking at the
link given
spaces are named explicitly and they can be used (although it
might be
difficult to use such names at certain other places).
There is no such thing as a "windows.cfg" because you are free
to specify your definitions in a file with a name you like (with
nearly
no exception). I guess you're trying to create definitions for
windoze
machines so you might take a look at http://docs.icinga.org/latest/en/monitoring-windows.html.
There you'll find examples including some using spaces within
the service
description.------------------------------------------------------------------------------
That's more an error of check_nt than Icinga. Try to enclose the
parameter with quotes
define service{
use
generic-service
host_name
server
service_description
Flexlm
check_command
check_nt!SERVICESTATE!-d SHOWALL -l
"FLEXlm License Manager"
}
You might have to do that in the command definition as well
|
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users