Error in performance-data-output

Lichterfeld, Dirk Dirk.Lichterfeld at enercity.de
Wed Mar 2 09:32:43 CET 2011


Hi Trond,

I´m sorry, at my company we use Outlook, so the highlighted text is distinctly and visibly.

I will try to specify the problem I mean.

If I run NSClient++ in testmode I will get the follow output:

	d NSClient++.cpp(1106) Injecting: Check_OpenManage:
	d NSClient++.cpp(1142) Injected Result: OK 'OK - System: 'PowerEdge R710 II', SN: 'XXXXXXX', 4 GB ra
	m (2 dimms), 1 logical drives, 4 physical drives'
	d NSClient++.cpp(1143) Injected Performance Result: 'fan_0_system_board_fan_1_rpm=3600;0;0 fan_1_sys
	tem_board_fan_2_rpm=3600;0;0 fan_2_system_board_fan_3_rpm=3600;0;0 fan_3_system_board_fan_4_rpm=3600
	;0;0 fan_4_system_board_fan_5_rpm=3600;0;0 pwr_mon_0_ps_1_current=0.4;0;0 pwr_mon_1_ps_2_current=0.4
	;0;0 pwr_mon_2_system_board_system_level=175;917;966 temp_0_system_board_ambient=20;42;47
	'

You can see, the injected perfomance result beginns and ends with a '. 
1. I mean, that every description and only the description must be inside of the signs ' 
      our output:  fan_2_system_board_fan_3_rpm
      must be:    'fan_2_system_board_fan_3_rpm'
2. At the end is no special sign approved. 

You can read this in "chapter 2.6 Performance data" at http://nagiosplug.sourceforge.net/developer-guidelines.html

I hope I could describe the problem well enough.


Regards,
Dirk Lichterfeld






-----Ursprüngliche Nachricht-----
Von: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] 
Gesendet: Dienstag, 1. März 2011 16:25
An: Nagios Users List
Betreff: Re: [Nagios-users] Error in performance-data-output

"Lichterfeld, Dirk" <Dirk.Lichterfeld at enercity.de> writes:

> I want to use "check_openmanage" to monitor some Dell servers with Nagios. At
> the most of them we use as OS Windows Server 2003.
>
> I have a problem to get the performance results from the machines. With the
> command "check_openmanage -p" I get a failure in Nagios like "CHECK_NRPE:
> Socket Time Out"
>
> I checked the result of the Check an see what is happend. In the return of the
> performance-data fails some signs. I highlight the missing signs:
>
>
> OUTPUT with NSClient++ in TestMode (where the highlighted signs are not in the
> output):
>
> d NSClient++.cpp(1106) Injecting: Check_OpenManage:
> d NSClient++.cpp(1142) Injected Result: OK 'OK - System: 'PowerEdge R710 II',
> SN: 'XXXXXXX', 4 GB ra
> m (2 dimms), 1 logical drives, 4 physical drives'
> d NSClient++.cpp(1143) Injected Performance Result:
> 'fan_0_system_board_fan_1_rpm'=3600;0;0 'fan_1_sys
> tem_board_fan_2_rpm'=3600;0;0 'fan_2_system_board_fan_3_rpm'=3600;0;0 '
> fan_3_system_board_fan_4_rpm'=3600
> ;0;0 'fan_4_system_board_fan_5_rpm'=3600;0;0 'pwr_mon_0_ps_1_current'=0.4;0;0 '
> pwr_mon_1_ps_2_current'=0.4
> ;0;0 'pwr_mon_2_system_board_system_level'=175;917;966 '
> temp_0_system_board_ambient'=20;42;47
> '
>
> OUTPUT with MS-DOS-Window (the highlighted signs are not in the output):
>
> C:\Programme\check_openmanage-3.6.5>check_openmanage.exe -p
> OK - System: 'PowerEdge R710 II', SN: 'XXXXXXX', 4 GB ram (2 dimms), 1 logical
> drives, 4 physical drives|'fan_0_system_board_fan_1_rpm'=3600;0;0 '
> fan_1_system_board_fan_2_rpm'=3600;0;0 'fan_2_system_board_fan_3_rpm'=3600;0;0
> 'fan_3_system_board_fan_4_rpm'=3600;0;0 'fan_4_system_board_fan_5_rpm'=3600;0;0
> 'pwr_mon_0_ps_1_current'=0.4;0;0 'pwr_mon_1_ps_2_current'=0.4;0;0 '
> pwr_mon_2_system_board_system_level'=175;917;966 'temp_0_system_board_ambient'=
> 20;42;47

Hi Dirk,

I'm having a hard time understanding what you mean. Perhaps my mail
client is playing tricks on me, but I can't see anything highlighted.
Except for weird line breaks the perfdata looks OK to me in both
examples.

Can you be more specific and pinpoint exactly where the problem is?

Regards,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
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



Stadtwerke Hannover AG
Vorsitzender des Aufsichtsrates: Walter Meinhold
Vorstand: Michael G. Feist (Vorsitzender), Harald Noske, Jochen Westerholz
Sitz der Gesellschaft ist Hannover, Amtsgericht Hannover, HRB 6766

Nutzungshinweis:

Wenn Sie nicht der vorgesehene Empfaenger dieser E-Mail sind
oder diese irrtuemlich erhalten haben, so informieren Sie
bitte den Absender. Beachten Sie bitte, dass eine unerlaubte
inhaltliche Nutzung, Veroeffentlichung, Vervielfaeltigung oder
Weitergabe an Dritte unzulaessig ist. Weitergehende Fragen
richten Sie bitte an: it-sicherheit at enercity.de.


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
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