<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Tahoma;
color:maroon;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>I am sorry for asking what I am sure is a very basic
question, but I’ve inherited my Nagios system and I’m trying to get
a disk space check in ASAP. Here is the error I’m getting:<o:p></o:p></span></font></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'><o:p> </o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'>Checking services...<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'>Error: Service check command
'check_netapp -H gvr-array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10'
specified in service 'Disk space' for host 'gvr-array02' not defined anywhere!<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'> Checked 1386 services.<o:p></o:p></span></font></i></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>And here is the check command it’s choking on:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> <i><span style='font-style:italic'>check_command
check_netapp -H gvr-array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10<o:p></o:p></span></i></span></font></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'> max_check_attempts 5<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'> normal_check_interval 5<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'> retry_check_interval 1<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'> notification_interval
120<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'> contact_groups
admins<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'> notification_period
24x7<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-style:italic'> }<o:p></o:p></span></font></i></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Where have I gone wrong? I know this command works if I run
it from the command line, so does that mean I need to do something in another
config file to define this check?<o:p></o:p></span></font></p>
</div>
</body>
</html>
<p>
This message (including any attachments) contains confidential <br>
and/or proprietary information intended only for the addressee. <br>
Any unauthorized disclosure, copying, distribution or reliance on <br>
the contents of this information is strictly prohibited and may <br>
constitute a violation of law. If you are not the intended <br>
recipient, please notify the sender immediately by responding to <br>
this e-mail, and delete the message from your system. If you <br>
have any questions about this e-mail please notify the sender <br>
immediately. <br>
</p>