Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-30 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/03/10 07:26 AM, Jatin Davey wrote:
 Then it should be a bug right ? Please let me know if i can file it.
 
 Thanks
 Jatin

No need to open a bug. This was broken by this bug #1867716
(be144b67/tr...@2021) so I will reopen it, Feel free to go there and
click on monitor to receive further updates, or ask for a patch there
if you need one.

Thanks for reporting this,

- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLsqRZ6dZ+Kt5BchYRAku2AJwNw/eNypaKXcDBwU+b0OMqHnyLXgCfeoh9
nxyTcbXdiroYHM/Pbz3/U6w=
=1Oh9
-END PGP SIGNATURE-

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_snmp does not provide performance data ??

2010-03-30 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/03/10 07:23 AM, Michael Schwartzkopff wrote:
 Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey:
 Hi

 I use the HOST-RESOURCES-MIB to get the status of the system and its
 various parameters. There is one such MIB parameter that provides memory
 used by a specific process on a linux box. It is : hrSWRunPerfMem ,
 When i execute this command using the check_snmp plugin it does not
 provide any performance data after the '|' symbol.

 The output is as below :

 [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x
 SNMP OK - 1652 KBytes |

 Is it a bug on the check_snmp plugin ?
 Please let me know if i am missing something.

 Thanks
 Jatin

 ---
 --- Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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
 
 I don't know which version you are using. My output is:
 ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2
 
 SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes  

Actually I said the behaviour was broken by another fix but actually
this output is broken in itself. The 2nd part isn't a valid perfdata
string and this is what the fix was for, although the shown example was
much more obvious.

I just committed a fix btw.

- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLsrXM6dZ+Kt5BchYRAlbQAJ4io+kvxbCmb8c+E0MZ/BBpUL00WwCfSrDN
2lbXWMj4bhhydpkqKqdfYIU=
=7yFc
-END PGP SIGNATURE-

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_snmp does not provide performance data ??

2010-03-29 Thread Michael Schwartzkopff
Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey:
 Hi

 I use the HOST-RESOURCES-MIB to get the status of the system and its
 various parameters. There is one such MIB parameter that provides memory
 used by a specific process on a linux box. It is : hrSWRunPerfMem ,
 When i execute this command using the check_snmp plugin it does not
 provide any performance data after the '|' symbol.

 The output is as below :

 [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x
 SNMP OK - 1652 KBytes |

 Is it a bug on the check_snmp plugin ?
 Please let me know if i am missing something.

 Thanks
 Jatin

 ---
--- Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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

Well, it does. Perhaps it is not quite compliant to the plugin writing guide.


-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: mi...@multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_snmp does not provide performance data ??

2010-03-29 Thread Michael Schwartzkopff
Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey:
 Hi

 I use the HOST-RESOURCES-MIB to get the status of the system and its
 various parameters. There is one such MIB parameter that provides memory
 used by a specific process on a linux box. It is : hrSWRunPerfMem ,
 When i execute this command using the check_snmp plugin it does not
 provide any performance data after the '|' symbol.

 The output is as below :

 [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x
 SNMP OK - 1652 KBytes |

 Is it a bug on the check_snmp plugin ?
 Please let me know if i am missing something.

 Thanks
 Jatin

 ---
--- Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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

I don't know which version you are using. My output is:
./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2

SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes  

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: mi...@multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_snmp does not provide performance data ??

2010-03-29 Thread Jatin Davey
Then it should be a bug right ? Please let me know if i can file it.

Thanks
Jatin

On 3/29/2010 4:49 PM, Michael Schwartzkopff wrote:
 Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey:

 Hi

 I use the HOST-RESOURCES-MIB to get the status of the system and its
 various parameters. There is one such MIB parameter that provides memory
 used by a specific process on a linux box. It is : hrSWRunPerfMem ,
 When i execute this command using the check_snmp plugin it does not
 provide any performance data after the '|' symbol.

 The output is as below :

 [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x
 SNMP OK - 1652 KBytes |

 Is it a bug on the check_snmp plugin ?
 Please let me know if i am missing something.

 Thanks
 Jatin

 ---
 --- Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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
  
 Well, it does. Perhaps it is not quite compliant to the plugin writing guide.




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_snmp does not provide performance data ??

2010-03-29 Thread Jatin Davey
Ok , here go the version of the plugin used taken from the help page of 
the plugin:

[r...@pc-fedora-1 libexec]# ./check_snmp --help
check_snmp v1.4.14 (nagios-plugins 1.4.14)
Copyright (c) 1999-2007 Nagios Plugin Development Team
nagiosplug-de...@lists.sourceforge.net

Check status of remote machines and obtain system information via SNMP

Thanks
Jatin

On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote:
 Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey:

 Hi

 I use the HOST-RESOURCES-MIB to get the status of the system and its
 various parameters. There is one such MIB parameter that provides memory
 used by a specific process on a linux box. It is : hrSWRunPerfMem ,
 When i execute this command using the check_snmp plugin it does not
 provide any performance data after the '|' symbol.

 The output is as below :

 [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x
 SNMP OK - 1652 KBytes |

 Is it a bug on the check_snmp plugin ?
 Please let me know if i am missing something.

 Thanks
 Jatin

 ---
 --- Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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
  
 I don't know which version you are using. My output is:
 ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2

 SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_snmp does not provide performance data ??

2010-03-29 Thread Jatin Davey
Well , when i use the complete OID path i get the performance data , Say 
instead of using

hrSWRunPerfMem if use 1.3.6.1.2.1.25.5.1.1.2

Then it works fine and the performance data is collected for the specific 
process of interest.

I dont know why it does not do so if the OID name is not resolved ?
Anyone knows please let me know.

Thanks
Jatin

On 3/29/2010 5:15 PM, Jatin Davey wrote:
 Ok , here go the version of the plugin used taken from the help page of
 the plugin:

 [r...@pc-fedora-1 libexec]# ./check_snmp --help
 check_snmp v1.4.14 (nagios-plugins 1.4.14)
 Copyright (c) 1999-2007 Nagios Plugin Development Team
 nagiosplug-de...@lists.sourceforge.net

 Check status of remote machines and obtain system information via SNMP

 Thanks
 Jatin

 On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote:

 Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey:

  
 Hi

 I use the HOST-RESOURCES-MIB to get the status of the system and its
 various parameters. There is one such MIB parameter that provides memory
 used by a specific process on a linux box. It is : hrSWRunPerfMem ,
 When i execute this command using the check_snmp plugin it does not
 provide any performance data after the '|' symbol.

 The output is as below :

 [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x
 SNMP OK - 1652 KBytes |

 Is it a bug on the check_snmp plugin ?
 Please let me know if i am missing something.

 Thanks
 Jatin

 ---
 --- Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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


 I don't know which version you are using. My output is:
 ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2

 SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes


  
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_snmp does not provide performance data ??

2010-03-29 Thread Michael Schwartzkopff
Am Montag, 29. März 2010 15:01:50 schrieb Jatin Davey:
 Well , when i use the complete OID path i get the performance data , Say
 instead of using

 hrSWRunPerfMem if use 1.3.6.1.2.1.25.5.1.1.2

 Then it works fine and the performance data is collected for the specific
 process of interest.

 I dont know why it does not do so if the OID name is not resolved ?
 Anyone knows please let me know.

 Thanks
 Jatin

 On 3/29/2010 5:15 PM, Jatin Davey wrote:
  Ok , here go the version of the plugin used taken from the help page of
  the plugin:
 
  [r...@pc-fedora-1 libexec]# ./check_snmp --help
  check_snmp v1.4.14 (nagios-plugins 1.4.14)
  Copyright (c) 1999-2007 Nagios Plugin Development Team
  nagiosplug-de...@lists.sourceforge.net
 
  Check status of remote machines and obtain system information via SNMP
 
  Thanks
  Jatin
 
  On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote:
  Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey:
  Hi
 
  I use the HOST-RESOURCES-MIB to get the status of the system and its
  various parameters. There is one such MIB parameter that provides
  memory used by a specific process on a linux box. It is :
  hrSWRunPerfMem , When i execute this command using the check_snmp
  plugin it does not provide any performance data after the '|' symbol.
 
  The output is as below :
 
  [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o
  hrSWRunPerfMem.x SNMP OK - 1652 KBytes |
 
  Is it a bug on the check_snmp plugin ?
  Please let me know if i am missing something.
 
  Thanks
  Jatin
 
  ---
  --- Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  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
 
  I don't know which version you are using. My output is:
  ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2
 
  SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes
 
  -
 - Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  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

 ---
--- Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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

Perhaps your snmp command does not read in that MIB. try the -m ALL option.
Greetings,
-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: mi...@multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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