Displaying 20 results from an estimated 300 matches similar to: "Problems Generating Scaffolding"
2007 Feb 07
5
Problems Generating Scaffolding
I am having trouble generating some of my scaffolding. I''m trying to
use PostgreSQL as my back-end. Some of my scaffolding generates with
no problem but for other parts I get this:
Before updating scaffolding from new DB schema, try creating a table
for your model
The tables do exist. At least I can see them from psql.
Here is the SQL I''m using to create my tables:
CREATE
2008 Jul 28
12
Segfault with GridCellChoiceEditor
I have a problem.
In my application I have a few Grid objects in a Notebook. The Grid objects
are populated via GridTableBase. Certain Grid cells need to have a choice
interface (I''m artificially enforcing foreign key constraints). All this
works to the point where you try to edit the value for that cell. The
choice box renders (i.e. the drop down arrow appears) then the application
2006 Feb 22
1
Rails with postgres-oids?
Hello!
Postgres supports oids which is a unique number for any row in a given
database. There is the ''id'' already inside oids - wouldnt it be nice and
handy to turn on some global environemt.rb or database.yaml magic-switch
and rails uses the oids internally and transparently on the postgresql
adapter, sparing people the need to create auto-increment-serial ids
with
2014 Feb 14
2
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
> Does it have the same behavior if you start from .1.3.6.1.4.1.935*.1* or .
> 1.3.6.1.4.1.935.1.1? If not, no worries - see below.
>
> Yes, says "Timeout: No Response from 10.200.254.39", Ok.
> .....
>
>
>> The important part of "mode 2" is to have the output of snmpwalk. It is
>> possible to query each OID, and manually build the *-mib.c
2014 Feb 13
0
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
[Please keep the list CC'd. Thanks!]
On Feb 13, 2014, at 4:55 AM, ??? ????? wrote:
> Can you try adding "-v 1" to the snmpwalk command? If that works, we can add it to gen-snmp-subdriver.sh.
>
> Yes, I tried it before, ran command "snmpwalk -v 1 -On -c public 10.200.254.39 .1.3.6.1.4.1.935"
>
> Output:
> .1.3.6.1.4.1.935 = NULL
> Error: OID not
2014 Feb 14
0
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
On Feb 13, 2014, at 10:49 PM, ??? ????? wrote:
> Slightly changed the list, took from running snmptranslate for all parameters:
> snmptranslate -IR -On upsBaseIdentModel upsBaseBatteryStatus upsSmartBatteryCapacity upsSmartBatteryTemperature upsSmartInputLineVoltage upsBaseOutputStatus upsSmartOutputVoltage upsSmartOutputFrequency upsSmartOutputLoad upsSmartControlUpsOff
2006 Apr 04
2
Foreign keys not showing!
I''m new at this so please be patient.
I have a very simple schema consisting of a around 10 tables in
Postgresql. The aim is to provide a system for PC administrators to
keep track of PC''s dotted around various venues (shops, libraries
etc.). The sort of info I want to store is PC specs, PC network specs,
PC ownership specs, PC location specs and contact person details. So I
end
2014 Feb 27
2
snmp-ups shutdowns
This apparently implies that, unlike some docs say, the snmp-ups driver can send the shutdown signals (is not crippled by design)? ;)
Also, are those oids apc-private or commonly used/standard among snmp upses?
Thanks,
//Jim
Typos courtesy of my Samsung Mobile
-------- ???????? ????????? --------
??: Charles Lepple <clepple at gmail.com>
????: 2014.02.25 13:08 (GMT+01:00)
????:
2014 Aug 30
1
snmp-ups and constants in snmp_info_t snmp2nut tables
Hi all,
Trying to add support for my unit, which is a 3-phase UPS.
I can't find any oids that holds that data so I can determine that, so I
think I need to add it statically.
I've tried the following, (nut-2.7.2)
...
{ "input.phases", 0, 1.0, NULL, "3", SU_FLAG_SETINT, NULL, &input_phases },
...
That ends up as (snmp-ups -a foo -DDDD)
...
0.177686 getting
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
> #
2008 Sep 08
1
apcsmart and ambient data
Perhaps someone else could confirm this, I have an APC UPS with a built-in network management card with environmental sensor for temp/humidity. The OID index for the sensors appears to be .1 (the last component for each of the OIDs listed below). The original source code has them at .0
drivers/apccmib.h
#define APCC_OID_IEM_TEMP ".1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1"
#define
2014 Feb 19
0
snmp-ups shutdowns
On Wed, 19 Feb 2014, Jim Klimov wrote:
> On 2014-02-19 03:04, Tim Rice wrote:
> > Now here are the OIDs (pick one) to actually turn the UPS off
> > after the shutdown delay.
> >
> > # reboot gracefully (APC) (stays off until utility power is restored)
> > UPS_OID=".1.3.6.1.4.1.318.1.1.1.6.2.2.0 integer 3"
> > # turn off UP gracefully (APC) (stays
2014 Feb 25
1
snmp-ups shutdowns
On Feb 19, 2014, at 11:18 AM, Tim Rice wrote:
> On Wed, 19 Feb 2014, Jim Klimov wrote:
>
>> On 2014-02-19 03:04, Tim Rice wrote:
>>> Now here are the OIDs (pick one) to actually turn the UPS off
>>> after the shutdown delay.
>>>
>>> # reboot gracefully (APC) (stays off until utility power is restored)
>>>
2010 Sep 19
1
Suppressing the GSS-API SPNEGO negTokenInit message on Negotiate Protocol Response
Dear SAMBA experts,
I'm looking to emulate the behavior of some older Windows servers, mainly
old Win2k/XP machines.
On newer clients (possibly XP-SP2 and above), the SMB server will send a
GSS-API message at the end of the Negotiate Protocol Response packet
detailing the supported Security Service Providers by OIDs in a negTokenInit
structure. However, older servers did not send this message
2009 Oct 29
1
Re trieving comments from PostgreSQL tables with RODBC and psqlodbc
I don't know whether this is an RODBC issue, a psqlodbc issue or a PostgreSQL
issue; I've searched the documentation and forums for each, with no success.
I want to list all the tables in a PostgreSQL schema, and return the table
comments as well as the table names. As an example, one table is defined as
follows:
CREATE TABLE scen990.ezone_locationprice_year1
(
ezone integer NOT NULL,
2014 Feb 27
0
snmp-ups shutdowns
On Feb 27, 2014, at 7:07 AM, jimklimov at cos.ru wrote:
> This apparently implies that, unlike some docs say, the snmp-ups driver can send the shutdown signals (is not crippled by design)? ;)
We're working on it:
http://buildbot.networkupstools.org/~buildbot/cayman/docs/latest/docs/man/snmp-ups.html#_shutdown
A quick check says that the implementation has been there since v2.6.4, and
2014 Feb 19
0
snmp-ups shutdowns
Hi Jim,
On Tue, 18 Feb 2014, Jim Klimov wrote:
> Hello all,
>
> I was asked about a proper way to ensure powerfail shutdown of a blade
> server fed off an APC SmartUPS, which is monitored by all hosts over
> SNMP. In particular, they'd like to avoid the "untimely" return of
> utility power - when the OSes are already shutting down, and would
> stay down
2009 Mar 18
1
SNMP on HP UPS
We use HP R5500XR UPS, and they all have SNMP cards. These devices
supposedly use the IETF MIB, but in order to get the SNMP driver to talk
to them I have had to hack it slightly.
I'd like to see these UPS proplerly supported in the official nut
release (mostly so I don't have to faff around patching and repackaging
when a new version comes out) and would be more than happy to provide
2005 Dec 25
3
SQLite primary key schema
So after successfully getting the test SQLite db to run from memory, I
tried running some tests but found that somewhere in the schema
translation from Postgres (my devel database) and SQLite Rails fails
to properly set the ''id'' column, which breaks all kinds of things.
Take as an example my ''users'' table. In Postgres the schema is
(generated with pgAdmin III):
2014 Feb 12
3
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
Thanks, now I started getting messages from the list.
As you advised, I renamed the mib file NETCARD.mib to Tripplite and ran
command
./gen-snmp-subdriver.sh -H 10.200.254.39 -c public -n Tripplite
Here is what it says:
snmp_build: unknown failuresnmpget: Error building ASN.1 representation
(Can't build OID for variable)
COUNT = 0 / 0
Creating tripplite-mib.h
Creating tripplite-mib.c
Done.