[xymon] alternative to bb command

Buchan Milne bgmilne at staff.telkomsa.net
Tue Sep 7 18:33:38 CEST 2010


On Monday, 6 September 2010 11:59:32 Kolbjørn Barmen wrote:
> On Fri, 3 Sep 2010, Buchan Milne wrote:
> > On Friday, 3 September 2010 00:49:30 Jason Kincl wrote:
> > > Hello!
> > > 
> > > I am wondering if using netcat instead of bb to send status updates to
> > > a xymon server is a bad idea?
> > 
> > What prevents you from using bb?
> > 
> > In the cases where I can't install bb, I can't have netcat either, so I
> > use perl.
> 
> Sometimes, all you have is busybox and then nc is alot more likely to be
> around than perl :)
> 
> Also, perl is a hige memory hog and slow (due to disk access) compared to
> doing everything inside busybox sh - to I avoid perl on embedded systems
> or other systems with limited memory resources.

But, bb should compile on most embedded distros, and should be relatively 
small (depending on the c library being used).

In cases where you just want to monitor the device, snmp is another option. 
However, I was interested in building xymon on OpenWRT to be able to use it 
for remote network testing, for which nc won't do ...

The other option is to add a bb subcommand to busybox, which should be 
relatively easy.

Regards,
Buchan



More information about the Xymon mailing list