Welcome, Guest. Please login or register.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ascii

Pages: 1 ... 5 6 [7]
91
GUI / change rack hight in Topolgy Table
« on: February 06, 2013, 11:27:19 AM »
Hello together,

our new rack have 47 rack hights.
when is set the snmp location to units 35-47 it's above the rack in the table.
i think it would be great if we could set the hight of our racks in the config.

92
News / Re: NeDi 1.0.8 Progress
« on: February 05, 2013, 08:46:41 AM »
i just updated to new 027.
i also had to alter ther table monitoring and add a collum eventlvl after eventfwd
Code: [Select]
ALTER TABLE `monitoring` ADD `eventlvl ` TINYINT NULL DEFAULT '0' AFTER `eventfwd`

93
Other / 2nd basedn for LDAP
« on: January 18, 2013, 08:27:22 AM »
Hello together,

i needed to modify the config and libldap.php a little bit.
in our LDAP structure there are internal and external Users. I can't change these because I'm not an AD admin.
so i added a couple lines to the LDAP function. Since i'm not really a programmer it is probably a very quick&dirty solution

in nedi.conf add:
Code: [Select]
ldapsrvext       ou=user,ou=Extranet,o=base,c=DEldapsrvext is the varibale used in libldap.php

in html/inc/libldap.php i changed the function ldapFindDn
Code: [Select]
/** Find User dn
 *
 * @param   $login  dn of the user to find
*/
function ldapFindDn($login) {
        global $ldapsrv, $user_dn, $ldapmap;

        //Connect to the directory
        $ds = connect_ldap($ldapsrv[0], $ldapsrv[1], $ldapsrv[4], $ldapsrv[2], 0,0);
        if ($ds) {
                //Get the user's dn
                $user_dn = ldap_search_user_dn($ds, $ldapsrv[3], $ldapsrv[5], stripslashes($login), '');
                $user_dnext = ldap_search_user_dn($ds, $ldapsrvext[0], $ldapsrv[5], stripslashes($login), '');
                if ($user_dn) {
                        if ((getFromLDAP($ds, $user_dn, addslashes($login))) and (getldapusersgroups($ds, $user_dn, addslashes($login)))) {
                                return true;
                        } else {
                                if ((getFromLDAP($ds, $user_dnext, addslashes($login))) and (getldapusersgroups($ds, $user_dnext, addslashes($login)))) {
                                        $user_dn = $user_dnext;
                                        return true;
                                } else {
                                        return false;
                                }
                                // return false;
                        }
                }
        } else {
                return false;
        }
}

maybe same of you are looking for such a feature

94
GUI / Re: Feature Request: ability to change vlan
« on: January 14, 2013, 12:40:41 PM »
I know :) And I'm actually looking into it...

How about another button to toggle PoE delivery (to reset APs or phones for example)? Did anyone ever miss that?

sounds great.
i had a couple times before and i just disabled the port and reanabled it a couple seconds later.

95
GUI / Feature Request: ability to change vlan
« on: January 11, 2013, 10:41:09 AM »
Iím not sure if the GUI subforum is the right place.

I think it would be great if there were a possibility to change the vlan on a access port.
Like the feature to set the description/alias on a port.

96
Definition Files / Re: WS-C3750V2-24PS-S no PoE power displayed
« on: January 11, 2013, 09:54:24 AM »
perfect.

thank you very much. now it works.
i testet it before and it wasn't working but these where before i set the IFpwix  to 1.3.6.1.4.1.9.5.1.4.1.1.11

now the .def file looks like these and is working.
Code: [Select]
# General
SNMPv   2HC
Type    WS-C3750v2
Typoid
Sysdes
OS      IOS
Icon    w3bn
Size    1
Bridge  VLX
ArpND   oldcie
Dispro  CDP
Serial  1.3.6.1.2.1.47.1.1.1.1.11.1001
Bimage  1.3.6.1.4.1.9.2.1.73.0

# Vlan Specific
VLnams  1.3.6.1.4.1.9.9.46.1.3.1.1.4.1
VLnamx
Group   1.3.6.1.4.1.9.9.46.1.2.1.1.2.1
Mode    1.3.6.1.4.1.9.9.46.1.2.1.1.3.1

