Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ovsho
Package: mrtg-2.13.2.zip [view]
Upload User: shbosideng
Upload Date: 2013-05-04
Package Size: 1555k
Code Size: 1k
Category:
SNMP
Development Platform:
C/C++
- #!/usr/local/bin/perl5
- # -*- mode: Perl -*-
- ##################################################################
- # This file controls the creation of all the MRTG config files from OV
- ##################################################################
- # Created by Laurie Gellatly <gellatly@one.net.au>
- # See newrtrov.txt for a description of what is performed
- #################################################################
- #
- # Distributed under the GNU copyleft
- #
- # $Id: ovsho,v 1.1.1.1 2002/02/26 10:16:36 oetiker Exp $
- #
- use Socket;
- use strict;
- use vars '$DEBUG';
- my $DEBUG = 0;
- my $rundir = "/opt/mrtg/run";
- my $dnsfile = "ovmrtgc.csv";
- my($line,@sysnms);
- sub main {
- chdir $rundir;
- open (DNSFILE,"<".$dnsfile);
- while(<DNSFILE>){
- chomp;
- $line = $_;
- $sysnms[@sysnms]= (split /,/,$line)[2];
- }
- close (DNSFILE);
- `ovtgts $ENV{OVwSessionID} @sysnms`;
- }
- main;
- exit(0);