| Newsgroups |
gmane.network.net-snmp.user |
| Message-ID |
<[email protected]> |
Hi All,
We are using Net-SNMP v5.3.1. we have compiled it with
ucd-snmp/lmSensors flag.
We are able to get valid response for snmpwalk on lmTempSensorsTable and
lmVoltSensorsTable.
But we are not getting response for snmpwalk on lmFanSensorsTable.
We are getting the response as "No data available in this sub-tree"
It seems it is not supported.
If we issue >"prtpicl -v -c fan" Then we are getting the below
response.
prtpicl -v -c fan
system-fan0 (fan, 5a00000749)
:_fru_parent (5a000007ccH)
:ID 0
:Label cpu0-fan
:LowWarningThreshold 250
:SpeedUnit rpm
:Speed 3515
:devfs-path /devices/ebus@1f,464000/env-monitor@3,0:fan_0
:_class fan
:name system-fan0
system-fan2 (fan, 5a00000750)
:_fru_parent (5a000007d9H)
:ID 2
:Label pci-fan
:LowWarningThreshold 250
:SpeedUnit rpm
...
system configuration is "SunOS test1-ut108 5.10 Generic_118822-29 sun4u
sparc SUNW,A70"
Can any one pls point us if we need to do any other configuration to
read lmFanSensorsTable.
Thanks & Best Regards,
Sailaja
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, October 18, 2006 3:11 PM
To: [email protected]
Subject: Net-snmp-users Digest, Vol 5, Issue 46
Send Net-snmp-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Net-snmp-users digest..."
Today's Topics:
1. RE: Regarding linkup traps (Ravi S M)
2. RE: Regarding linkup traps (Ravi S M)
3. RE: Regarding linkup traps (James Mckenzie)
4. Re: Can We place Traps as part of Tables (santhosh)
5. Re: Can We place Traps as part of Tables (Dave Shield)
6. Re:About power-on trap (Clement Hsu)
----------------------------------------------------------------------
Message: 1
Date: Wed, 18 Oct 2006 09:58:32 +0530
From: "Ravi S M" <[email protected]>
Subject: RE: Regarding linkup traps
To: "James Mckenzie" <[email protected]>, "net-snmp-users"
<[email protected]>
Message-ID:
<1BC030D8DE6BC042B3F33EE14CA2B8FA054BC76F@SINPUNEX002.TechMahindra.com>
Content-Type: text/plain; charset=us-ascii
Hi James
Thanks a lot
Regards
Ravi
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of James
Mckenzie
Sent: Tuesday, October 17, 2006 8:29 PM
To: net-snmp-users
Subject: Re: Regarding linkup traps
-----Original Message-----
>From: Ravi S M <[email protected]>
>Sent: Oct 17, 2006 12:40 AM
>To: net-snmp-users <[email protected]>
>Subject: Regarding linkup traps
>
>
>Hi All
>
>
>
>I am getting traps when my monitored process goes down, but when it
>comes up the traps are not generated. My "snmpd.conf" looks like this
>
>monitor -u myuser -r 10 -i -o prNames.1 -o prErrMessage.1 "Process
>named" prErrorFlag.1 != 0
>
>For this am getting traps.
>
>For linkup am not getting traps.
>
This is because the line will only monitor if the process fails. I have
found, through experience, that you will need two monitor lines. One to
monitor if the process fails, which you already have and one to monitor
when the system process comes back to normal. This will require that
you change the condition at the end of the line from != to ==. Your new
monitor line will look like this:
monitor -u myuser -r 10 -i -o prNames -o prErrMessage "Process named"
prErrorFlag == 0
If you are using NetSNMP 5.3.1 or higher, there is no more need to list
per process.
I am working with Dave on a fix for the iqueryName problem.
James McKenzie
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
========================================================================
====================================================
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahind
ra.com/Disclaimer.html</a> externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahind
ra.com/Disclaimer.html</a> internally within Tech Mahindra.
========================================================================
====================================================
------------------------------
Message: 2
Date: Wed, 18 Oct 2006 09:59:42 +0530
From: "Ravi S M" <[email protected]>
Subject: RE: Regarding linkup traps
To: "Dave Shield" <[email protected]>
Cc: net-snmp-users <[email protected]>
Message-ID:
<1BC030D8DE6BC042B3F33EE14CA2B8FA054BC77F@SINPUNEX002.TechMahindra.com>
Content-Type: text/plain; charset=us-ascii
Hi Dave
Linkup trap works fine, thanks a lot for your support.
Regards
Ravi
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dave
Shield
Sent: Tuesday, October 17, 2006 1:25 PM
To: Ravi S M
Cc: net-snmp-users
Subject: Re: Regarding linkup traps
On 17/10/06, Ravi S M <[email protected]> wrote:
> I am getting traps when my monitored process goes down, but when it
comes up
> the traps are not generated. My "snmpd.conf" looks like this
> monitor ..... "Process named" prErrorFlag.1 != 0
That is correct.
This monitor line will trigger (and generate a trap) when the
condition is matched,
i.e. the prErrorFlag goes from 0 to non-0.
When the condition is cleared (goes from non-0 to 0), then this
re-arms the trigger so it's ready to fire again. But it does *not*
"reverse-fire" the trigger, to generate another trap.
The easiest way to do this would probably be to have a parallel
monitor line, with the same test in reverse:
monitor -u myuser -r 10 -i -o prNames.1 -o prErrMessage.1 "Process
named OK"
prErrorFlag.1 == 0
Also note that if you're using the 5.3.x line (or the upcoming 5.4
code), you can use a single "monitor" line to handle *all* your "proc"
entries:
monitor -u myuser -r 10 -o prNames -o prErrMessage "Processes"
prErrorFlag != 0
You don't have to have a separate monitor line for each "proc" entry.
This didn't work reliably in the earlier releases, but does with 5.3 and
above.
Dave
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
========================================================================
====================================================
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahind
ra.com/Disclaimer.html</a> externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahind
ra.com/Disclaimer.html</a> internally within Tech Mahindra.
========================================================================
====================================================
------------------------------
Message: 3
Date: Tue, 17 Oct 2006 21:32:10 -0700 (GMT-07:00)
From: James Mckenzie <[email protected]>
Subject: RE: Regarding linkup traps
To: Ravi S M <[email protected]>, Dave Shield
<[email protected]>
Cc: net-snmp-users <[email protected]>
Message-ID:
<13213632.1161145930272.JavaMail.root@elwamui-hound.atl.sa.earthlink.net
>
Content-Type: text/plain; charset=us-ascii
Ravi:
You are very welcome. I have just repeated information that I received
from this list.
James McKenzie
-----Original Message-----
>From: Ravi S M <[email protected]>
>Sent: Oct 17, 2006 9:29 PM
>To: Dave Shield <[email protected]>
>Cc: net-snmp-users <[email protected]>
>Subject: RE: Regarding linkup traps
>
>
>Hi Dave
>
>Linkup trap works fine, thanks a lot for your support.
>
>Regards
>
>Ravi
>
>-----Original Message-----
>From: [email protected]
>[mailto:[email protected]] On Behalf Of Dave
>Shield
>Sent: Tuesday, October 17, 2006 1:25 PM
>To: Ravi S M
>Cc: net-snmp-users
>Subject: Re: Regarding linkup traps
>
>On 17/10/06, Ravi S M <[email protected]> wrote:
>> I am getting traps when my monitored process goes down, but when it
>comes up
>> the traps are not generated. My "snmpd.conf" looks like this
>
>> monitor ..... "Process named" prErrorFlag.1 != 0
>
>That is correct.
>This monitor line will trigger (and generate a trap) when the
>condition is matched,
>i.e. the prErrorFlag goes from 0 to non-0.
>
>When the condition is cleared (goes from non-0 to 0), then this
>re-arms the trigger so it's ready to fire again. But it does *not*
>"reverse-fire" the trigger, to generate another trap.
>
>The easiest way to do this would probably be to have a parallel
>monitor line, with the same test in reverse:
>
> monitor -u myuser -r 10 -i -o prNames.1 -o prErrMessage.1 "Process
>named OK"
> prErrorFlag.1 == 0
>
>
>Also note that if you're using the 5.3.x line (or the upcoming 5.4
>code), you can use a single "monitor" line to handle *all* your "proc"
>entries:
>
>monitor -u myuser -r 10 -o prNames -o prErrMessage "Processes"
>prErrorFlag != 0
>
>You don't have to have a separate monitor line for each "proc" entry.
>This didn't work reliably in the earlier releases, but does with 5.3
and
>above.
>
>Dave
>
>-----------------------------------------------------------------------
-
>-
>Using Tomcat but need to do more? Need to support web services,
>security?
>Get stuff done quickly with pre-integrated technology to make your job
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache
>Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12164
2
>_______________________________________________
>Net-snmp-users mailing list
>[email protected]
>Please see the following page to unsubscribe or change other options:
>https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>
>=======================================================================
=====================================================
>
>Tech Mahindra, formerly Mahindra-British Telecom.
>
>Disclaimer:
>
>This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahind
ra.com/Disclaimer.html</a> externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahind
ra.com/Disclaimer.html</a> internally within Tech Mahindra.
>
>=======================================================================
=====================================================
>
>-----------------------------------------------------------------------
--
>Using Tomcat but need to do more? Need to support web services,
security?
>Get stuff done quickly with pre-integrated technology to make your job
easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12164
2
>_______________________________________________
>Net-snmp-users mailing list
>[email protected]
>Please see the following page to unsubscribe or change other options:
>https://lists.sourceforge.net/lists/listinfo/net-snmp-users
------------------------------
Message: 4
Date: Tue, 17 Oct 2006 10:41:31 +0530
From: "santhosh" <[email protected]>
Subject: Re: Can We place Traps as part of Tables
To: "Dave Shield" <[email protected]>
Cc: net-snmp-users <[email protected]>
Message-ID: <000d01c6f1aa$b61e2100$6a01a8c0@rtsindia>
Content-Type: text/plain; charset="iso-8859-1"
Hello Dave,
> I suggest that you'd do much better to treat this as a conventional
table.
> Define the MIB object in much the same way as you had originally
> (except with "read-only" access), and have a table that can be queried
> using "snmpwalk" et al.
> That would allow a management application to retrieve the current
> state "on demand", which is the usual model for SNMP-based management.
Yes, Exactly
I have Implemented the above mechanism as part of standard table where
one
can go with "snmpwalk"
that part is working fine for the board
as of second phase we want to support both as standard information in
the
form of tables which can be retrived from "snmpwalk" and also generate
traps
for specific events on the hardware
> If you then want to augment this by a trap-based notification of
> changes in state, that could be done using the DisMan Event MIB
> support that's a standard part of recent Net-SNMP agents.
As part of this concept is concerned let me look in to DisMan Event MIB
> But by concentrating on a conventional table, you'll end up with a
> much more flexible (and ultimately more useful) mechanism. It'll
> probably also turn out to be easier in the long run.
>
Yes, That is what happening right now
> > What I mean in this Instance is if I recieve "In Sync"/"Out of Sync"
then
> > only I need to send a trap.
>
> I'd question that model of working. See above.
I havent got what you are trying to ask/say above
Thanks
Santhosh
------------------------------
Message: 5
Date: Wed, 18 Oct 2006 09:09:55 +0100
From: "Dave Shield" <[email protected]>
Subject: Re: Can We place Traps as part of Tables
To: santhosh <[email protected]>
Cc: net-snmp-users <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 17/10/06, santhosh <[email protected]> wrote:
> I have Implemented the above mechanism as part of standard table where
one
> can go with "snmpwalk" that part is working fine for the board
Good.
> as of second phase we want to support both as standard information in
the
> form of tables which can be retrived from "snmpwalk" and also generate
traps
> for specific events on the hardware
If you've implemented walking the table, then you do not need to write
*any* new code
to get traps working.
> As part of this concept is concerned let me look in to DisMan Event
MIB
Please post the output of walking the table, and I'll give you the
exact configuration required to generate suitable traps.
Dave
------------------------------
Message: 6
Date: Wed, 18 Oct 2006 17:40:28 +0800
From: "Clement Hsu" <[email protected]>
Subject: Re:About power-on trap
To: net-snmp-users <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Dear James:
It works , thank you
Best Regards,
Clement Hsu
Date: Tue, 17 Oct 2006 21:05:27 +0800
From: "Clement Hsu" <[email protected]>
Subject: About power-on trap
To: net-snmp-users <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Dear All:
I am Clement. If i want the agent sending a power on trap automately,
how
should i do? should i setup
snmptrapd.conf or only set up trap2sink?
and how to connect the system to make the power on trap success, can
anybody tell me the methodology
of this, thank you
Best Regards,
Clement Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users/attach
ments/20061017/d6b89529/attachment.html
------------------------------
Message: 7
Date: Tue, 17 Oct 2006 07:28:26 -0700 (GMT-07:00)
From: James Mckenzie <[email protected]>
Subject: Re: About power-on trap
To: net-snmp-users <[email protected]>
Message-ID:
<
11880284.1161095306440.JavaMail.root@elwamui-wigeon.atl.sa.earthlink.net
>
Content-Type: text/plain; charset=us-ascii
Clement:
Trapsink or Trap2sink will receive a cold start trap. This is enabled
by
default from what I can find.
James McKenzie
-----Original Message-----
>From: Clement Hsu <[email protected]>
>Sent: Oct 17, 2006 6:05 AM
>To: net-snmp-users <[email protected]>
>Subject: About power-on trap
>
>Dear All:
> I am Clement. If i want the agent sending a power on trap automately,
>how should i do? should i setup
> snmptrapd.conf or only set up trap2sink?
> and how to connect the system to make the power on trap success, can
>anybody tell me the methodology
> of this, thank you
>
>
>
>Best Regards,
>Clement Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users/attach
ments/20061018/cce41fb9/attachment.html
------------------------------
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
End of Net-snmp-users Digest, Vol 5, Issue 46
*********************************************
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users