check_mbean_collector cannot create socket

Assaf Flatto nagios at flatto.net
Mon Oct 8 12:39:56 CEST 2012


On what IP is port 5566 listening ?

Localhost is usually defined as 127.0.0.1   and most programs do not 
listen on the loop-back device .

also for more accurate testing - always test as the nagios user not as root.



On 07/10/12 19:15, Marek Grinberg wrote:
> Hello,
>
> I have installed check_mbean_collector into /usr/lib/nagios/libexec, and
> tried it:
>
> # ./check_mbean_collector -H localhost -p 5566 -m
> jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400
>
> ERROR: could not create socket
>
>
> What have I missed ?
>
>
> Marek
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list