I have just downloaded check_asterisk plugin and... really I don't understand how does it work.
Any numeric url I use , it will return same message: ./check_asterisk -U sip:0...@xxx.xxx.xxx.xxx -w 1 -c 2 SIP OK - Test Duration: 0.52 ms ./check_asterisk -U sip:3...@xxx.xxx.xxx.xxx -w 1 -c 2 SIP OK - Test Duration: 0.45 ms ./check_asterisk -U sip:1...@xxx.xxx.xxx.xxx -w 1 -c 2 SIP OK - Test Duration: 0.48 ms ./check_asterisk -U sip:6...@xxx.xxx.xxx.xxx -w 1 -c 2 SIP OK - Test Duration: 0.47 ms Anyone can tell me why ? Thanks Marco -----Messaggio originale----- Da: Athiqur Rahman [mailto:s...@arahmantech.com] Inviato: mercoledì 6 ottobre 2010 17:03 A: Nagios Users List Oggetto: Re: [Nagios-users] check_asterisk plugin returning null Enrico Zimol wrote: > On 6 October 2010 15:04, Athiqur Rahman <s...@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@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@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@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