Re: Trouble receiving interface list.

From: Christoffer Blindheim <netxms_at_DOMAIN_REMOVED>
Date: Mon, 29 Aug 2005 22:46:27 +0200

nxget -a plain -s mysecret -l servername Net.InterfaceList gives:
        500: Internal error

Tried this on two diffrent gentoo servers, but no luck. The only gentoo
server that gives me a interface list is the managementserver, but this
has the alias problem...

Alias:
1 127.0.0.1/8 1 000000000000 lo
2 xxx.yyy.zzz.ccc/27 1 000EA62D798E eth0
3 10.20.1.19/16 1 0002B39A806B eth1

my ifconfig |grep eth
eth0 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
eth0:1 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
eth0:2 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
eth0:3 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
eth0:4 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
eth1 Link encap:Ethernet HWaddr 00:02:B3:9A:80:6B
eth1:1 Link encap:Ethernet HWaddr 00:02:B3:9A:80:6B

However this system is running 2.6 kernel, could this cause it?
My 2.4 rh-7.2 is responding correctly.

Do you have a small program that utilizes the if_nameindex function that
I could try to run on my systems for debugging?

thanks.

-- 
Christoffer Blindheim
Victor Kirhenshtein wrote:
> What is Linux version? Also, can you run the following command on the
> server console:
> 
> nxget -l <your_problem_linux_server_address> Net.InterfaceList
> 
> And send me an output?
> Alias interfaces should be alredy supported. If they don't retrieved
> correctly, send me please output of the same command for problematic
> agent.
> 
> Retrieving routing table currently supported by Windows agent and we
> plan to implement it on Linux and FreeBSD in a next few days.
> 
> Regards,
> Victor
Received on Mon Aug 29 2005 - 23:46:27 EEST

This archive was generated by hypermail 2.2.0 : Mon Aug 29 2005 - 23:55:44 EEST