[Nagiosplug-help] Re: Nagiosplug-help digest, Vol 1 #673 - 8 msgs

Tony Despain tony.despain at gmail.com
Fri Feb 11 14:40:11 CET 2005


Now I am getting this error when I try to compile nrpe on solaris 8:

*** Generating DH Parameters for SSL/TLS ***
ld.so.1: /usr/local/ssl/bin/openssl: fatal: libssl.so.0.9.7: open
failed: No such file or directory
Killed

My path variable is the following:
PATH=.:/usr/bin:/usr/sbin:/usr/local:/usr/local/bin:/usr/ccs/bin:/usr/ccs/lib:/usr/include:/usr/local/ssl/lib:/export/home/SMCossl/reloc/lib

The libssl.so.0.9.7 is found in usr/local/ssl/lib as well as the next
directory listed in my path variable.  Anyone have any ideas on this
one?


On Fri, 11 Feb 2005 10:55:12 -0800,
nagiosplug-help-request at lists.sourceforge.net
<nagiosplug-help-request at lists.sourceforge.net> wrote:
> Send Nagiosplug-help mailing list submissions to
>        nagiosplug-help at lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> or, via email, send a message with subject or body 'help' to
>        nagiosplug-help-request at lists.sourceforge.net
> 
> You can reach the person managing the list at
>        nagiosplug-help-admin at lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nagiosplug-help digest..."
> 
> Today's Topics:
> 
>   1. RE: Nagios SNMP help for CPU utilization (Patrick Proy)
>   2. RE: Nagios SNMP help for CPU utilization (Mohanty, Amitabh (Corporate, consultant))
>   3. RE: Nagios SNMP help for CPU utilization (Patrick Proy)
>   4. RE: Nagios SNMP help for CPU utilization (Mohanty, Amitabh (Corporate, consultant))
>   5. RE: Nagios SNMP help for CPU utilization (Patrick Proy)
>   6. Help compiling nrpe plugin on solaris 8 sunblade 100 (Tony Despain)
>   7. Re: Help compiling nrpe plugin on solaris 8 sunblade
>       100 (Subhendu Ghosh)
> 
> --__--__--
> 
> Message: 1
> From: "Patrick Proy" <nagios-user at proy.org>
> To: "'Mohanty, Amitabh (Corporate, consultant)'" <amitabh.mohanty at corporate.ge.com>,
>        <nagiosplug-help at lists.sourceforge.net>
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> Date: Fri, 11 Feb 2005 14:24:52 +0100
> 
> Hi,
> 
> If you want real-time value, you must get the counters (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) instead.
> But you won't be able to use check_snmp....
> 
> Patrick
> nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant)
> Envoy=E9 : jeudi 10 f=E9vrier 2005 17:24
> =C0 : nagiosplug-help at lists.sourceforge.net
> Objet : [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
>  I am using Nagios snmp plugin (NetSNMP) for monitoring the cpu usage =
> of
> remote servers (Running Red Hat Linux). The output I am getting is the
> average value  instead of the real-time value (i.e. output of the top
> command). I am using the following command.=20
>  I would appreciate if someone can help me out on this.
> 
> ./check_snmp -H <host_name> -C <community_name> -o
> .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.1=
> 1.0
> 
> Thanks,
> Amitabh Mohanty
> GE - CIS (Corporate Communications)
> Tel: 203-944-6411 Dialcomm: 8*233-6411
> Mobile: 203-223-9200
> Email: amitabh.mohanty at corporate.ge.com=20
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> --__--__--
> 
> Message: 2
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> Date: Fri, 11 Feb 2005 09:16:57 -0500
> From: "Mohanty, Amitabh \(Corporate, consultant\)" <amitabh.mohanty at corporate.ge.com>
> To: "Patrick Proy" <nagios-user at proy.org>,
>        <nagiosplug-help at lists.sourceforge.net>
> 
> Hi Patrick,
>  Thanks for your quick response. I think I can use snmpget (in linux) =
> instead and add that command in a shell script and call the script in =
> Nagios. But do you know how can I convert the counter values =
> (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) to the percentage of CPU =
> utilization?
> 
> Thanks,
> Amitabh
> 
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Friday, February 11, 2005 8:25 AM
> To: Mohanty, Amitabh (Corporate, consultant);
> nagiosplug-help at lists.sourceforge.net
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
> 
> If you want real-time value, you must get the counters (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) instead.
> But you won't be able to use check_snmp....
> 
> Patrick
> nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant)
> Envoy=E9 : jeudi 10 f=E9vrier 2005 17:24
> =C0 : nagiosplug-help at lists.sourceforge.net
> Objet : [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
>  I am using Nagios snmp plugin (NetSNMP) for monitoring the cpu usage =
> of
> remote servers (Running Red Hat Linux). The output I am getting is the
> average value  instead of the real-time value (i.e. output of the top
> command). I am using the following command.=20
>  I would appreciate if someone can help me out on this.
> 
> ./check_snmp -H <host_name> -C <community_name> -o
> .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.1=
> 1.0
> 
> Thanks,
> Amitabh Mohanty
> GE - CIS (Corporate Communications)
> Tel: 203-944-6411 Dialcomm: 8*233-6411
> Mobile: 203-223-9200
> Email: amitabh.mohanty at corporate.ge.com=20
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> --__--__--
> 
> Message: 3
> From: "Patrick Proy" <nagios-user at proy.org>
> To: "'Mohanty, Amitabh (Corporate, consultant)'" <amitabh.mohanty at corporate.ge.com>,
>        <nagiosplug-help at lists.sourceforge.net>
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> Date: Fri, 11 Feb 2005 16:21:30 +0100
> 
> That's easy : just store the counter values, make a substraction and =
> divide
> by all the values. You will need to write a script for this...=20
> Why do you need instant CPU BTW ?
> 
> Patrick
> nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant)
> Envoy=E9 : vendredi 11 f=E9vrier 2005 15:17
> =C0 : Patrick Proy; nagiosplug-help at lists.sourceforge.net
> Objet : RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi Patrick,
>  Thanks for your quick response. I think I can use snmpget (in linux)
> instead and add that command in a shell script and call the script in
> Nagios. But do you know how can I convert the counter values =
> (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) to the percentage of CPU
> utilization?
> 
> Thanks,
> Amitabh
> 
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Friday, February 11, 2005 8:25 AM
> To: Mohanty, Amitabh (Corporate, consultant);
> nagiosplug-help at lists.sourceforge.net
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
> 
> If you want real-time value, you must get the counters (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) instead.
> But you won't be able to use check_snmp....
> 
> Patrick
> nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant) Envoy=E9 : jeudi 10 f=E9vrier 2005 17:24 =
> =C0 :
> nagiosplug-help at lists.sourceforge.net
> Objet : [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
>  I am using Nagios snmp plugin (NetSNMP) for monitoring the cpu usage =
> of
> remote servers (Running Red Hat Linux). The output I am getting is the
> average value  instead of the real-time value (i.e. output of the top
> command). I am using the following command.=20
>  I would appreciate if someone can help me out on this.
> 
> ./check_snmp -H <host_name> -C <community_name> -o
> .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.1=
> 1.0
> 
> Thanks,
> Amitabh Mohanty
> GE - CIS (Corporate Communications)
> Tel: 203-944-6411 Dialcomm: 8*233-6411
> Mobile: 203-223-9200
> Email: amitabh.mohanty at corporate.ge.com=20
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> --__--__--
> 
> Message: 4
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> Date: Fri, 11 Feb 2005 10:32:52 -0500
> From: "Mohanty, Amitabh \(Corporate, consultant\)" <amitabh.mohanty at corporate.ge.com>
> To: "Patrick Proy" <nagios-user at proy.org>,
>        <nagiosplug-help at lists.sourceforge.net>
> 
> Hi,
>  I am sorry.. did not get you. Do I have to store subsequent values in =
> two variables values of snmpget and subtract?
> Then what is the value I need to divide with the out put of subtraction?
> 
> The OID I am using for is getting the CPU usage is an average one. For =
> example using the OID I get the average CPU idle value of 62%, but if I =
> log on to the server I get the CPU idle value of 90% idle and I get an =
> alert on Nagios as our warning threshold is 70% (if it falls below 70% =
> it sends an alert). Hope this make you understand. Please correct me if =
> I am doing anything wrong.
> Appreciate your help..
> 
> Thanks,
> Amitabh
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Friday, February 11, 2005 10:22 AM
> To: Mohanty, Amitabh (Corporate, consultant);
> nagiosplug-help at lists.sourceforge.net
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> That's easy : just store the counter values, make a substraction and =
> divide
> by all the values. You will need to write a script for this...=20
> Why do you need instant CPU BTW ?
> 
> Patrick
> nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant)
> Envoy=E9 : vendredi 11 f=E9vrier 2005 15:17
> =C0 : Patrick Proy; nagiosplug-help at lists.sourceforge.net
> Objet : RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi Patrick,
>  Thanks for your quick response. I think I can use snmpget (in linux)
> instead and add that command in a shell script and call the script in
> Nagios. But do you know how can I convert the counter values =
> (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) to the percentage of CPU
> utilization?
> 
> Thanks,
> Amitabh
> 
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Friday, February 11, 2005 8:25 AM
> To: Mohanty, Amitabh (Corporate, consultant);
> nagiosplug-help at lists.sourceforge.net
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
> 
> If you want real-time value, you must get the counters (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) instead.
> But you won't be able to use check_snmp....
> 
> Patrick
> nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant) Envoy=E9 : jeudi 10 f=E9vrier 2005 17:24 =
> =C0 :
> nagiosplug-help at lists.sourceforge.net
> Objet : [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
>  I am using Nagios snmp plugin (NetSNMP) for monitoring the cpu usage =
> of
> remote servers (Running Red Hat Linux). The output I am getting is the
> average value  instead of the real-time value (i.e. output of the top
> command). I am using the following command.=20
>  I would appreciate if someone can help me out on this.
> 
> ./check_snmp -H <host_name> -C <community_name> -o
> .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.1=
> 1.0
> 
> Thanks,
> Amitabh Mohanty
> GE - CIS (Corporate Communications)
> Tel: 203-944-6411 Dialcomm: 8*233-6411
> Mobile: 203-223-9200
> Email: amitabh.mohanty at corporate.ge.com=20
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> --__--__--
> 
> Message: 5
> From: "Patrick Proy" <nagios-user at proy.org>
> To: "'Mohanty, Amitabh (Corporate, consultant)'" <amitabh.mohanty at corporate.ge.com>,
>        <nagiosplug-help at lists.sourceforge.net>
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> Date: Fri, 11 Feb 2005 16:56:27 +0100
> 
> OK, let's do a little math :=20
> 
> At time T0, you query the four values A1,B1,C1,D1 for the four counters
> (ssCpuRawUser, ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle)=20
> 
> At T0 + N seconds, query A2,B2,C2,D2
> Then to get the Idle% of the cpu (during those N seconds) : Idle % =3D
> (D2-D1)*100/(A2+B2+C2+D2-A1-B1-C1-D1)
> 
> If you want instant value then N=3D5seconds : then you don't even have =
> to
> store the values.
> Else N=3D300 seconds for 5 minutes average : you must store the values.
> 
> Patrick Proy
> nagios AT proy.org=20
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant)
> Envoy=E9 : vendredi 11 f=E9vrier 2005 16:33
> =C0 : Patrick Proy; nagiosplug-help at lists.sourceforge.net
> Objet : RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
>  I am sorry.. did not get you. Do I have to store subsequent values in =
> two
> variables values of snmpget and subtract?
> Then what is the value I need to divide with the out put of subtraction?
> 
> The OID I am using for is getting the CPU usage is an average one. For
> example using the OID I get the average CPU idle value of 62%, but if I =
> log
> on to the server I get the CPU idle value of 90% idle and I get an alert =
> on
> Nagios as our warning threshold is 70% (if it falls below 70% it sends =
> an
> alert). Hope this make you understand. Please correct me if I am doing
> anything wrong.
> Appreciate your help..
> 
> Thanks,
> Amitabh
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Friday, February 11, 2005 10:22 AM
> To: Mohanty, Amitabh (Corporate, consultant);
> nagiosplug-help at lists.sourceforge.net
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> That's easy : just store the counter values, make a substraction and =
> divide
> by all the values. You will need to write a script for this...=20
> Why do you need instant CPU BTW ?
> 
> Patrick
> nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant) Envoy=E9 : vendredi 11 f=E9vrier 2005 =
> 15:17 =C0 :
> Patrick Proy; nagiosplug-help at lists.sourceforge.net
> Objet : RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi Patrick,
>  Thanks for your quick response. I think I can use snmpget (in linux)
> instead and add that command in a shell script and call the script in
> Nagios. But do you know how can I convert the counter values =
> (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) to the percentage of CPU
> utilization?
> 
> Thanks,
> Amitabh
> 
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Friday, February 11, 2005 8:25 AM
> To: Mohanty, Amitabh (Corporate, consultant);
> nagiosplug-help at lists.sourceforge.net
> Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
> 
> If you want real-time value, you must get the counters (ssCpuRawUser,
> ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) instead.
> But you won't be able to use check_snmp....
> 
> Patrick
> nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de =
> Mohanty,
> Amitabh (Corporate, consultant) Envoy=E9 : jeudi 10 f=E9vrier 2005 17:24 =
> =C0 :
> nagiosplug-help at lists.sourceforge.net
> Objet : [Nagiosplug-help] Nagios SNMP help for CPU utilization
> 
> Hi,
>  I am using Nagios snmp plugin (NetSNMP) for monitoring the cpu usage =
> of
> remote servers (Running Red Hat Linux). The output I am getting is the
> average value  instead of the real-time value (i.e. output of the top
> command). I am using the following command.=20
>  I would appreciate if someone can help me out on this.
> 
> ./check_snmp -H <host_name> -C <community_name> -o
> .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.1=
> 1.0
> 
> Thanks,
> Amitabh Mohanty
> GE - CIS (Corporate Communications)
> Tel: 203-944-6411 Dialcomm: 8*233-6411
> Mobile: 203-223-9200
> Email: amitabh.mohanty at corporate.ge.com=20
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> -------------------------------------------------------
> 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_id=14396&op=3Dick
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. =
> 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> --__--__--
> 
> Message: 6
> Date: Fri, 11 Feb 2005 11:41:21 -0700
> From: Tony Despain <tony.despain at gmail.com>
> Reply-To: Tony Despain <tony.despain at gmail.com>
> To: nagiosplug-help at lists.sourceforge.net, adespain at zionsbank.com
> Subject: [Nagiosplug-help] Help compiling nrpe plugin on solaris 8 sunblade 100
> 
> I have slowly been making progress on compiling nrpe on a solaris 8
> machine.  At first it wouldn't compile so I added the gcc package
> along with autoconf, automake, and make packages from
> www.freesunware.com.  I have been able to run ./configure in the
> nrpe-2.0 directory.  And I get a lot of yes answers when it runs and a
> couple of no.
> 
> My Path is set as this:
> PATH=.:/usr/bin:/usr/sbin:/usr/local:/usr/local/bin:/usr/ccs/bin:/usr/ccs/lib:/usr/include
> 
> When I run ./configure from the nrpe-2.0 directory this is the output:
> 
> bash-2.03# ./configure
> checking for a BSD compatible install... ./install-sh -c
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking whether make sets ${MAKE}... yes
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for ctype.h... yes
> checking for dirent.h... yes
> checking for errno.h... yes
> checking for fcntl.h... yes
> checking for getopt.h... no
> checking for grp.h... yes
> checking for inttypes.h... yes
> checking for netdb.h... yes
> checking for pwd.h... yes
> checking for signal.h... yes
> checking for stdint.h... no
> checking for strings.h... yes
> checking for string.h... yes
> checking for syslog.h... yes
> checking for unistd.h... yes
> checking for arpa/inet.h... yes
> checking for netinet/in.h... yes
> checking for sys/types.h... yes
> checking for sys/time.h... yes
> checking for sys/resource.h... yes
> checking for sys/wait.h... (cached) yes
> checking for sys/socket.h... yes
> checking for sys/stat.h... yes
> checking for working const... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for mode_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking return type of signal handlers... void
> checking for uid_t in sys/types.h... yes
> checking type of array argument to getgroups... gid_t
> checking size of int... 4
> checking size of short... 2
> checking size of long... 4
> checking for uint32_t... yes
> checking for u_int32_t... no
> checking for int32_t... yes
> checking for main in -lnsl... yes
> checking for socket in -lsocket... yes
> checking for strdup... yes
> checking for strstr... yes
> checking for strtoul... yes
> checking for initgroups... yes
> checking for type of socket size... size_t
> checking for SSL... configure: error: Cannot find ssl libraries
> bash-2.03#
> 
> Then I run make -f Makefile.in and this is what it says:
> 
> bash-2.03# make -f Makefile.in
> cd ./src/; make ; cd ..
> make[1]: Entering directory `/home/adespain/nrpe-2.0/src'
> make[1]: *** No targets specified and no makefile found.  Stop.
> make[1]: Leaving directory `/home/adespain/nrpe-2.0/src'
> 
> *** Compile finished ***
> 
> If the NRPE daemon and client compiled without any errors, you
> can continue with installation.  The NRPE daemon and client
> binaries are located in the src/ subdirectory.
> 
> ** If this is your monitoring host **
> 
>     - Copy the check_nrpe client to the directory that
>       contains your Nagios plugins.
>     - Create a command definition in your Nagios config
>       file for the NRPE client.  See the README file for
>       more info on doing this.
> 
> ** If this host will be running the NRPE daemon **
> 
>     - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios
>       or wherever you feel it fits best.
>     - Copy the sample nrpe.cfg config file to /etc,
>       /usr/local/nagios or wherever you feel it fits best.
>     - Modify the /etc/services file and configure NRPE to
>       run under inetd, xinetd, or as a standalone daemon.
>       See the README file for more info on doing this.
> 
> bash-2.03#
> 
> The line that says
> 
> make[1]: *** No targets specified and no makefile found.  Stop.
> 
> seems to be my problem and I can't figure out why it is saying this.
> Does anyone have any experience compiling nrpe-2.0 on a solaris 8
> sparc box?  I would greatly appreciate any help on this!!  Thanks in
> advance.
> 
> --__--__--
> 
> Message: 7
> Date: Fri, 11 Feb 2005 13:52:42 -0500 (EST)
> From: Subhendu Ghosh <sghosh at sghosh.org>
> To: Tony Despain <tony.despain at gmail.com>
> cc: nagiosplug-help at lists.sourceforge.net, adespain at zionsbank.com
> Subject: Re: [Nagiosplug-help] Help compiling nrpe plugin on solaris 8 sunblade
> 100
> 
> On Fri, 11 Feb 2005, Tony Despain wrote:
> 
> > I have slowly been making progress on compiling nrpe on a solaris 8
> > machine.  At first it wouldn't compile so I added the gcc package
> > along with autoconf, automake, and make packages from
> > www.freesunware.com.  I have been able to run ./configure in the
> > nrpe-2.0 directory.  And I get a lot of yes answers when it runs and a
> > couple of no.
> >
> > My Path is set as this:
> > PATH=.:/usr/bin:/usr/sbin:/usr/local:/usr/local/bin:/usr/ccs/bin:/usr/ccs/lib:/usr/include
> >
> > When I run ./configure from the nrpe-2.0 directory this is the output:
> >
> > bash-2.03# ./configure
> > checking for a BSD compatible install... ./install-sh -c
> > checking for gcc... gcc
> <snip>
> > checking for initgroups... yes
> > checking for type of socket size... size_t
> > checking for SSL... configure: error: Cannot find ssl libraries
> > bash-2.03#
> 
> openssl is missing - NRPE uses SSL by default . you can disable by add
> options to configure above.
> 
> >
> > Then I run make -f Makefile.in and this is what it says:
> >
> > bash-2.03# make -f Makefile.in
> > cd ./src/; make ; cd ..
> > make[1]: Entering directory `/home/adespain/nrpe-2.0/src'
> > make[1]: *** No targets specified and no makefile found.  Stop.
> > make[1]: Leaving directory `/home/adespain/nrpe-2.0/src'
> 
> Of course - since configure did not finish cleanly, it did not generate a
> Makefile. so you cannot run make!!!
> 
> --
> -sg
> 
> --__--__--
> 
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> 
> End of Nagiosplug-help Digest
>




More information about the Help mailing list