NC_Net
Jason.Shein at iovate.com
Jason.Shein at iovate.com
Thu Dec 28 18:52:32 CET 2006
I am currently using NC_NET with Nagios to monitor 700+ checks. In order
to check mssql services, I use single quotes and double the $ sign
Example:
check_command check_nt_service!'mssql$$sharepoint'
_______________________________________________________________________________
Jason Shein
Network Administrator – Linux Systems
Iovate Health Sciences Inc.
5100 Spectrum Way
Mississauga, ON L4W 5S2
( 905 ) - 678 - 3119 x 3136
1 - 888 - 334 - 4448, x 3136 (toll-free)
jason.shein at iovate.com
Customer Service. Collaboration. Innovation. Efficiency.
Iovate's Information Technology Team
_______________________________________________________________________________
CONFIDENTIALITY NOTICE:
THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND IS
INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED.
THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS DISCLOSED
TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT
OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT
OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. IF YOU
HAVE
RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT
TO THE SENDER.
_______________________________________________________________________________
"Lacayo, Luis F" <lflacayo at cps.k12.il.us>
Sent by: nagios-users-bounces at lists.sourceforge.net
12/28/2006 12:44 PM
To
<amontibello at shatterit.com>
cc
nagios-users at lists.sourceforge.net
Subject
[Nagios-users] NC_Net
Hello,
I was wondering if you can help me. I am trying to check a Microsoft
Ishare service with Nagios.
When I run the check_nt command from the command line the service check
work just fine.
./check_nt -H 10.129.162.187 -p 1248 -v SERVICESTATE -l 'mssql$sharepoint'
-d SHOWALL
mssql$sharepoint: Started
I have tried several way of checking, with a \ before the dollar sign, in
dowuble quotes etc.
However when I look at the service check via the web there is a trailing $
Host
Service
Status
Last Check
Duration
Attempt
Status Information
co-spdb
DatabaseServices
WARNING
12-28-2006 11:30:42
35d 22h 28m 56s
3/3
mssql$sharepoint$: Unknown
Here is my service definition:
define service{
use ping-service
host_name co-spdb
service_description DatabaseServices
contact_groups ishare
check_command check_nt_service!'mssql$sharepoint'
}
Here is my command definition:
# 'check_nt_service' command definition
define command{
command_name check_nt_service
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
SERVICESTATE -l $ARG1$ -d SHOWALL
}
Any help will be appreciated.
Thanks,
Luis
Luis Lacayo
Sr. UNIX Admin
Chicago Public Schools
Office of Technology Services
125 S. Clark Street – Suite 300
Chicago, IL 60603
Direct:773-553-3835
Office: 773-553-1300
FAX:773-553-1363
lflacayo at cps.k12.il.us
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list