check_snmp does not provide performance data ??
Michael Schwartzkopff
misch at multinet.de
Mon Mar 29 15:08:03 CEST 2010
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:
> >
> > [root at 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-devel at 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 :
> >>>
> >>> [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o
> >>> hrSWRunPerfMem.xxxxx 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® 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 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
> >>
> >> 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® 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 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
>
> ---------------------------------------------------------------------------
>--- Download Intel® 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 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
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: misch at 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® 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 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