# Interfaces
StartX
EndX
IFname  1.3.6.1.2.1.31.1.1.1.1
IFaddr  oldcie
IFalia  1.3.6.1.2.1.31.1.1.1.18
IFalix
InBcast 1.3.6.1.2.1.31.1.1.1.3
InDisc  1.3.6.1.2.1.2.2.1.13
OutDisc 1.3.6.1.2.1.2.2.1.19
IFvlan  1.3.6.1.4.1.9.9.68.1.2.2.1.2
IFvlix
IFpowr  1.3.6.1.4.1.9.9.402.1.2.1.7
IFpwix  1.3.6.1.4.1.9.5.1.4.1.1.11
IFdupl  1.3.6.1.2.1.10.7.2.1.19
IFduix
Halfdp  2
Fulldp  3

# Modules
Modesc  1.3.6.1.2.1.47.1.1.1.1.2
Moclas  1.3.6.1.2.1.47.1.1.1.1.5
Movalu  3|6|10
Moslot  1.3.6.1.2.1.47.1.1.1.1.7
Modhw   1.3.6.1.2.1.47.1.1.1.1.8
Modsw   1.3.6.1.2.1.47.1.1.1.1.9
Modfw   1.3.6.1.2.1.47.1.1.1.1.10
Modser  1.3.6.1.2.1.47.1.1.1.1.11
Momodl  1.3.6.1.2.1.47.1.1.1.1.13

# RRD Graphing
CPUutl  1.3.6.1.4.1.9.9.109.1.1.1.1.8.1
Temp    1.3.6.1.4.1.9.9.13.1.3.1.3.1006
MemCPU  1.3.6.1.4.1.9.9.48.1.1.1.6.1
Custom  MemIO;G;Bytes   1.3.6.1.4.1.9.9.48.1.1.1.6.2

97
Definition Files / Re: WS-C3750V2-24PS-S no PoE power displayed
« on: January 10, 2013, 08:57:17 AM »
i have
Code: [Select]
usepoe          disprotin the config
a WS-C3550-48 works. i have consumption there

98
Definition Files / Re: WS-C3750V2-24PS-S no PoE power displayed
« on: January 09, 2013, 02:08:52 PM »
i just tried it.
but no luck.
the index looks very good but still no consumption is shown

99
Definition Files / WS-C3750V2-24PS-S no PoE power displayed
« on: December 20, 2012, 10:56:17 AM »
Hello together,

i watched the defgen tutorial and got stuck at the IF Power Index.
the power consumption is read correct from the switch
1.3.6.1.4.1.9.9.402.1.2.1.7

i set the IF index to 1.3.6.1.2.1.10.7.2.1.1 to remap.
but on the device overview it's still not displayed

100
Discovery / html/test/me.php wrong sort
« on: December 20, 2012, 09:52:40 AM »
just a small think.
looks like the the offset is off by one.

old code in html/test/me.php
line 53
Code: [Select]
echo "<tr class=\"txta\"><th class=\"imga\" width=\"20\"><img src=\"img/16/grph.png\" title=\"In/Out\"></th><td colspan=\"2\">Traffic: <b class=\"blu code\">".DecFix($n[26])."/".DecFix($n[27])."</b> Errors:<b class=\"drd code\"> ".DecFix($n[28])."/".DecFix($n[29])."</b> Discards:<b class=\"prp code\">".DecFix($n[30])."/".DecFix($n[31])." </b> Bcast:<b class=\"dgy code\"> ".DecFix($n[32])."</b></td></tr>\n"; change to
Code: [Select]
echo "<tr class=\"txta\"><th class=\"imga\" width=\"20\"><img src=\"img/16/grph.png\" title=\"In/Out\"></th><td colspan=\"2\">Traffic: <b class=\"blu code\">".DecFix($n[27])."/".DecFix($n[28])."</b> Errors:<b class=\"drd code\"> ".DecFix($n[29])."/".DecFix($n[30])."</b> Discards:<b class=\"prp code\">".DecFix($n[31])."/".DecFix($n[32])." </b> Bcast:<b class=\"dgy code\"> ".DecFix($n[33])."</b></td></tr>\n";

Pages: 1 ... 5 6 [7]