On 4/27/07, jason <[EMAIL PROTECTED]> wrote:
I'm trying to do something fairly simple, just get two DataPoints off of
one command, and I think my google-fu is lacking.  I'm running the following

/usr/bin/free -o |grep Mem | awk {'print "Memory|Free="$$3" ;Used="$$4'}

which is dumping out Free=10 ;Used=20
or something like that.   I have DataPoints setup for Free and Used, but
only Free is getting populated. I know I'm doing something stupid here
and I'm sure it exists in google/wiki somewhere, but I haven't been able
to turn it up.   Can someone give me the syntax for separating out
multiple datapoint values?

Jason,

The reference you're looking for is the Nagios plug-in developers
guidelines. Specifically the performance data section:
http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN202

I think your only problem is the semi-colon. It isn't necessary.

--
Chet Luther
[EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to