<P>
try running the same command logged in as nagios user and then try unless that happens Nagios shall not be able to generate any output.<BR>
<BR>
Thanks.<BR>
Vivek<BR>
<BR>
<BR>
On Wed, 06 Apr 2005 Naag Mummaneni wrote :<BR>
>Hello All,<BR>
><BR>
>I am trying to use the SNMP Plugins to monitor Windows<BR>
>Servers. I am using the check_snmp_storage.pl script.I<BR>
>am running the below command and the output looks<BR>
>fine..<BR>
><BR>
>[root@localhost libexec]# ./check_snmp_storage -H<BR>
>host1 -C public -m C: -w 80 -c 90<BR>
>C:\ Label: Serial Number c6a91a7 : 34 %used<BR>
>(2766MB/8189MB) (< 80) : OK<BR>
><BR>
>However when I use the same command in Nagios<BR>
>configuration..I see the following output on the Web<BR>
>interface...<BR>
><BR>
>(No output!)<BR>
><BR>
>Pls suggest where am I going wrong. BTW I am using the<BR>
>1.1 version of check_snmp_storage.pl script.<BR>
><BR>
>Thanx in Advance<BR>
>Naag.<BR>
><BR>
>The following is my Nagios config...<BR>
>Checkcommands.cfg<BR>
># 'check_snmp_storage' command definition<BR>
>define command{<BR>
> command_name check_snmp_storage<BR>
> command_line $USER1$/check_snmp_storage.pl<BR>
>-H $ARG1$ -C $ARG2$ -m $ARG3$ -w $ARG4$ -c $ARG5$<BR>
> }<BR>
><BR>
>Services.cfg<BR>
># Service definition<BR>
>define service{<BR>
> use<BR>
>generic-service ; Name of service template to<BR>
>use<BR>
><BR>
> host_name host1<BR>
> service_description C Drive<BR>
> is_volatile 0<BR>
> check_period 24x7<BR>
> max_check_attempts 3<BR>
> normal_check_interval 1<BR>
> retry_check_interval 1<BR>
> contact_groups nt-admins<BR>
> notification_interval 120<BR>
> notification_period 24x7<BR>
> notification_options w,u,c,r<BR>
> check_command<BR>
>check_snmp_storage!host1!public!C:!80!90<BR>
> }<BR>
><BR>
><BR>
><BR>
><BR>
>__________________________________<BR>
>Do you Yahoo!?<BR>
>Yahoo! Mail - 250MB free storage. Do more. Manage less.<BR>
>http://info.mail.yahoo.com/mail_250<BR>
><BR>
><BR>
>-------------------------------------------------------<BR>
>SF email is sponsored by - The IT Product Guide<BR>
>Read honest & candid reviews on hundreds of IT Products from real users.<BR>
>Discover which products truly live up to the hype. Start reading now.<BR>
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click<BR>
>_______________________________________________<BR>
>Nagios-users mailing list<BR>
>Nagios-users@lists.sourceforge.net<BR>
>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>
>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<BR>
>::: Messages without supporting info will risk being sent to /dev/null<BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>