Re: [Nagios-users] problem creatin hostgroup

2010-03-11 Thread Marquez, Quentin
/path/to/nagios -v /path/to/nagios.cfg

 

...will give you more details.

 

Already posted by someone else yesterday or 2 days ago.

 

Cheers,

Quentin

 

From: Gezina Dekker [mailto:gezin...@gmail.com] 
Sent: 11 March 2010 15:41
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] problem creatin hostgroup

 

Hi all,

 

When I restart after adding this host-group using split.cfg I get the
following.

Running configuration check. CONFIG ERROR!  Restart aborted.  Check your
Nagios configuration

I have server a definition for it. if I comment the lines out, the
resatrt is successful.

 

I am just missing something???

 

This is what my hostgroup definition looks like

 

define hostgroup{
hostgroup_name  Linux_group
alias   No_Call-Out
memberssvrlinux01
}

 

Any ideas that can help me out ?

 

Regards and thanks for all the help so far, learned a lot,

 

Gezina


This e-mail has come from Experian, the only business to have been twice named 
the UK's 'Business of the Year’ 

===
Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. 
Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take your 
own steps to ensure that they are actually virus free. 
Companies Act information:
Registered name: Experian Limited 
Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, 
NG80 1ZZ, United Kingdom
Place of registration: England and Wales 
Registered number: 653331

--
Download Intel® 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] check_mem shows : "NRPE: Unable to read output"

2010-03-12 Thread Marquez, Quentin
Jatin,

Here is how I use it with sudo :

In my nrpe.cfg :
command[check_mem]=/usr/bin/sudo
/usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5

visudo :
User_Alias  SU_TO_NAGIOS_PLUGINS_USER = nagios
Cmnd_Alias  SU_TO_NAGIOS_PLUGINS =
/usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5
SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS

Root permissions will allow nagios to read memory attributes.

++
Quentin

-Original Message-
From: Jatin Davey [mailto:jasho...@cisco.com] 
Sent: 12 March 2010 08:08
To: Nagios Mailinglist
Subject: [Nagios-users] check_mem shows : "NRPE: Unable to read output"

Hi

I had downloaded the perl file for check_mem plugin and copied in the 
libexec folder of the target machine that needs to be monitored. On the 
localhost it returns correct values but when i shoot the command from 
the nagios server using NRPE i am getting the following :

NRPE: Unable to read output

Is it an issue with NRPE or check_mem plugin.

The output for check_mem on the localhost is :

CRITICAL: Memory Usage (W> 5, C> 6): 30% Swap Usage (W> 5, C> 6):

1%|MemUsed=30%;5;6 SwapUsed=1%;5;6

I have defined the command also in the nrpe.cfg file. All other commands

work fine except for the check_mem plugin.

Please let me know what to do next.

Thanks
Jatin


--
Download Intel® 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 e-mail has come from Experian, the only business to have been twice named 
the UK's 'Business of the Year’ 

===
Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. 
Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take your 
own steps to ensure that they are actually virus free. 
Companies Act information:
Registered name: Experian Limited 
Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, 
NG80 1ZZ, United Kingdom
Place of registration: England and Wales 
Registered number: 653331


--
Download Intel® 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] check_mem shows : "NRPE: Unable to read output"

2010-03-12 Thread Marquez, Quentin
Hi Jatin,

Don't try to run the sudo command using "root" while its configuration is made 
for "nagios" :)

Your issue looks like you can run check_mem.pl as root and get a reply locally, 
but nrpe is owned by user "nagios", and user "nagios" won't run this plugin 
correctly.

To allow the nagios user to run check_mem.pl as root, you have to configure a 
sudo command.

Make sure your check_mem.pl is owned by user "nagios", configure your sudo 
command via "visudo", and then run this sudo command as the "nagios" user.

As root, you could try : su - nagios -c "/usr/bin/sudo 
/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5"

Or just wait to see the result on your nagios server.

Cheers,
Quentin


 -Original Message-----
From: Jatin Davey [mailto:jasho...@cisco.com] 
Sent: 12 March 2010 10:45
To: Marquez, Quentin
Cc: Nagios Users List
Subject: Re: [Nagios-users] check_mem shows : "NRPE: Unable to read output"

