Re: [Nagios-users] Error in performance-data-output

2011-03-07 Thread Lichterfeld, Dirk
Hi at all,

the problem is solved!

I compare the response time of the nagios check and I see, that the DELL
Server R710 needs over 10 seconds to answer. Another server (DELL R310)
answer in 8 seconds (the check of this server is ok.)

The response time depends on various Dell hardware.

What I do? I expanded the check-command of the check_openmange from
check_nrpe -H $HOSTADDRESS$ -c Check_Openmanage with the parameter -t
30 to extend the time for this check. 

Is there another way to set the timeout?


Dirk


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-sicherh...@enercity.de.


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
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] Error in performance-data-output

2011-03-02 Thread Lichterfeld, Dirk
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: 'XXX', 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.amund...@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.lichterf...@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: 'XXX', 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.5check_openmanage.exe -p
 OK - System: 'PowerEdge R710 II', SN: 'XXX', 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.amund...@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@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

[Nagios-users] Error in performance-data-output

2011-02-28 Thread Lichterfeld, Dirk
 Hallo at all,
 
 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: 'XXX', 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.5check_openmanage.exe -p
 OK - System: 'PowerEdge R710 II', SN: 'XXX', 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
 
 C:\Programme\check_openmanage-3.6.5
 
 
 
 I hope you can fix this issue.
 
 With best regards
 
 Dirk Lichterfeld


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-sicherh...@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@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