I have tried this#!/bin/sh $output=`/usr/local/nagios/libexec/check_snmp -H $1 -o $2`if [ $output = 0 ]echo low paperif [ $output = 1 ]echo no Paper
if [ $output = 2 ]echo low Toner...exit ($value)i get this errors :../libexec/check_Xerox_Status: line 3: =SNMP: command not
Of Toto Capuccino
Sent: Wednesday, February 08, 2006
3:53 PM
To: Nagios
Subject: Re: [Nagios-users] Need
pointer
I have tried this
#!/bin/sh
$output=`/usr/local/nagios/libexec/check_snmp -H $1 -o $2`
if [ $output = 0 ]
echo low paper
if [ $output = 1 ]
echo no Paper
if [ $output = 2