Hi Marquez

I ran the command in the same as you said and i am getting the following 
error:

[r...@mcs-linux-2 etc]# /usr/bin/sudo 
/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5
Sorry, user root is not allowed to execute 
'/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5' as root on mcs-linux-2.

Please let me know what to do.

Thanks
Jatin

On 3/12/2010 3:03 PM, Marquez, Quentin wrote:
> Jatin,
>
> Here is how I use it with sudo :
>
> In my nrpe.cfg :
> command[check_mem]=/usr/bin/sudo
> /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5
>
> visudo :
> User_Alias  SU_TO_NAGIOS_PLUGINS_USER = nagios
> Cmnd_Alias  SU_TO_NAGIOS_PLUGINS =
> /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5
> SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS
>
> Root permissions will allow nagios to read memory attributes.
>
> ++
> Quentin
>
> -Original Message-
> From: Jatin Davey [mailto:jasho...@cisco.com]
> Sent: 12 March 2010 08:08
> To: Nagios Mailinglist
> Subject: [Nagios-users] check_mem shows : "NRPE: Unable to read output"
>
> Hi
>
> I had downloaded the perl file for check_mem plugin and copied in the
> libexec folder of the target machine that needs to be monitored. On the
> localhost it returns correct values but when i shoot the command from
> the nagios server using NRPE i am getting the following :
>
> NRPE: Unable to read output
>
> Is it an issue with NRPE or check_mem plugin.
>
> The output for check_mem on the localhost is :
>
> CRITICAL: Memory Usage (W>  5, C>  6): 30%Swap Usage (W>  5, C>  6):
>
> 1%|MemUsed=30%;5;6 SwapUsed=1%;5;6
>
> I have defined the command also in the nrpe.cfg file. All other commands
>
> work fine except for the check_mem plugin.
>
> Please let me know what to do next.
>
> Thanks
> Jatin
>
> 
> --
> Download Intel® 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 e-mail has come from Experian, the only business to have been twice 
> named the UK's 'Business of the Year’
>
> ===
> Information in this e-mail and any attachments is confidential, and may not 
> be copied or used by anyone other than the addressee, nor disclosed to any 
> third party without our permission. There is no intention to create any 
> legally binding contract or other binding commitment through the use of this 
> electronic communication unless it is issued in accordance with the Experian 
> Limited standard terms and conditions of purchase or other express written 
> agreement between Experian Limited and the recipient.
> Although Experian has taken reasonable steps to ensure that this 
> communication and any attachments are free from computer virus, you are 
> advised to take your own steps to ensure that they are actually virus free.
> Companies Act information:
> Registered name: Experian Limited
> Registered office: Landmark House, Experian Way, NG2 Business Park, 
> Nottingham, NG80 1ZZ, United Kingdom
> Place of registration: Engla

Re: [Nagios-users] Nagios NRPE: Unable to read output

2010-03-26 Thread Marquez, Quentin
Hi Alen,

 

I don't know much about this plugin, but it looks like your command
requires root permission.

Thus you would need to setup a sudo command to run
/usr/local/nagios/libexec/tsmonitor db

Then use your new sudo command in your nrpe.cfg :

command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db

 

Cheers,

Quentin

 

From: Grizonic Alen [mailto:alen.grizo...@comparex.si] 
Sent: 26 March 2010 15:17
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios NRPE: Unable to read output

 

Hello!

 

I know that this post is nothing new, but I still didn't find any
solution for it.

 

I am working on a AIX 5.3 machine with NRPE running under inetd.

 

On the local AIX machine the command for TSM works fine ...

 

# ./tsmonitor db

db - database utilization 0%, OK

 

But when I start if from the Nagios server ... 

 

# ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db

NRPE: Unable to read output

 

or from the AIX machine with the NRPE I get ...

 

# ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db

NRPE: Unable to read output

 

The nrpe.cfg file is properly configured with the commands

 

command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db

command[check_disk/]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/

 

Where check_disk/ works fine, but tsmonitor_db NOT!

 

Any suggestions?

 

 

Best regards, 

 

Alen


