The Add Interface option was removed from 0.7.5.
The Correct way to handle this is to create a simple discovery script,
so when you click on manual discovery the interface will be already filled in.
Also in 0.7.6 a new option exists to allow Manual Interface Add's from the
Manual Discovery screen.
Also it seems link you created a new poller script to do just a snmp_get, you
can use the snmp_counter script and pass the parameters to it.
Sorry for the delay.
On Monday 23 February 2004 19:25, Karl S. Hagen wrote:
> In this case... its more difficult than that. I have created several
> new interface types, poller backends, poller items, and graph types.
> Alot of them. The data Im interested in, at least right now, is the
> history for graphing. The alerts, and other data, isnt really usefull
> since we dont use it. Once, I get the graphs the way I want them
> Ill start to setup SLAs and then the DB will be important. Unless, Im
> missing something else in the DB?
> I also ran into my original 0.7.5 flaw in 0.7.6 and hopefully I can
> explain this well enough to describe it.
> Interface Type:
> 10001 SMTP ESF none Mail ESF none Mail Queue Total No SLA
> RRA:AVERAGE:0.5:1:<resolution> 103680 300
> Interface Type fields:
> 10001 Index index 10 SMTP ESF Index Never Always Not in Discovery
> 10002 Description description 20 SMTP ESF Description Never Always
> Not in Discovery 10003 Mail Queue Total queuetotal 30 SMTP ESF RRDTool
> DS Never Always Not in Discovery Type: Counter Gauge Absolute Min:
> Max: 20000 or Use f
> Poller Item:
> 10001 SMTP ESF QueueTotal queuetotal snmp_counter_sendmailswitch
> Poller Group:
> 10001 Mail ESF SMTP ESF
> Poller Group Fields:
> 10001 Mail ESF 50 SMTP ESF QueueTotal Temporal Buffer
> 10002 Mail ESF 99 No Poller RRDTool All DSs
> Graph Type:
> 10001 Mail Queue Total SMTP ESF mail_queuetotal 500 175 0 0
> Ok. If I go into Hosts + Interfaces:
> 1) Add a new host
> 2) Select zone, add IP and read only string
> 3) Submit.
> Goto View on that host:
> 1) Click add. (To manually add a new interface)
> Here is where it breaks. Under the old 0.7.4, the new interface
> would show up as unknown under the Interfaces tab. You can then
> click on it and fill in data. Under 0.7.5 and 0.7.6, interface
> doesnt show up at ALL, even if you select View ALL. You can find
> it in the No Interface Type Group, listed as Unknown UNK. You
> can select it and click View. Still no dice. The interface is
> completely lost.
> What am I missing for adding a new interface manually to a host?
> If I could say, add new interface and be allowed to select the
> type and other pertinent info, it would probably fix it.
> Thus spake Javier Szyszlican (javier@...):
> > Hi Karl,
> > Why dont you want to keep the DB?
> > In this case it will be complex, because the RRD file name consist of the
> > Interface ID. so if you don't keep the host/interfaces tables the IDs
> > will not be the same.
> > I think you should upgrade 0.7.4->0.7.5 then backup hosts, interfaces_*
> > tables and then:
> > if you want upgrade 0.7.5->0.7.6 and then empty a few tables you don't
> > want info (like events, alarms)
> > or
> > put the 0.7.6 db and import the backup tables.
> > Javier
> > On Monday 23 February 2004 18:08, Karl S. Hagen wrote:
> > > Ok. Im testing 0.7.6 out to see if I can manually create
> > > new interfaces (ie. SMTP probing). However, Im only interested
> > > in keeping the RRD data. Is there an easy way of keeping those
> > > files and NOT keeping the Mysql DB?