[Nagios-users] Nested notifications; parent vis-a-vis parent_host
Hey nagios people, Assume I have a happy system of a hypervisor and virtual machines. Further, there's a neat system of when a machine goes down an SMS and email is sent to the responsible person. However, when the parent machine goes down, all the VMs (for obvious reasons) send out a "Oh Noes!" message as well. This is not wanted. Now the nagios documentation, dating back from the netsaint days, says the system to walk a dependency path using parent_host... however the hosts.cfg has entries like the following: define host{ use generic-host; Name of host template to use host_name guestvm1 alias guestvm1 address xxx.xxx.xxx.xxx parents xendom0 check_command check-host-alive } Now presumably, cgis like statusmap.cgi is built from this information. Would changing 'parents' to 'parent_map' in the above fix the dependency walk and notifications? And would it break statusmap.cgi? Thanks in advance, Lev - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nrpe configuration on solaris.
1. On solaris, make sure you have the SSL libraries installed if you are going to use SSL. Solaris does not seem to have these by default. 2. If you disable SSL, you need to do it on the client as well. So, your inetd definition uses -n to disable SSL, and you must also give the -n option to the check_nrpe to disable SSL there as well. Steve If I use -t with check_nrpe and increase the time it gives me- Could not complete ssl handshake. I am sunning nrpe under inetd and have disabled ssl. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Distributed setups
> We're currently looking at creating a distributed setup using > NSCA. One thing that I've found no mention of is how the host and > service commands are forwarded. I think they are not. > Even if the central machien does all the notifications (as we're > planning), completely dis/enabling service/host checks would have > to be distributed from the central machine to the checking > machines. This is the biggest disadvantage of the distributed model, in my opinion - enable/disable checks commands are not propagated (and indeed cannot be without some serious reworking of the cmd.cgi interface) and so you cannot stop checking any more. However this is not such a big issue, as mostly you are more interested in scheduling downtime and disabling/acknowledging alerts, all of which are done on the central server. The satellite servers (collectors) do not do notifications, only pass the status on to the central server (aggregator) via the OCSP command. If I was obsessive about it, I'd modify the cmd.cgi script so that it spots a distributed service (no active checks, only freshness checks to set to 'unknown') and forwards to call to the host managing it (which I'd have to store the definition of in a separate database table or something). Too much trouble though, particularly since our users are forever clicking 'disable checks' when they actually mean 'disable alerts' or 'acknowledge'. Steve - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Nagios and Qpage
On Mon, 02 Jul 2007, Herrington, Tony wrote: > This is semi-Nagios related. I have Qpage all setup to notify by SMS out > a dial up modem, to a local landline, incase the network is down. I run > a test page, it queues up all ready to go, but then tells me my ttyS0 is > already in use. Anyone have any idea why this might happen? The phone > line is good to go, I can dial out and everything. Seems to be an issue > with ownership or something. Any suggestions would be awesome. Chances are ttyS0 is already in use (or, maybe, doesn't exist). Some process on the box, like a serial console, may have already grabbed the port. "lsof | grep ttyS0" may help. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nagios with Mysql
On Mon, 02 Jul 2007, [EMAIL PROTECTED] wrote: > I have recently compiled nagios - 3.0.a5 on Enterprise 3.0 linux. I > followed the instructions mentioned on > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html . > > But I want to compile Nagios with Mysql. Can some one help me by > providing a document on that. > > I am not finding any url which has the document. Nagios itself has no direct MySQL support to be compiled in. ndoutils is an external add-on that provides some database support: http://sourceforge.net/project/showfiles.php?group_id=26589 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Unable to installed the plugins
Your name is Ton and I like to give you Ton of thanks, Please accept, it work Max, Fyi I compiled manually, root cause is the "Space" on my base directory, thanks to you also. Many thanks again, -Manas -Original Message- From: Ton Voon [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 4:52 PM To: Paikray, Manas (GE Money, consultant) Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Unable to installed the plugins On 2 Jul 2007, at 20:07, Paikray, Manas (GE Money, consultant) wrote: > +Error+ > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" - DHAVE_CONFIG_H > -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/ > include/ldap -I/include -I/usr/include-g -O2 -MT check_apt.o - > MD -MP -MF ".deps/check_apt.Tpo" -c -o check_apt.o check_apt.c; \ then > mv -f ".deps/check_apt.Tpo" ".deps/check_apt.Po"; else rm -f > ".deps/check_apt.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC > --mode=link gcc -g -O2 -L. -o check_apt check_apt.o utils.o > ../lib/libnagiosplug.a ../gl/ libgnu.a runcmd.o > libtool: link: cannot find the library `' or unhandled argument `/ > nagios-plugins-1.4.7/plugins' > make[2]: *** [check_apt] Error 1 > make[2]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7' > make: *** [all] Error 2 Is the space after /opt/Backup correct? There is a known problem with the automake tools if the path to the compile area contains a space. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Problem in compiling nagios-plugin-1.4.9
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max Hetrick wrote: > Add to /etc/sysconfig/rhn/sources > > #Uncomment dag's repo to install/update packages > yum dag http://dag.atrpms.net/redhat/el4/en/$basearch/dag I take that back, use this: #Uncomment dag's repo to install/update packages yum dag http://apt.sw.be/redhat/el4/en/$ARCH/dag I checked on his website, and he changed it. http://dag.wieers.com/rpm/FAQ.php#B5 Regards, Max -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiWeXHoeeepPau2ERAinGAJ4pzSqVjmIpycg9nAdBqbvsgp5T2gCgkRCA mA3Xtnm5vA9ZHayIwwQEMqo= =+4bL -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Problem in compiling nagios-plugin-1.4.9
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paikray, Manas (GE Money, consultant) wrote: > Hi Max, > > Getting below error while trying using rpm, > > [EMAIL PROTECTED] ~]# rpm -ivh > nagios-plugins-1.4.4-1.el4.rf.i386.rpm > warning: nagios-plugins-1.4.4-1.el4.rf.i386.rpm: V3 DSA signature: > NOKEY, key ID 6b8d79e6 > error: Failed dependencies: > perl(Net::SNMP) is needed by nagios-plugins-1.4.4-1.el4.rf.i386 > Yeah, I forgot about that. There are a few dependencies for using the RPM. If you're not against installing them, then you can add Dag's repo to your RHEL configuration long enough to install, and then remove it. Install Dag's package key: rpm -import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt Add to /etc/sysconfig/rhn/sources #Uncomment dag's repo to install/update packages yum dag http://dag.atrpms.net/redhat/el4/en/$basearch/dag Remember to comment the yum line back out after you are done installing things, as to not screw up the RPM database by accident at a later date. This isn't supported by Red Hat, so if this is a production machine, please be aware of that. I've done this before, however, on two production machines and not had a problem, but that doesn't mean something won't break. Now, do your normal up2date to install things. up2date --install nagios-plugins I don't remember if it takes care of dependencies or not, but if it doesn't, you can install perl-Net-SNMP the same: up2date --install perl-Net-SNMP This will also make it easier to upgrade the package in the future, just remember to comment the yum dag line out when you are finished installing or upgrading packages from his repo. Regards, Max -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiWbQHoeeepPau2ERAkbHAJwPwiHK7m+M1RGAfCX7cRJKNxwJWgCfdJNt 6Hh40rCK8/lKuONNpjpFSUI= =B/Co -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Unable to installed the plugins
On 2 Jul 2007, at 20:07, Paikray, Manas (GE Money, consultant) wrote: > +Error+ > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" - > DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/ > include/ldap -I/include -I/usr/include-g -O2 -MT check_apt.o - > MD -MP -MF ".deps/check_apt.Tpo" -c -o check_apt.o check_apt.c; \ > then mv -f ".deps/check_apt.Tpo" ".deps/check_apt.Po"; else rm -f > ".deps/check_apt.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o > check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/ > libgnu.a runcmd.o > libtool: link: cannot find the library `' or unhandled argument `/ > nagios-plugins-1.4.7/plugins' > make[2]: *** [check_apt] Error 1 > make[2]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7' > make: *** [all] Error 2 Is the space after /opt/Backup correct? There is a known problem with the automake tools if the path to the compile area contains a space. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nagios with Mysql
Hi I have recently compiled nagios - 3.0.a5 on Enterprise 3.0 linux. I followed the instructions mentioned on http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html . But I want to compile Nagios with Mysql. Can some one help me by providing a document on that. I am not finding any url which has the document. Thanks - LK - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios and Qpage
This is semi-Nagios related. I have Qpage all setup to notify by SMS out a dial up modem, to a local landline, incase the network is down. I run a test page, it queues up all ready to go, but then tells me my ttyS0 is already in use. Anyone have any idea why this might happen? The phone line is good to go, I can dial out and everything. Seems to be an issue with ownership or something. Any suggestions would be awesome. Thanks! Tony Herrington Asst. Network Administrator Decker Truck Line, Inc. 4000 5th Ave South Fort Dodge, IA 50501 (515) 576-4141 ext. 2179 Cell # 1.515.851.2888 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] check_mysql - how to store passwords securely
On 7/2/07, Jake Solid <[EMAIL PROTECTED]> wrote: > > I use the NRPE deamon my Nagios server to monitor a remote mysql database. > > I have the following entry in the nrpe.cfg of my remote server that runs > mysql: > > command[check_mysql]=/usr/lib64/nagios/plugins/check_mysql > -d my_database -u root -p mypassword Why are you using your root user to test the database? All you really need to do is grant USAGE rights to test user and then not give them rights to anything else. From here, you can use your resource file to put the password in there, and with proper permissions, only root and the nagios user can read that file. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Problem in compiling nagios-plugin-1.4.9
I can compile nagios-plugin-1.4.3 successfully but not 1.4.9. Need to compile it myself to make sure I know the details. Kevin SZ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paikray, Manas (GE Money, consultant) Sent: Monday, July 02, 2007 1:37 PM To: Max Hetrick; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 Hi Max, Getting below error while trying using rpm, [EMAIL PROTECTED] ~]# rpm -ivh nagios-plugins-1.4.4-1.el4.rf.i386.rpm warning: nagios-plugins-1.4.4-1.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.4.4-1.el4.rf.i386 >From where I will get this depended object, I tried but still no luck. Thanks, -Manas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Hetrick Sent: Monday, July 02, 2007 4:27 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Zhang wrote: > I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise > Linux ES release 4 (Nahant Update 4). > But encountered the following errors. Could someone help? Thanks in advance. > Is there a particular reason you are compiling them, instead of installing them from RPM? This would be much easier on yourself. http://dag.wieers.com/packages/nagios-plugins/ Regards, Max -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiV+CHoeeepPau2ERAhfjAJ0QQIgsmR82LpBkxRViIZKcULVfowCeLMMQ nC1XfKyjWfLhd10IL1Gphi0= =rjUO -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Problem in compiling nagios-plugin-1.4.9
Hi Max, Getting below error while trying using rpm, [EMAIL PROTECTED] ~]# rpm -ivh nagios-plugins-1.4.4-1.el4.rf.i386.rpm warning: nagios-plugins-1.4.4-1.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.4.4-1.el4.rf.i386 >From where I will get this depended object, I tried but still no luck. Thanks, -Manas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Hetrick Sent: Monday, July 02, 2007 4:27 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Zhang wrote: > I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise > Linux ES release 4 (Nahant Update 4). > But encountered the following errors. Could someone help? Thanks in advance. > Is there a particular reason you are compiling them, instead of installing them from RPM? This would be much easier on yourself. http://dag.wieers.com/packages/nagios-plugins/ Regards, Max -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiV+CHoeeepPau2ERAhfjAJ0QQIgsmR82LpBkxRViIZKcULVfowCeLMMQ nC1XfKyjWfLhd10IL1Gphi0= =rjUO -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] check_mysql - how to store passwords securely
I use the NRPE deamon my Nagios server to monitor a remote mysql database. I have the following entry in the nrpe.cfg of my remote server that runs mysql: command[check_mysql]=/usr/lib64/nagios/plugins/check_mysql -d my_database -u root -p mypassword It connects properly BUT Is there a way that I can have the password stored securely, NOT in a text file. Thanks. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Problem in compiling nagios-plugin-1.4.9
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Zhang wrote: > I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise > Linux ES release 4 (Nahant Update 4). > But encountered the following errors. Could someone help? Thanks in advance. > Is there a particular reason you are compiling them, instead of installing them from RPM? This would be much easier on yourself. http://dag.wieers.com/packages/nagios-plugins/ Regards, Max -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGiV+CHoeeepPau2ERAhfjAJ0QQIgsmR82LpBkxRViIZKcULVfowCeLMMQ nC1XfKyjWfLhd10IL1Gphi0= =rjUO -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Problem in compiling nagios-plugin-1.4.9
I am also getting the same error, please let me know if you got the solution, Many Thanks, -Manas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Zhang Sent: Monday, July 02, 2007 4:08 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem in compiling nagios-plugin-1.4.9 I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise Linux ES release 4 (Nahant Update 4). But encountered the following errors. Could someone help? Thanks in advance. Kevin SZ Making all in plugins make[2]: Entering directory `/root/nagios-plugins-1.4.9/plugins' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/root/nagios-plugins-1.4.9/plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function `dlfcn_unload': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x241): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d5): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x321): In function `dlfcn_bind_func': : undefined reference to `dlerror' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.9/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.9' make: *** [all] Error 2 [EMAIL PROTECTED] nagios-plugins-1.4.9]# - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Problem in compiling nagios-plugin-1.4.9
I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise Linux ES release 4 (Nahant Update 4). But encountered the following errors. Could someone help? Thanks in advance. Kevin SZ Making all in plugins make[2]: Entering directory `/root/nagios-plugins-1.4.9/plugins' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/root/nagios-plugins-1.4.9/plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function `dlfcn_unload': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x241): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d5): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x321): In function `dlfcn_bind_func': : undefined reference to `dlerror' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.9/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.9' make: *** [all] Error 2 [EMAIL PROTECTED] nagios-plugins-1.4.9]# - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Unable to installed the plugins
Hi All, Can someone help me here so I can installed the nagios with the plugins users, getting below errors while compilation the plugins. Linux MYUSVWSHQLAB025 2.6.9-22.EL #1 Mon Sep 19 18:20:28 EDT 2005 i686 i686 i386 GNU/Linux [EMAIL PROTECTED] nagios-plugins-1.4.7]# cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 2) [EMAIL PROTECTED] nagios-plugins-1.4.7]# Nagios verison:- 3.0a4 Plugins:- 1.4.7 +Error+ if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/include -I/usr/include-g -O2 -MT check_apt.o -MD -MP -MF ".deps/check_apt.Tpo" -c -o check_apt.o check_apt.c; \ then mv -f ".deps/check_apt.Tpo" ".deps/check_apt.Po"; else rm -f ".deps/check_apt.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o libtool: link: cannot find the library `' or unhandled argument `/nagios-plugins-1.4.7/plugins' make[2]: *** [check_apt] Error 1 make[2]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7' make: *** [all] Error 2 Thanks, -Manas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Dependencie question
chiel schrieb am Montag, den 02. Juli 2007: > hi, > > I want that if a child is checked and it seems to be down it also checks the > parrent if its down. Because now I just uses the last check state from the > parrent. > This is for both hosts and services dependecie. Using the "parents" directive instead of a dependency for hosts will give you that. Otherwise, you can use an eventhandler to kick off an immediate check of the parent if the child has a problem. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nrpe vs snmp resources
Basically you can do everything with SNMP. With nearly all devices. But I never have seen a router with nrpe installed. While knew that SNMP did just about everything that NRPE did, but I thought that there might be a couple of things NRPE did independent of SNMP. If I understand everything correctly, what NRPE does differently ("better"?) is just make some of these configs a bit easier? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] nrpe vs snmp resources
Am Montag, 2. Juli 2007 17:03 schrieb Rogelio Bastardo: > I remember a while back seeing a well-written "NRPE vs SNMP" webpage > (that was incredibly detailed). > > I've googled for a while, and can't seem to refind it. > > If anyone has a good one, do share! > > thx Basically you can do everything with SNMP. With nearly all devices. But I never have seen a router with nrpe installed. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [EMAIL PROTECTED] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] best place to put NSClient++ on a Windows server?
I recently downloaded the NSClient++ plugin so that I could monitor my NT servers using Nagios. In the instructions (http://trac.nakednuns.org/nscp/wiki/Documentation), it says to install it via the command line ("nsclient++.exe /install"). I do that, it says that it's finished, so I'm assuming that the NSC.ini file I have to edit is the one I have in my c:\temp\ dir. Any suggestions on where the best place to put this is on a Windows server? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] nrpe vs snmp resources
I remember a while back seeing a well-written "NRPE vs SNMP" webpage (that was incredibly detailed). I've googled for a while, and can't seem to refind it. If anyone has a good one, do share! thx - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Dependencie question
hi, I want that if a child is checked and it seems to be down it also checks the parrent if its down. Because now I just uses the last check state from the parrent. This is for both hosts and services dependecie. How can I set this up? chiel- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios 3.0 EPN problems....
Hi, Sorry for the late response. I used Nagios 3.0a5, on FreeBSD 6.2-Release. I noticed the p1.pl, included in the distribution was for nagios 2.0, the comments within p1.pl state this. I have downgraded for now, as i use perl check plugins quite much. EPN is truly amazing in regards to system load. Kind Regars, Peter Krüpl. Peter Ringe wrote: > Hi all together, > > I have had similar problem with 3.0a3 and 3.0a4. Didn't check with 3.0a5 > yet, but I will do (hopefully) next week. > I tested with Redhat RHES3 and RHES4. Didn't check to use > "use_embedded_perl_implicitly". > > Will try to reproduce that. > > Which exact Version of Nagios and OS do You use? > > > Regards, > Peter > > > > Peter Krüpl schrieb: > >> Hi Again, >> >> I forgot to write how the output get's messed up... >> >> The output gets garbled like the following: "-64;-66;:67 Peer is Up." >> instead of :"AS9167 Peer is Up." >> >> This happens when i have "use_embedded_perl_implicitly=1" configured >> When i have "use_embedded_perl_implicitly=0" configured and >> include "# nagios: +epn" in my plugins the output is ok. >> >> Since i have no clue whetever EPN is used as i do not get any EPN debug >> logs, >> i can not tell if it works. >> >> >> Peter Krüpl skrev: >> >> >>> Hi Group, >>> >>> I am currently trying to get EPN up and running for Nagios 3.0a5. >>> So far i works partially... but i have some problems. >>> >>> 1. Plugin output gets garbled eg: >>> 2. No log output from p1.pl is generated... >>> >>> Has anyone expeirienced similar issues, or am i he only one ? >>> >>> Kind Regards, >>> Peter Krüpl >>> >>> >>> >>> >>> >>> >>> - >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> ___ >>> 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 SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ___ >> 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 SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > 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 SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Distributed setups
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Tobias Klausmann > Sent: Monday, July 02, 2007 4:52 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Distributed setups > Even if the central machien does all the notifications (as we're > planning), completely dis/enabling service/host checks would have > to be distributed from the central machine to the checking > machines. How often do you really do that? I've found that scheduled downtime fits 99% of situations and those that that it doesn't (long term outages), editing the config on the master then rsync/scp and reload on the collector works just fine. > Or is the usual setup to let the useres access the web interface > of each "checker machine"? Then how do people know which checks > are run from which machine? > > If the central machien only does the "webservice job", i.e. > notifications are handled on the checking machines, how are > sceduled dowtimes, acknowledgements etc handled? We do everything on the central machine. Our collectors just collect and send results inward. Users all use just the central machine. Scheduled downtimes, acknowledgements, etc don't need to propagate out if you do all your management and reporting from the central machine. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] check_snmp setup questions
Am Freitag, 29. Juni 2007 schrieb Mark Haney: > I have just setup a check_snmp service in Nagios v2.9 to be able to > check a new temperature/humidity sensor in our data center. > > #check_snmp_POP_Temp command > define command{ > command_namecheck_snmp > command_line$USER1$/check_snmp -H $HOSTADDRESS -o $ARG1$ > -C $ARG2$ -w $ARG3$ -c $ARG4$ > > > So obviously I've got something wrong in the setup. Can someone help > me out? Missing dollar sign after $HOSTADDRESS ? Christopher -- == Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.110 [EMAIL PROTECTED] Tel.: +49 5251 60 5315 == pgprUU8b9T4AY.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Distributed setups
Apologies for the other mail with the wrong setup. Too little coffee on my part. Hi! We're currently looking at creating a distributed setup using NSCA. One thing that I've found no mention of is how the host and service commands are forwarded. Even if the central machien does all the notifications (as we're planning), completely dis/enabling service/host checks would have to be distributed from the central machine to the checking machines. Or is the usual setup to let the useres access the web interface of each "checker machine"? Then how do people know which checks are run from which machine? If the central machien only does the "webservice job", i.e. notifications are handled on the checking machines, how are sceduled dowtimes, acknowledgements etc handled? I see how one could write a script or somesuch that distributes this stuff, but I'd rather not reinvent the wheel. Regards, Tobias - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] check_amanda with nsca
Hi! We're currently looking at creating a distributed setup using NSCA. One thing that I've found no mention of is how the host and service commands are forwarded. Even if the central machien does all the notifications (as we're planning), completely dis/enabling service/host checks would have to be distributed from the central machine to the checking machines. Or is the usual setup to let the useres access the web interface of each "checker machine"? Then how do people know which checks are run from which machine? If the central machien only does the "webservice job", i.e. notifications are handled on the checking machines, how are sceduled dowtimes, acknowledgements etc handled? I see how one could write a script or somesuch that distributes this stuff, but I'd rather not reinvent the wheel. Regards, Tobias - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] check_amanda with nsca
Thomas Ginestet a écrit : > Hi list, > > I would like to use the plugin check_amanda (a python script) with nsca > but it doesn't seem to work: > In the client side, here is the output: > echo "backup;check_amanda;return_code;`./check_amanda`" | > /usr/sbin/send_nsca -H serverIP -d ";" -to 500 -c /etc/nagios/send_nsca.cfg > 1 data packet(s) sent to host successfully. > > In the server side, here is the output (/var/log/syslog): > Jun 19 15:30:22 nagios nsca[8621]: connect from backup (clientIP) > Jun 19 15:30:22 nagios nsca[8621]: Handling the connection... > Jun 19 15:32:07 nagios nsca[8621]: Dropping packet with stale timestamp > - packet was 105 seconds old. > > With the others plugins like check_users, check_imap, check_http, etc it > can works: > client side: > echo "backup;check_http;return_code;`./check_http -H serverIP`" | > /usr/sbin/send_nsca -H servIP -d ";" -to 1000 -c /etc/nagios/send_nsca.cfg > 1 data packet(s) sent to host successfully. > > server side: > Jun 19 15:42:26 nagios nsca[11212]: connect from backup (192.168.6.36) > Jun 19 15:42:26 nagios nsca[11212]: Handling the connection... > Jun 19 15:42:26 nagios nsca[11212]: SERVICE CHECK -> Host Name: > 'backup', Service Description: 'check_http', Return Code: '0', Output: > 'OK - HTTP/1.1 302 Found - 0.126 second response time > |time=0.125801s;;;0.00 size=484B;;;0' > Jun 19 15:42:26 nagios nsca[11212]: End of connection... > > check_amanda works fine if manually launched: > backup:/usr/lib/nagios/plugins# ./check_amanda > Amanda backup for "DailySet" is ok. > > Check_amanda is the only python script i use with nsca, could it be the > problem ? Does anyone use this plugin with nsca ? > > Thks in advance, > > Thomas Ginestet > I've solved my problem using several scripts based on check_grep (nagios-of-plugins-0.8.3.tar.gz). Two for the amcheck (one for the label check and one for the connection check) and one for amstatus. In order to use nsca, you have to do a thing like this: - a config file config.pl (usefull if you have more than one check with nsca, useless if not): #!/usr/bin/perl $nsca_host="@ip"; $config="/etc/nagios/send_nsca.cfg"; $send_nsca="/usr/sbin/send_nsca -c $config -H $nsca_host"; - a perl script amstatus.pl (for example): #!/usr/bin/perl require "/usr/lib/nagios/plugins/config.pl"; $cmd="/usr/lib/nagios/plugins/amstatus.sh"; $hosts="backup"; $service="backup_check_status"; # you have to create this service on the services conf file / oreon interface $RESULT=`$cmd`; if ($RESULT =~ /OK/) { $code = 0; } if ($RESULT =~ /WARNING/) { $code = 1; } if ($RESULT =~ /CRITICAL/) { $code = 2; } open(SEND,"|$send_nsca") || die "Could not run $send_nsca: $!\n"; print SEND "$hosts\t$service\t$code\t$RESULT\n"; close SEND; - a bash script amstatus.sh with the command to use: #!/bin/sh /usr/lib/nagios/plugins/check_grep "dumped : 52" --command 'amstatus DayliSet' # 52 if the number of entries in my disklist, so you'll have to change this to suit your needs. Then, add the amstatus.pl to the crontab Hope this help Thomas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] nrpe configuration on solaris.
Hi, I have installed and configured nrpe on a solaris client. It has been working successfully for me. But recently I tried to configure it the same way on two more solaris machines and it is giving me the following error- Check_nrpe:socket timeout after 10 seconds. If I use -t with check_nrpe and increase the time it gives me- Could not complete ssl handshake. I am sunning nrpe under inetd and have disabled ssl. Kindly help. lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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