I am using nagios2.9 and Nagios plugins 1.4.9.
I have made a hostgroup for Sybase servers of the sort-
define hostgroup{
hostgroup_name sybase
alias Sybase Servers
members machine1,machine2,machine3,machine4,machine5
}
Now I want to know if its possible to define a single service for all
these machines as the service name differs in each server because it is-
Sybsql-machine1,sybsql_machine2,sybsql_machine3 etc.
Can you please also provide me help on command definition and service
definition for Sybase check on linux machines.
With a million thanks :-)
Lalita
From: Florent HOUBART [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2007 1:36 PM
To: Lalita Drolia
Cc: nagios-users@lists.sourceforge.net
Subject: RE : [SPAM?] RE: RE : [Nagios-users] Sybase check on windows
servers
Hi Lalita,
>But I am still not sure what I need to put in services.cfg.
>For the hosts I have made a hostgroup by the name "Sybase" in
>hostgroups.cfg.
>I want it to pick names from this group and display result for all.
>
>So my services.cfg looks like-
>
>Define service{
>
> Use local-service
>
> Hostgroup_name Sybase
>
> Service_description sybasesql
>
> Check_command check_sybase
>
>I know this is wrong. And it is giving me the error "return code of 139
>is out of bounds." On the web interface.
It's certainly a problem in the command definition. Did you try to run
it in command line to check if it's correct ?
Can you send us more information about your definitions, and the
versions of Nagios and the plugin you are using ?
Regards,
Florent
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or legally
privileged, and is intended solely for the use of the individual or entity
named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete
it.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null