Curiouser and curiouser ... I created bsc1.bat to start perl mrtg, and despite repeated attempts ( 2 or 3) I couldn't get it running as a daemon, until the last time I tried it. bsc1 list: start /b perl mrtg bsc1.cfg --logging bsc1.log C:\mrtg-2.10.5\bin > bsc1 C:\mrtg-2.10.5\bin > Daemonizing MRTG ... Do Not close this window. Or MRTG will die MRTG appears to be running happily at this time. Any suggestions on the daemon anomaly?
I wrote:Date: Wed, 24 Mar 2004 07:16:55 -0800 (PST) From: Sam Martin Subject: MRTG Config for Cisco 7204 and Cat6506 To: MRTG Can U Help? mrtg 2-10.5 on Windows 2K I have MRTG monitoring my 7204 w/o issue. I'm using FireDaemon and running it as a service. I want to monitor my Cat6506, but something is wrong ... very wrong .... 1) the log shows mrtg started, but the perl windows doesn't give me the usual warning to the effect that closing this window will mean the terrorists have won ... or something akin. The window closes by itself after a short time, and the only log entry is that mrtg is started. I see perl in my process list, but killing it and restarting mrtg as below has no effect. Any suggestions? tia/rgds S perl cfgmaker [EMAIL PROTECTED] --global "Workdir: C:\Inetpub\wwwroot\mrtg\bsc1" --output bsc1.cfg start perl mrtg bsc1.cfg --logging bsc1.log Also: a portion of bsc1.cfg # Created by # cfgmaker --ifref=name --ifdesc=name '[EMAIL PROTECTED]' --global 'Workdir: C:\Inetpub\wwwroot\mrtg\bsc1' --output device.cfg ### Global Config Options # for UNIX # WorkDir: /home/http/mrtg # or for NT # WorkDir: c:\mrtgdata Workdir: C:\Inetpub\wwwroot\mrtg\device RunAsDaemon: Yes Refresh: 300 ### Global Defaults # to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits EnableIPv6: no ###################################################################### # System: BSC1_6506 # Description: Cisco Systems WS-C6506 # Cisco Catalyst Operating System Software, Version 7.1(2) # Copyright (c) 1995-2002 by Cisco Systems # # Contact: # Location: ###################################################################### ### Interface 1 >> Descr: 'sc0' | Name: 'sc0' | Ip: '192.168.128.40' | Eth: '00-09-44-a8-db-ff' ### Target[bsc1_sc0]: #sc0:[EMAIL PROTECTED]: SetEnv[bsc1_sc0]: MRTG_INT_IP="192.168.128.40" MRTG_INT_DESCR="sc0" MaxBytes[bsc1_sc0]: 1250000 Title[bsc1_sc0]: #sc0 -- BSC1_6506 PageTop[bsc1_sc0]: <H1>#sc0 -- BSC1_6506</H1> <TABLE> <TR><TD>System:</TD> <TD>BSC1_6506 in </TD></TR> <TR><TD>Maintainer:</TD> <TD></TD></TR> <TR><TD>Description:</TD><TD>sc0 </TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> <TR><TD>ifName:</TD> <TD>sc0</TD></TR> <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR> <TR><TD>Ip:</TD> <TD>192.168.128.40 (bsc1)</TD></TR> </TABLE> ### Interface 2 >> Descr: 'sl0' | Name: 'sl0' | Ip: '0.0.0.0' | Eth: '00-00-00-00-00-00' ### Target[bsc1_sl0]: #sl0:[EMAIL PROTECTED]: SetEnv[bsc1_sl0]: MRTG_INT_IP="0.0.0.0" MRTG_INT_DESCR="sl0" MaxBytes[bsc1_sl0]: 1200 Title[bsc1_sl0]: #sl0 -- BSC1_6506 PageTop[bsc1_sl0]: <H1>#sl0 -- BSC1_6506</H1> <TABLE> <TR><TD>System:</TD> <TD>BSC1_6506 in </TD></TR> <TR><TD>Maintainer:</TD> <TD></TD></TR> <TR><TD>Description:</TD><TD>sl0 </TD></TR> <TR><TD>ifType:</TD> <TD>slip (28)</TD></TR> <TR><TD>ifName:</TD> <TD>sl0</TD></TR> <TR><TD>Max Speed:</TD> <TD>1200.0 Bytes/s</TD></TR> <TR><TD>Ip:</TD> <TD>0.0.0.0 (RWOCA3)</TD></TR> </TABLE> ### Interface 3 >> Descr: '' | Name: '1/1' | Ip: '' | Eth: '00-01-64-15-d4-6e' ### ### The following interface is commented out because: ### * it is operationally DOWN # <cut> ### Interface 4 >> Descr: '' | Name: '1/2' | Ip: '' | Eth: '00-01-64-15-d4-6f' ### ### The following interface is commented out because: ### * it is operationally DOWN # <cut> ### Interface 5 >> Descr: 'VLAN-1' | Name: 'VLAN-1' | Ip: '' | Eth: '00-09-44-a8-d8-00' ### ### The following interface is commented out because: ### * has a speed of 0 which makes no sense # <cut> ### Interface 6 >> Descr: 'VLAN-1002' | Name: 'VLAN-1002' | Ip: '' | Eth: '00-09-44-a8-db-e9' ### ### The following interface is commented out because: ### * has a speed of 0 which makes no sense # <cut> ### Interface 7 >> Descr: 'VLAN-1004' | Name: 'VLAN-1004' | Ip: '' | Eth: '00-09-44-a8-db-eb' ### ### The following interface is commented out because: ### * has a speed of 0 which makes no sense # <cut> ### Interface 8 >> Descr: 'VLAN-1005' | Name: 'VLAN-1005' | Ip: '' | Eth: '00-09-44-a8-db-ec' ### ### The following interface is commented out because: ### * has a speed of 0 which makes no sense # <cut> ### Interface 11 >> Descr: '' | Name: '2/2' | Ip: '' | Eth: '00-02-7e-e2-56-01' ### Target[bsc1_2_2]: #2/2:[EMAIL PROTECTED]: SetEnv[bsc1_2_2]: MRTG_INT_IP="" MRTG_INT_DESCR="" MaxBytes[bsc1_2_2]: 125000000 Title[bsc1_2_2]: #2/2 -- BSC1_6506 PageTop[bsc1_2_2]: <H1>#2/2 -- BSC1_6506</H1> <TABLE> <TR><TD>System:</TD> <TD>BSC1_6506 in </TD></TR> <TR><TD>Maintainer:</TD> <TD></TD></TR> <TR><TD>Description:</TD><TD> </TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> <TR><TD>ifName:</TD> <TD>2/2</TD></TR> <TR><TD>Port Name:</TD> <TD></TD></TR> <TR><TD>Max Speed:</TD> <TD>125.0 MBytes/s</TD></TR> </TABLE> Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
