xymon

Check-in [d531d591aa]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Handle ifstat/netstat reports from the Win PowerShell client git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7609 44351d6e-118b-4698-b696-ce33095ecaa4
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | origin/4.3.19
Files: files | file ages | folders
SHA3-256: d531d591aa930c08ae79c27f17f5567a1be8de982541ff2235ae8f522e75ddf9
User & Date: jccleaver@users.sf.net 2015-03-22 00:21:16
Context
2015-03-22
03:42
Allow hostnames beginning with a number in combo.cfg, per RFC1123 git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7610 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: f0287bd21a user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
00:21
Handle ifstat/netstat reports from the Win PowerShell client git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7609 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: d531d591aa user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
2015-03-21
15:00
Add deltacount (lines matching seen since last run) option git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7608 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 7dbd406d51 user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to xymond/rrd/do_ifstat.c.

295
296
297
298
299
300
301

302
303
304
305
306
307
308
			break;
			
 		  case OS_SCO_SV:
		        if (pickdata(bol, ifstat_sco_sv_pcres[0], 0, &ifname, &rxstr, &txstr)) dmatch = 7;
			break;
			
		  case OS_WIN32_BBWIN:

			if (pickdata(bol, ifstat_bbwin_pcres[0], 0, &ifname, &rxstr, &txstr)) dmatch = 7;
			break;

		  default:
			break;
		}








>







295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
			break;
			
 		  case OS_SCO_SV:
		        if (pickdata(bol, ifstat_sco_sv_pcres[0], 0, &ifname, &rxstr, &txstr)) dmatch = 7;
			break;
			
		  case OS_WIN32_BBWIN:
		  case OS_WIN_POWERSHELL:
			if (pickdata(bol, ifstat_bbwin_pcres[0], 0, &ifname, &rxstr, &txstr)) dmatch = 7;
			break;

		  default:
			break;
		}

Changes to xymond/rrd/do_netstat.c.

512
513
514
515
516
517
518

519
520
521
522
523
524
525
	  case OS_SNMP:
	  case OS_NETWARE_SNMP:
		havedata = do_valbeforemarker(netstat_snmp_markers, datapart, outp);
		break;

	  case OS_WIN32:
	  case OS_WIN32_BBWIN:

		havedata = do_valaftermarkerequal(netstat_win32_markers, datapart, outp);
		break;

 	  case OS_SCO_SV:
	        havedata = handle_pcre_netstat(datapart, netstat_sco_sv_pcres, outp);
		break;








>







512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
	  case OS_SNMP:
	  case OS_NETWARE_SNMP:
		havedata = do_valbeforemarker(netstat_snmp_markers, datapart, outp);
		break;

	  case OS_WIN32:
	  case OS_WIN32_BBWIN:
	  case OS_WIN_POWERSHELL:
		havedata = do_valaftermarkerequal(netstat_win32_markers, datapart, outp);
		break;

 	  case OS_SCO_SV:
	        havedata = handle_pcre_netstat(datapart, netstat_sco_sv_pcres, outp);
		break;