Displaying 13 results from an estimated 13 matches for "snmpset".
Did you mean:
snmpget
2010 Jan 16
0
Converting snmpset() and snmpget() functions of php in rails
hello,
I am trying to convert a php script into a rails script. I came accross
snmpset() and snmpget() functions and I am stuck here.
Here is a part of the php script. Please help me in converting these two
functions.
$oid = ''1.3.6.1.4.1.318.1.1.12.3.3.1.1.4'';
$toret = false;
if($pdb->connected) {
$query = "SELECT snmp_community_str, address, reset...
2020 Apr 29
2
SNMP shutdown timing out
...t.voltage.nominal: 115
ups.delay.shutdown: 20
ups.delay.start: 0
ups.firmware: 70.11.D
ups.id: apcups
ups.load: 14.00
ups.mfr: APC
ups.mfr.date: 07/28/98
ups.model: SMART-UPS 1400
ups.serial: WS9831004667
ups.status: OL
ups.temperature: 24.70
ups.test.date: 04/29/2020
ups.test.result: Ok
I can use snmpset to halt the UPS.
snmpset -v 3 -a MD5 -A NutScan at Password43LongerWord -l authPriv -u nut -x
DES -X NutScan at Password43LongerWord apcups
SNMPv2-SMI::enterprises.318.1.1.1.6.1.1.0 i 2
(Passwords are temporary, I don't care if they leak.)
I am aware of the note in the MIB that states "...
2020 May 04
2
Fwd: [EXTERNAL] SNMP shutdown timing out
I meant to send this to the list but evidently only sent it to David.
Since sending it I've done a second test which shows what a successful
snmpset looks like.
First attachment, from the forwarded email, is nutout.txt. Second
attachment is snmpout.txt.
nomad
-------- Forwarded Message --------
Subject: Re: [Nut-upsuser] [EXTERNAL] SNMP shutdown timing out
Date: Mon, 4 May 2020 09:28:57 -0700
From: Lee Damon <nomad at ee.washington.edu&g...
2020 Apr 29
0
[EXTERNAL] SNMP shutdown timing out
...T0ADZ-mQe_3zCfrLacAAuMS7JSj5wn1w&s=Cv5z1Xm7dspkGCX9gosuUR3R9b6cDZLJnumKkJ4s1Ms&e=>: apcups
ups.load: 14.00
ups.mfr: APC
ups.mfr.date: 07/28/98
ups.model: SMART-UPS 1400
ups.serial: WS9831004667
ups.status: OL
ups.temperature: 24.70
ups.test.date: 04/29/2020
ups.test.result: Ok
I can use snmpset to halt the UPS.
snmpset -v 3 -a MD5 -A NutScan at Password43LongerWord -l authPriv -u nut -x DES -X NutScan at Password43LongerWord apcups SNMPv2-SMI::enterprises.318.1.1.1.6.1.1.0 i 2
(Passwords are temporary, I don't care if they leak.)
I am aware of the note in the MIB that states "...
2014 Feb 19
0
snmp-ups shutdowns
...(stays off even if power is restored)
> > #UPS_OID=".1.3.6.1.4.1.318.1.1.1.6.2.1.0 integer 3"
>
> These seem like config file entries... where do they go?
> I don't see UPS_OID in /etc/nut/* (for that 2.6.3 installation)
They go in a custom shutdown script the runs a snmpset command.
> Also, just to make sure, the "reboot gracefully" part does indeed
> reboot the UPS and its load "instantly" (after the timeout) if the
> wall power is already back by the time the UPS goes down due to
> this command, right?
Correct.
> Thanks,
> //...
2014 Aug 11
0
Meaning of Battery Resting/PW-MIBs
...age/current. (The input
current isn't returned, but I think it should be right with .1 there...)
TestBattery misses the .0 at the end:
#define PW_OID_BATTEST_START "1.3.6.1.4.1.534.1.8.1.0"
And by the way, the RFC1628-way of initiating tests works (by hand using
snmpget [SpinLock]/snmpset) with this ups, too.
And I took the ups status from ietf:
{ "ups.status", ST_FLAG_STRING, SU_INFOSIZE, IETF_OID_POWER_STATUS, "OFF",
SU_STATUS_PWR, &ietf_pwr_info[0] },
because 1.3.6.1.4.1.534.1.4.5.0 isn't answerd by the card.
CU,
Gernot
2009 Jul 20
0
No subject
...itech.com
Roberto Piola wrote:
> we're using a Damocles Mini
> (http://www.hw-group.com/products/damocles/damocles_mini_en.html). of
> course, the damocles will have to drive a high-power relay.
>
> the damocles can be driven via snmp, so you'll have to simply call the
> snmpset unix standard utility
>
> On Mon, Oct 18, 2010 at 1:24 PM, Gareth Blades
> <list-asterisk at skycomuk.com> wrote:
>
>> Something like http://www.audon.co.uk/udin.html UDIN-8R. It can only
>> control 750W so you will probably need to get it to control a more
>>...
2014 Feb 19
2
snmp-ups shutdowns
On 2014-02-19 03:04, Tim Rice wrote:
> If you've got a AP9630 card these notes may be useful.
>
> # APC ap9630 notes:
> # Use firmware 6.0.6 or later if you want SNMPv3
> # Configuration->Shutdown
> # In "Start of Shutdown" section, set "Low Battery Duration" and
> # "Shutdown Delay" to get enough grace time for the ESXI shutdown
> #
2017 Mar 24
4
Python 3.x on Centos 7
> # yum install python34
I already have epel installed. If it breaks something is it as simple
as yum erase python34 to restore everything back to normal?
On Thu, Mar 23, 2017 at 6:27 PM, Christian, Mark
<mark.christian at intel.com> wrote:
> On Thu, 2017-03-23 at 18:16 -0500, Matt wrote:
>> Is there a way to install Python 3.x on Centos 7.x without breaking
>>
2010 Jun 25
3
Using snmp for APC smarts
Hi,
I'm new to nut. I have some 100 APC Smart-UPS 2200 & 3000's and
I'm trying to do some calibration test on them. I've installed nut,
with
driver = snmp-ups
mibs = apcc
in ups.conf. I can read the variables using upsc. However it seems,
I can't actually execute commands on the UPSses this way.
( upscmd some-ups calibrate.start )
Do I miss something, or are those
2006 Oct 04
2
SNMP to detect that a Cisco router....
Hey all
Would anyone know how you use SNMP to detect that a Cisco router is using an alternative (redundant) interface and then change the routing settings on your firewall.
Kind Regards
Brent Clark
2020 May 04
0
Fwd: [EXTERNAL] SNMP shutdown timing out
...[nutdev1] nut_snmp_set: can't set .1.3.6.1.4.1.318.1.1.1.6.1.1.0: Timeout
Shutdown failed!
nomad
On 5/4/20 12:32 PM, Lee Damon wrote:
> I meant to send this to the list but evidently only sent it to David.
> Since sending it I've done a second test which shows what a successful
> snmpset looks like.
>
> First attachment, from the forwarded email, is nutout.txt. Second
> attachment is snmpout.txt.
>
> nomad
>
>
> -------- Forwarded Message --------
> Subject: Re: [Nut-upsuser] [EXTERNAL] SNMP shutdown timing out
> Date: Mon, 4 May 2020 09:28:57 -070...
2006 Dec 03
11
Is there any Asterisk controllable thermostat?
I am wondering if there is any such thermostat available which can be
controlled from Asterisk. Like you call your home pbx, dial some extension,
e.g. 333 and it asks to set the temperature, you enter a temperature, and it
sets the thermostat to that temperature. This thermostat will be very
useful, e.g. when you're coming back home after a few days and now its
snowing and you want home to be