Hi

As I told before, that netstat command won't work "out of the box", with an
unprivileged user.

Giorgio

Marc Powell (m...@ena.com) scritto:
>
>
> On Apr 9, 2009, at 8:26 AM, asa...@gmail.com wrote:
>
> > Hi,
> >
> > I did copy the scipt to the remote host as check_netstat and used
> > check_nrpe method to excute from nagios server. It looks when
> > executing the command on remote server works well,
> >
> > [r...@airlin libexec]# /usr/local/nagios/libexec/check_netstat
> > WARNING - STATUS= TIME_WAIT port status on airlin | WARNING -
> > STATUS=TIME_WAIT port status on airlin
>
> You're testing as root here. Test as the user nrpe runs as. It could
> very well be a difference in privileges...
>
> --
> Marc
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> 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:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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

Reply via email to