check_asterisk plugin returning null
Athiqur Rahman
subs at arahmantech.com
Wed Oct 6 17:03:17 CEST 2010
Enrico Zimol wrote:
> On 6 October 2010 15:04, Athiqur Rahman <subs at arahmantech.com> wrote:
>
>> }
>>
>> o
>> But I still get the same problem. I tried doing this check over nrpe as
>> well, but still does not work.
>>
>
> If you do:
> su - nagios
>
> and after
>
> sudo /path/to/plugin
>
> ?
>
after adding nagios to sudo, and executing the command as you mention
above I no longer get the warning
warning: need raw socket (root privileges) to receive all ICMP errors
Everything works smoothly from the command line.
But, the main issue that I am having is that on the nagios interface I
am getting '(null)' status information.
FYI i am using nagios 3.2.1
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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