Monitor netstat connection states using nagios.
Giorgio Zarrelli
giorgio at zarrelli.org
Thu Apr 9 17:22:14 CEST 2009
Hi
As I told before, that netstat command won't work "out of the box", with an
unprivileged user.
Giorgio
Marc Powell (marc at ena.com) scritto:
>
>
> On Apr 9, 2009, at 8:26 AM, asam30 at 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,
> >
> > [root at 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 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
>
------------------------------------------------------------------------------
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 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