Hi Roger,
Here's the output from a machine with both an active wired and wireless
connection.
I need to go compare these to what I get on Linux and see what things I
would really like to see (or even /need /to see) that are missing. The
one that comes to mind is scope. This comes for "free" on Linux - but
the idea is important.
But this is still awesome progress.
{
"discovertype": "netconfig",
"description": "IP Network Configuration",
"source": "netconfig",
"host": "LAURALAPTOP",
"data": {
"Wireless Network Connection": {
"address": "00:1C:BF:25:32:FB",
"mtu": 1500,
"operstate": "UP",
"ipaddrs": {
"10.10.10.87/24": {"brd":"10.10.10.255"}
}
}
,
"Local Area Connection": {
"address": "00:1C:25:18:93:C3",
"mtu": 1500,
"operstate": "UP",
"ipaddrs": {
"10.10.10.7/24": {"brd":"10.10.10.255"}
}
}
,
"MS TCP Loopback interface": {
"address": "00:00:00:00:00:00",
"mtu": 1520,
"operstate": "UP",
"ipaddrs": {
"127.0.0.1/8": {} }
}
}
}
On 4/12/2013 6:24 PM, Roger Massey wrote:
Here is a link
<https://dl.dropboxusercontent.com/u/17774745/netconfig.zip> to a zip
file with a windows netconfigexe. (The . is missing to make the mailer
happy). If you have a windows machine run netconfig.exe on it. It
should output a json string that describes the machine's network config.
You could verify the json is legal on web validators (jsonlint, ...)
or post the string to the list.
If you have visual studio c# 2010 the source code is also in the zip
and comments to the list are welcome.
It is my first c# program so be gentle.
Roger
PS. I never could get the exe and/or zip through the mailer.
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/