This e-mail has come from Experian, the only business to have been twice named 
the UK's 'Business of the Year’ 

===
Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. 
Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take your 
own steps to ensure that they are actually virus free. 
Companies Act information:
Registered name: Experian Limited 
Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, 
NG80 1ZZ, United Kingdom
Place of registration: England and Wales 
Registered number: 653331

--
Download Intel® 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] Nagios NRPE: Unable to read output

2010-03-29 Thread Marquez, Quentin
Hi Alen, Hi list,

 

Your issue is related to the knowledge about configuring and using sudo 
commands, not with Nagios.

Although, this knowledge is required for every Nagios plugins containing 
commands that need root permissions to be allowed to get executed.

I know the “check_mem.pl” plugin requires the same kind of configuration.

 

Setting up a sudo command means editing a user alias, a command alias, and then 
allow your user alias to run your command alias with some other user 
permission, ie the root user.

 

The file you want to edit is /etc/sudoers, edit it with your vi editor by 
typing as root :visudo

(should be located in /usr/sbin/ ) 

On AIX, you need the “rpm.rte” AIX package, and the sudo rpm coming from your 
“AIX toolbox for Linux Applications” CD or 
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/

 

Edit this file as follow : Be carefull about the syntax, it has to be strictly 
respected :

 

Add a user alias such as :

User_Alias  SU_TO_NAGIOS_PLUGINS_USER = nagios

Make sure you are using a tabulation between User_Alias and the alias name, 
also make sure the U and A of User_Alias are uppercase.

 

Add a command alias such as :

Cmnd_AliasSU_TO_NAGIOS_PLUGINS = 
/usr/local/nagios/current/libexec/tsmonitor db

(seems your path uses nagios instead of “nagios-plugins”)

Again, make sure you are using a tabulation between Cmnd_Alias and the alias 
name, and that the C and A of Cmnd_Alias are uppercase.

 

Then add the authorization such as :

SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS

This line will let the command “/usr/local/nagios/current/libexec/tsmonitor db 
“ run with root permissions.

 

Save and exit, AIX will let you know if you have a syntax issue in your 
/etc/sudoers file, if this is the case, edit the file again to fix it.

 

Now you can check user Nagios gained this permission by entering :

su – nagios –c sudo –l

-  sudo –l(Lower L option to list your configured sudo commands)

-  su – nagios –c   (to run the following command using nagios identity)

you should see something like :

User nagios may run the following commands on this host:

(root) NOPASSWD: /usr/local/nagios/current/libexec/tsmonitor db

 

Which means user nagios may run :

sudo /usr/local/nagios/current/libexec/tsmonitor db

 

Now you have to use this sudo command in your nrpe.cfg such as :

command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db

 

Hope this helps!!

 

Cheers,

 

Quentin Marquez

Unix / linux admin

Global Technology Services

Experian - Monaco

Tel : (377) 97 98 54 27

 

 

 

From: Grizonic Alen [mailto:alen.grizo...@comparex.si] 
Sent: 29 March 2010 09:48
To: Marquez, Quentin
Subject: RE: [Nagios-users] Nagios NRPE: Unable to read output

 

Thank you very much!

 

I changed the command in my nrpe.cfg file, but now looks like there is 
something else blocking the response.

Even with a log timeout I get ... CHECK_NRPE: Socket timeout after XY seconds.

 

I would think of a firewall blocking, but the other commands work and run very 
fast ... and apparently there is no firewall on that AIX machine.

 

p.s. Maybe I missed something out ... what did you mean with »you would need to 
setup a sudo command«?

 

Just change the command to ...

 

command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db

 

... or something else?

 

If you have any idea I wuold be more than thankful!

 

But really J

 

 

Best regards, 

 

Alen

 

 

From: Marquez, Quentin [mailto:quentin.marq...@experian.com] 
Sent: Friday, March 26, 2010 3:57 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios NRPE: Unable to read output

 

Hi Alen,

 

I don’t know much about this plugin, but it looks like your command requires 
root permission.

Thus you would need to setup a sudo command to run 
/usr/local/nagios/libexec/tsmonitor db

Then use your new sudo command in your nrpe.cfg :

command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db

 

