Re: [Nagios-users] Installing Nagios-Plugins [make errors]
Hello, On 19 April 2010 08:48, Mark Elsen mark.el...@gmail.com wrote: Try 'gmake' (GNU Make) , After using 'gmake' the error has now changed to this; *Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_freesslutils.o SSL_readsslutils.o SSLv23_client_methodsslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdownsslutils.o SSL_CTX_freesslutils.o SSL_library_initsslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status gmake[2]: *** [check_http] Error 1 gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14' gmake: *** [all] Error 2* Something wrong with the check_http plugin, perhaps? Juki. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Installing Nagios-Plugins [make errors] - Resolved
Thanks for the input Mark! I successfully installed openssl (pre-compiled package) and then re-run the 'configure' with this; ./configure --with-openssl=/usr/local/ssl --with-mysql=/usr/sfw/bin I added the 'with-mysql' path option because of a compile error that was looking for the path to mysql. I found the path to mysql by running; /usr/sfw/bin/mysql -V Then after 'configure' completed successfully, I run the following; gmake clean [really important step] gmake gmake install Thanks for the help! Regards, Juki -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Installing Nagios-Plugins [make errors]
Juki wrote: Hello, On 19 April 2010 08:48, Mark Elsen mark.el...@gmail.com mailto:mark.el...@gmail.com wrote: Try 'gmake' (GNU Make) , After using 'gmake' the error has now changed to this; /Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_freesslutils.o SSL_readsslutils.o SSLv23_client_methodsslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdownsslutils.o SSL_CTX_freesslutils.o SSL_library_initsslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status gmake[2]: *** [check_http] Error 1 gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14' gmake: *** [all] Error 2/ Something wrong with the check_http plugin, perhaps? Juki. When you run the configure script - did it say anything about SSL ? from first glance it seems that it is looking for the sslutil.o module and does not find it . Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Installing Nagios-Plugins [make errors]
Hi Juki, It looks like the compiler cannot find the OpenSSL libraries for linking. The http plugin needs these libraries for the https calls. Find the libcryptoxxx.so and libsslxxx.so libraries location, then try adding the path manually to the Makefile using the -L option, e.g. -L/usr/local/ssl/lib. Alternatively, you can try using the gcc environment variable LIBRARY_PATH or LDFLAGS to force the compiler to find the SSL libraries. $ LIBRARY_PATH=/usr/local/ssl/lib $ export LIBRARY_PATH LDFLAGS=-L/usr/local/ssl/lib export LDFLAGS Run make once more and see what happens. Cheers, Frank - Original Message - From: Juki To: Nagios Users List Sent: Monday, April 19, 2010 3:05 PM Subject: Re: [Nagios-users] Installing Nagios-Plugins [make errors] Hello, On 19 April 2010 08:48, Mark Elsen mark.el...@gmail.com wrote: Try 'gmake' (GNU Make) , After using 'gmake' the error has now changed to this; Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_freesslutils.o SSL_readsslutils.o SSLv23_client_methodsslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdownsslutils.o SSL_CTX_freesslutils.o SSL_library_initsslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status gmake[2]: *** [check_http] Error 1 gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14' gmake: *** [all] Error 2 Something wrong with the check_http plugin, perhaps? Juki. -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Nagios-users mailing list Nagios-users@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-- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] all notifications failing
Problem was indeed with the /tmp directory permissions. Reset this back to drwxrwxrwt and mail notifications work again. Thanks to Patrick and Thomas for the pointers. Regards Ewan -Original Message- From: Thomas Guyot-Sionnest [mailto:derm...@aei.ca] Sent: 17 April 2010 04:38 To: Nagios Users List Subject: Re: [Nagios-users] all notifications failing -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16/04/10 09:49 AM, Scott, Ewan wrote: Hi [...] # su - nagios $ /usr/bin/printf %b * Nagios *\nNotification | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** ewsc...@scotborders.gov.uk mail: Cannot open temporary file: Permission denied Cannot open temporary file Use strace to find out what fails. strace will print all syscalls used by the traced program and wou will see which one (including parameters) failed. Don't forget to trace the mail program, not printf. i.e.: $/usr/bin/printf %b * Nagios *\nNotification | strace /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** ewsc...@scotborders.gov.uk 2/tmp/mail_trace.log Here I added strace before /usr/bin/mail and redirected stderr to /tmp/mail_trace.log. Then you can look at /tmp/mail_trace.log for something like a failed open() call or for ENOPERM. The argument to the failed call should indicate which file failed. - -- Thomas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLyS0X6dZ+Kt5BchYRAgeuAJ46zQNJ+mdWLj94agD1qihi/pvZ1QCdGvlj gUs8215gRrSW21kl3wDq9CY= =o+AZ -END PGP SIGNATURE- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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 email and any files transmitted with it are privileged, confidential and subject to copyright. Any unauthorised use or disclosure of any part of this email is prohibited. If you are not the intended recipient please inform the sender immediately; you should then delete the email and remove any copies from your system. The views or opinions expressed in this communication may not necessarily be those of Scottish Borders Council. Please be advised that Scottish Borders Council's incoming and outgoing email is subject to regular monitoring and any email may require to be disclosed by the Council under the provisions of the Freedom of Information (Scotland) Act 2002. ** -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Monitoring Cisco Ironport
Hello all. Here, we have recently acquired a Cisco Ironport Email gateway appliance, and this makes all sorts of useful data available via an XML interface. Therefore, I have created a plugin for Nagios and MRTG that can collect and threshold this data using the HTTPS/XML interface. The plugin is written in Perl using LWP. It is still in its infancy, but can retrieve any of the counters, gauges and rates available on the standard web status screen; if anyone would like to have a copy of the v0.1 or has their own experiences in monitoring Ironports, please let me know... Due to impending growth of my family I may take a bit longer to reply that normal Steve -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1
Somewhere in the Nagios 3 chain we stopped receiving the $SERVICEOUTPUT$ in service-notify emails.. I found a few bug reports of similar issues.. we are on Ubuntu.. any quick fixes? It shows up in the nagios log; so the data is being passed.. [1271730453] SERVICE NOTIFICATION: pkranz-email;lpetersen;ping-residential;OK;notify-by-email;OK - lpetersen.pv1: rta 16.481ms, lost 0% But does not show up in the email; We are using the default notify template... * Nagios * Notification Type: RECOVERY Service: ping-residential Host: lpetersen Address: lpetersen.pv1 State: OK Date/Time: Mon Apr 19 19:27:33 PDT 2010 Additional Info: Peter Kranz www.UnwiredLtd.com Desk: 510-868-1614 x100 Mobile: 510-207- pkr...@unwiredltd.com -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1
Peter Kranz wrote: Somewhere in the Nagios 3 chain we stopped receiving the $SERVICEOUTPUT$ in service-notify emails.. I found a few bug reports of similar issues.. we are on Ubuntu.. any quick fixes? It shows up in the nagios log; so the data is being passed.. [1271730453] SERVICE NOTIFICATION: pkranz-email;lpetersen;ping-residential;OK;notify-by-email;OK - lpetersen.pv1: rta 16.481ms, lost 0% But does not show up in the email; We are using the default notify template... What's your template look like? The default notify template varies depending on several factors. Something a bit more precise would be nice (especially since your problem is almost certainly with that notify command). -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1
It's the default that comes with the .tar: # 'notify-by-email' command definition define command{ command_namenotify-by-email command_line/usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } -Peter -Original Message- From: Morris, Patrick [mailto:patrick.mor...@hp.com] Sent: Monday, April 19, 2010 8:23 PM To: Nagios Users List Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 Peter Kranz wrote: Somewhere in the Nagios 3 chain we stopped receiving the $SERVICEOUTPUT$ in service-notify emails.. I found a few bug reports of similar issues.. we are on Ubuntu.. any quick fixes? It shows up in the nagios log; so the data is being passed.. [1271730453] SERVICE NOTIFICATION: pkranz-email;lpetersen;ping-residential;OK;notify-by-email;OK - lpetersen.pv1: rta 16.481ms, lost 0% But does not show up in the email; We are using the default notify template... What's your template look like? The default notify template varies depending on several factors. Something a bit more precise would be nice (especially since your problem is almost certainly with that notify command). -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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