Plugin compatibility issue-On solaris

Marc Powell marc at ena.com
Thu Apr 7 23:25:14 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of vivek sharma sharma
> Sent: Thursday, April 07, 2005 8:35 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Plugin compatibility issue-On solaris
> 
> Dear all,
>         I am running Nagios Version 2.0b2
> I am using push_check.sh command to check remote-disk/remote-procs by
> using check_disk .It is working fine from linux(Nagios host) to
> linux(client) but when i try to monitor it on Solaris then it gives me
> error as following:
> ./push_check.sh /home/nagios/.ssh/id_rsa root at XXX.XXX.XXX
./check_procs -w
> 1:2 -c 2:1024 -C radiusd
> ./push_check.sh: line 90: [: : integer expression expected
> 
> After reading the help for push_check.sh i found out that it may be an
> issue with plugin compatibility.

I haven't ever heard of push_check.sh before and I've been using Nagios
and Netsaint for years. Perhaps I've missed something. If it's the
wrapper that is available at
http://jjoseph.org/linux-work/nagios-plugins, it looks like it assumes
that each plugin works universally on all architectures, i.e. you have
python installed and are using his python scripts and they really do
work across all architectures as he seems to claim. The standard nagios
plugins are generally architecture dependent meaning you can not run a
plugin compiled on linux on a sun box and vice-versa. Even different
flavors of an OS can be problematic. A plugin compiled on Fedora Core 3
probably isn't going to run on a Redhat 7.x box for example.

You might want to look at NRPE or the plain-old check-by-ssh. This is
the type of implementation they were designed for.

Unless the author of that program is a member of this list you'll
probably have better luck contacting him directly if you want to
continue to use his solution.
 
--
Marc


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list