Re: [Nagios-users] Passive checks not processing performance data

2013-04-15 Thread Andreas Ericsson
On 04/15/2013 03:29 AM, Grant Maxwell wrote:
 Could anyone please help me out here ?


Try upgrading to the latest stable. That's pretty much always the
first resort, since it's unlikely bugfixes will be backported to
3.2.3 anyways. 3.3.1 (I think) was running happily for quite a
long time and is probably still the most used Nagios version, so
perhaps you can get it working using that.

Failing that, try enabling debug logging and see where it goes
wrong. That usually tilts developer's head in the right direction
wrt remembering what one's fixed or which areas of code one has
poked around in.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
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


Re: [Nagios-users] Passive checks not processing performance data

2013-04-15 Thread Grant Maxwell
Hi Andreas and thanks for the input.

I have updated to 3.5.0. The NSCA is already at the current version.

I turned on debugging to the maximum and found the following line in the 
nagios.debug file.
[1366015455.090021] [016.1] [pid=19425] HOST: Rydlmere, SERVICE: 0444, CHECK 
TYPE: Passive, OPTIONS: 0, SCHEDULED: No, RESCHEDULE: No, EXITED OK: Yes, 
RETURN CODE: 0, OUTPUT: Freezer 3 temperature: -14.25 OK|Temperature=-14.25 
Volts=3.18462890625

As you can see the performance data does look ok in the line but there was no 
performance processing of it.
There were no following line with Perf Data: for this report.

kind regards
gmax



On 15/04/2013, at 5:45 PM, Andreas Ericsson a...@op5.se wrote:

 On 04/15/2013 03:29 AM, Grant Maxwell wrote:
 Could anyone please help me out here ?
 
 
 Try upgrading to the latest stable. That's pretty much always the
 first resort, since it's unlikely bugfixes will be backported to
 3.2.3 anyways. 3.3.1 (I think) was running happily for quite a
 long time and is probably still the most used Nagios version, so
 perhaps you can get it working using that.
 
 Failing that, try enabling debug logging and see where it goes
 wrong. That usually tilts developer's head in the right direction
 wrt remembering what one's fixed or which areas of code one has
 poked around in.
 
 -- 
 Andreas Ericsson   andreas.erics...@op5.se
 OP5 AB www.op5.se
 Tel: +46 8-230225  Fax: +46 8-230231
 
 Considering the successes of the wars on alcohol, poverty, drugs and
 terror, I think we should give some serious thought to declaring war
 on peace.



[
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
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


Re: [Nagios-users] Passive checks not processing performance data

2013-04-15 Thread Jakob Curdes



Hi

Im running nagios 3.2.3 and NSCA version 2.9.1

Im submitting data via NSCA with performance data. The output/status 
of the data is accepted by Nagios and shows in the service status 
correctly and Nagios also shows the performance data in the service 
status data screen.


However the performance data is not showing up in the nagiosgraphs 
screens. The graphs are all blank with NaN as the values.


It might be that the performance data part is not correctly transported; 
if I remember it correctly, older NSCA versions could not handle 
multi-line output, so that some content might get lost. JC
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
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

Re: [Nagios-users] Passive checks not processing performance data

2013-04-15 Thread Grant Maxwell

On 16/04/2013, at 4:51 AM, Jakob Curdes j...@info-systems.de wrote:

 
 Hi
 
 Im running nagios 3.2.3 and NSCA version 2.9.1
 
 Im submitting data via NSCA with performance data. The output/status of the 
 data is accepted by Nagios and shows in the service status correctly and 
 Nagios also shows the performance data in the service status data screen.
 
 However the performance data is not showing up in the nagiosgraphs screens. 
 The graphs are all blank with NaN as the values. 
 
 It might be that the performance data part is not correctly transported; if I 
 remember it correctly, older NSCA versions could not handle multi-line 
 output, so that some content might get lost. JC


Thanks for the input JC however the line in the log file seems to indicate the 
correct format. : [1366015455.090021] [016.1] [pid=19425] HOST: Rydlmere, 
SERVICE: 0444, CHECK TYPE: Passive, OPTIONS: 0, SCHEDULED: No, RESCHEDULE: No, 
EXITED OK: Yes, RETURN CODE: 0, OUTPUT: Freezer 3 temperature: -14.25 
OK|Temperature=-14.25 Volts=3.18462890625


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter___
 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

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
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

Re: [Nagios-users] Passive checks not processing performance data

2013-04-14 Thread Grant Maxwell
Could anyone please help me out here ?

regards
gmax



 Hi
 
 Im running nagios 3.2.3 and NSCA version 2.9.1
 
 Im submitting data via NSCA with performance data. The output/status of the 
 data is accepted by Nagios and shows in the service status correctly and 
 Nagios also shows the performance data in the service status data screen.
 
 However the performance data is not showing up in the nagiosgraphs screens. 
 The graphs are all blank with NaN as the values. 
 
 A sample of the passive data received by NSCA (from logs) is:
 
 Apr 13 08:49:16 srv-nagios nsca[17429]: Handling the connection...
 Apr 13 08:49:16 srv-nagios nsca[17429]: Time difference in packet: 0 seconds 
 for host svcSite
 Apr 13 08:49:16 srv-nagios nsca[17429]: SERVICE CHECK - Host Name: 
 'svcSite', Service Description: '0410', Return Code: '0', Output: 'Dispatch 
 Cool Rm temperature: 3.34 OK|Temperature=3.34 Volts=3.65642578125'
 Apr 13 08:49:16 srv-nagios nsca[17429]: Attempting to write to nagios command 
 pipe
 Apr 13 08:49:16 srv-nagios nsca[17429]: End of connection...
 Apr 13 08:49:16 srv-nagios nagios: EXTERNAL COMMAND: 
 PROCESS_SERVICE_CHECK_RESULT;svcSite;0410;0;Dispatch Cool Rm temperature: 
 3.34 OK|Temperature=3.34 Volts=3.65642578125
 Apr 13 08:49:16 srv-nagios nagios: EXTERNAL COMMAND: 
 PROCESS_HOST_CHECK_RESULT;svcSite;0;OK
 Apr 13 08:49:23 srv-nagios nagios: PASSIVE SERVICE CHECK: 
 svcSite;0410;0;Dispatch Cool Rm temperature: 3.34 OK
 
 Our system is collecting perf data from other active checks and these all 
 work ok.
 
 I can't see why this is not working.
 
 Any ideas please.
 
 
 

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
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