STRING: tac: write error
Kaushal Shriyan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi
My details are as below :-
#!/bin/sh
exec 2>&1
numInQueue=`tail -n 10000 /opt/tomcat1/logs/catalina.out | tac | grep -m 1
numInQueue | cut -d' ' -f 7`
if [ $? -ne 0 ]; then
exit 3
fi
if [ "$numInQueue" -gt 1000000 ] ; then
echo "QUEUE CRITICAL - $numInQueue"
exit 2
else
echo "QUEUE OK - $numInQueue"
exit 0
fi
# snmpwalk -On -v 2c -c local localhost nsExtendOutput1Line
*.1.3.6.1.4.1.8072.1.3.2.3.1.1.6.110.117.109.105.110.113 = STRING: tac:
write error*
.1.3.6.1.4.1.8072.1.3.2.3.1.1.7.110.117.109.102.105.108.101 = STRING: Number
of files is OK - 0
#
I get *STRING: tac: write error
*Please suggest/guide.
Thanks
Kaushal
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users