Cheers,

Quentin

 

From: Grizonic Alen [mailto:alen.grizo...@comparex.si] 
Sent: 26 March 2010 15:17
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios NRPE: Unable to read output

 

Hello!

 

I know that this post is nothing new, but I still didn't find any solution for 
it.

 

I am working on a AIX 5.3 machine with NRPE running under inetd.

 

On the local AIX machine the command for TSM works fine ...

 

# ./tsmonitor db

db - database utilization 0%, OK

 

But when I start if from the Nagios server ... 

 

# ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db

NRPE: Unable to read output

 

or from the AIX machine with the NRPE I get ...

 

# ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db

NRPE: Unable to read output

 

The nrpe.cfg file is properly configured with the commands

 

command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db

command[check_disk/]=/usr/local/nagios/li

Re: [Nagios-users] Pre Flight Check -Errors.

2010-03-31 Thread Marquez, Quentin
Ravi,

You are using a contact group in your configuration that you named
"admins", but you didn't define it anywhere.
Create or edit /path/to/nagios/etc/contactgroups.cfg, and add a
definition for "admins" :

define contactgroup{
contactgroup_name   admins
alias   Nagios Administrators
members nagios-admin, other_member, et_caetera
}

Make sure every members that are part of contactgroup are defined in
contacts.cfg, ie :

define contact{
contact_namenagios-admin
alias   Nagios Admin
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsw,u,c,r
host_notification_options   d,r
service_notification_commands   notify-by-email
host_notification_commands  host-notify-by-email
email   em...@dress.com
   }

Make sure your nagios.cfg is edited with :
cfg_file=/path_to_nagios/etc/contactgroups.cfg
cfg_file=/path_to_nagios/etc/contacts.cfg

Regards,
Quentin



-Original Message-
From: ravishankar.gundlap...@wipro.com
[mailto:ravishankar.gundlap...@wipro.com] 
Sent: 31 March 2010 07:30
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Pre Flight Check -Errors.

Hi,

Request someone to provide the solution...

Thanks & Regards,
Ravi G


-Original Message-
From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) 
Sent: Wednesday, March 31, 2010 9:45 AM
To: 'Nagios Users List'
Subject: Pre Flight Check -Errors.

Hi ,

I have built a new nagios server and added the hosts in it.
When I run the preflight check the following errors appear on-screen:

Please someone suggest what can be done??

Error: Contact group 'admins' specified in service 'C:\ Drive Space' for
host 'LTCPDCERP01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'CPU Load' for host
'LTCPDCERP01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'D:\ Drive Space' for
host 'LTCPDCERP01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Memory Usage' for
host 'LTCPDCERP01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Physical Memory
Usage' for host 'LTCPDCERP01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Uptime' for host
'LTCPDCERP01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'C:\ Drive Space' for
host 'LTCPDCERP02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'CPU Load' for host
'LTCPDCERP02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'D:\ Drive Space' for
host 'LTCPDCERP02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Memory Usage' for
host 'LTCPDCERP02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Physical Memory
Usage' for host 'LTCPDCERP02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Uptime' for host
'LTCPDCERP02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'C:\ Drive Space' for
host 'LTCPDPCPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'CPU Load' for host
'LTCPDPCPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'D:\ Drive Space' for
host 'LTCPDPCPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Memory Usage' for
host 'LTCPDPCPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Physical Memory
Usage' for host 'LTCPDPCPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Uptime' for host
'LTCPDPCPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'C:\ Drive Space' for
host 'LTCPDPCPRD02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'CPU Load' for host
'LTCPDPCPRD02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'D:\ Drive Space' for
host 'LTCPDPCPRD02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Memory Usage' for
host 'LTCPDPCPRD02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Physical Memory
Usage' for host 'LTCPDPCPRD02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Uptime' for host
'LTCPDPCPRD02' is not defined anywhere!
Error: Contact group 'admins' specified in service 'C:\ Drive Space' for
host 'LTCPDPMPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'CPU Load' for host
'LTCPDPMPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'D:\ Drive Space' for
host 'LTCPDPMPRD01' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Memory Usage' for
host 'LTCPDPM

