1)GOOD plugin documentation? 2)library issues.
Subhendu Ghosh
sghosh at sghosh.org
Thu Feb 13 00:04:10 CET 2003
Dev docs
http://nagiosplug.sourceforge.net/developer-guidelines.html
On solaris make sure your LD_* paths are set properly.
-sg
On Wed, 12 Feb 2003, Josh wrote:
> First off this program rules, I have been searching for usefull documentation on writing plugins for nagios but
> havent found much.
> So any links/whatever there would be greaetly appreciated.
>
> Secondly:
>
> I have been struggling with running nagios on sloaris 2.7 and have ironed everything out except for one issue.
> For the status map to work you need to have the gd/jpg/png lib installed. The most recent verisions of all have been
> isntalled, on installing the GD lib it checked for and found the png and jpg libs fine and dandy, also that install went
> fine.
> When one actually clicks on the status map link we get an internal server error and the following line appears in the
> apache error logs.
>
> --begin log snippet--
>
> ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or directory
> [Wed Feb 12 12:01:59 2003] [error] [client 63.72.207.34] Premature end of script headers:
> /usr/local/nagios/sbin//statusmap.cgi
>
> --end log snippet--
>
> The file name 'libgd.so.2' is a symbolic link in /usr/local/lib that points to /usr/local/lib/libgd.so.2.0.0
> the ls -l /usr/local/lib/libgd.so* output shows me this:
>
> --begin ls output--
>
> lrwxrwxrwx 1 root other 14 Feb 10 13:33 libgd.so -> libgd.so.2.0.0
> lrwxrwxrwx 1 root other 14 Feb 10 13:33 libgd.so.2 -> libgd.so.2.0.0
> -rwxr-xr-x 1 bin bin 479764 Feb 10 13:33 libgd.so.2.0.0
>
> --end ls output--
>
> I have compiled nagios using:
> --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/inc
>
> I for grins, put a symbolic link to the file in a few other dirs i thought it maybe trying to look in, even though it
> was compiled with the gd dir specified.
> Anyhelp on this matter would make me a pretty happy fellow.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
>
--
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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