close
Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#39 closed enhancement (fixed)

check for several online interfaces

Reported by: anonymous Owned by: somebody
Priority: low Milestone: YAM 2.7
Component: TCP/IP interface Version:
Severity: trivial Keywords:
Cc: OS Platform:
Blocked By: Blocking:
Release Notes:

Description

It would be nice if it is allowed to specify not only one interface which should be checked if it is online, but several, e.g.: (seperated through ",")

... = ppp0,ppp7,ppp2

(sorry I don't know the exact variable name in the config file under hidden options at the moment but I think it is the one below "IsOnlineCheck")


Moved from SF:
https://sourceforge.net/tracker/?func=detail&aid=454213&group_id=13560&atid=363560

Attachments (0)

Change History (7)

comment:1 Changed 5 years ago by damato

  • Priority changed from major to undecided
  • Severity set to major

comment:2 Changed 5 years ago by damato

  • Component changed from stable build to undefined

comment:3 Changed 5 years ago by damato

  • Cc yamos-svn@… removed

comment:4 Changed 5 years ago by damato

  • Component changed from undefined to TCP/IP interface
  • Milestone set to YAM 2.7
  • Priority changed from undecided to low
  • Severity changed from major to trivial
  • Status changed from new to accepted

makes perfectly sense IMHO.

comment:5 Changed 4 years ago by tboeckel

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [4807]) * YAM_TR.c, YAM_CO.c, YAM_COs.c: implemented a multiple interface check to be

able to specify more than just a single interface to be checked to be
online. It is now possible to provide a comma separated list of interfaces
to be checked in the advanced section of YAM's config (i.e. "eth0,ppp0").
This closes #39.

comment:6 Changed 4 years ago by anonymous

To be on the save side the patch should also recognise entries like:
" eth0 , ppp0 ". So the iface string should be trim()ed before calling
CheckSingleInterface().

comment:7 Changed 4 years ago by damato

added the Trim() operation now to the execution of CheckSingleInterface(). Thanks for the hint.

Add Comment

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber

Nobody is currently notified about changes to this ticket.