Re: [Nagios-users] CHECK_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread Marquez, Quentin
Hello,

 

I found a nice doc about your issue.

Latest rhel 5.4 on which I add nrpe installed, I couldn't get xinetd to
get it working and I could fix it thanks to these doc:

 

http://www.siamkia.com/open-source-help/how-to-fix-check-nrpe-error-coul
d-not-complete-ssl-handshake.html

 

Hope this helps,

Cheers,

Quentin

 

From: akp geek [mailto:akpg...@gmail.com] 
Sent: 26 October 2009 17:33
To: Nagios-users@lists.sourceforge.net Mailinglist
Subject: [Nagios-users] CHECK_NRPE: Received 0 bytes from daemon.

 

Hi -

 

I have installed the NRPE and when trying to run the
check_nrpe -H xx.xx.xxx.xxx from the server where nagios is running , I
am getting the following error

 

CHECK_NRPE: Received 0 bytes from daemon.Check the remote server logs
for error messages.

 

 

Server1 : I set up NRPE and I have added /etc/services nrpe entry . , I
have enabled the service. 

 

I have NRPE set up on an other server and it is running fine. I did
follow the same instructions. Not able to figure out what's wrong with
configuration

 

 

Regards

 


This e-mail has come from Experian, the only business to have been twice named 
the UK's 'Business of the Year’ 

===
Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. 
Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take your 
own steps to ensure that they are actually virus free. 
Companies Act information:
Registered name: Experian Limited 
Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, 
NG80 1ZZ, United Kingdom
Place of registration: England and Wales 
Registered number: 653331

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] error nagios-3.2 and nagios- pluggins-1.4.11 on a linux

2009-12-29 Thread Marquez, Quentin
Hi Raviraj,

 

It looks like your are missing the path to your libltdl in your linker.

I would suggest to add /usr/local/lib in /etc/ld.so.conf and run
ldconfig.

 

man ldconfig for more info

 

Cheers,

 

Quentin

 

 

From: Raviraj Patil [mailto:ravirajpa...@tataelxsi.co.in] 
Sent: 29 December 2009 08:16
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] error nagios-3.2 and nagios- pluggins-1.4.11
on a linux

 

Yes,I have libltdl installed by ./configure , make & make install
command from the  freeradius-server-2.1.7 folder.

linltdl comes along with the  freeradius-server-2.1.7 server.

My locate output is:
[r...@tataelxs-f8ba86 bin]# locate libltdl.so.*
/home/rbp/freeradius-server-2.1.7/libltdl/.libs/libltdl.so.3
/home/rbp/freeradius-server-2.1.7/libltdl/.libs/libltdl.so.3.1.4
/usr/local/lib/libltdl.so.3
/usr/local/lib/libltdl.so.3.1.4

Thanks
Raviraj

joyd...@infoservices.in wrote: 

 box server runnning fedora 6.
MIME-Version: 1.0
Date: Mon, 28 Dec 2009 14:44:51 +0100
From:   
Cc: 
 
In-Reply-To: <4b38a4ca.7040...@tataelxsi.co.in>
 
References: <4b38a4ca.7040...@tataelxsi.co.in>
 
Message-ID: <4bb47cf8b2016cd09697a61f19911...@infoservices.in>
 
X-Sender: joyd...@infoservices.in
User-Agent: RoundCube Webmail/0.3.1
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
 
 
On Mon, 28 Dec 2009 18:00:02 +0530, Raviraj Patil
 
 
wrote:
 
 
 
  

I get this error : /usr/local/nagios/bin/nagios : error while
loading 


 
  

the shared libraries: libltdl.so.3: cannot open shared object
file:


 
  

No such file or directory. Any help to resolve this problem will
be 


 
  

greatly appreciated.


 
 
 
Do you have libltdl package in your box ?
 
 
 
  
 

This e-mail has come from Experian, the only business to have been twice named 
the UK's 'Business of the Year’ 

===
Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. 
Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take your 
own steps to ensure that they are actually virus free. 
Companies Act information:
Registered name: Experian Limited 
Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, 
NG80 1ZZ, United Kingdom
Place of registration: England and Wales 
Registered number: 653331

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
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