Re: (usr-tc) Bad Modem monitoring
Excuse my ignorance, but my perl doesnt have SNMP_Session, where can I get it from? All the best, Brett Murphy Technical Manager, Alphalink (Australia) PTY LTD ph: +61 3 9486-8844 fax: +61 3 9486-6822 email: me@murf.net The contents of this email message may not be quoted, copied, reproduced or published in part or in whole, without the written authorization of Brett Murphy, Director, Alphalink (Australia) Pty Ltd. -----Original Message----- From: Eric Billeter <ebilleter@cableone.net> To: usr-tc@lists.xmission.com <usr-tc@lists.xmission.com> Date: Thursday, 19 August 1999 3:27 Subject: RE: (usr-tc) Bad Modem monitoring
Here is an updated version with mail notification.
I am using ntsendmail.pm which is available at You will need to place ntsendmail.pm in your \perl\lib directory.
http://www.alliancestudio.com/tk/ntsendmail/
Modify the values in the script for each site you want to monitor
$ENV{"NTsendmail"} = "My.mailserver.com"; #Enter your Mail Server Here
my $community="public"; # Your community String my $router = "127.0.0.1"; # IP Address of NMC my $outputfile = "modem-fail.htm"; # File to output to my $location = "Phoenix"; # Location Descriptor my $sender = "tech\@mycompany.com"; # Mail From (use \@ in mail address) my $recipient = "tech\@mycompany.com"; # Mail To (use \@ in mail address) my $subject = "$location modems"; # Mail Subject
For errored status I'm using 15% for my threshold. You can change it on this line.
if (@callfail[$i-1] > (@callok[$i-1])*.15) {
Again.. if there are any perl guru's out there who could clean this up it would be appreciated.
Thanks
Eric Billeter Internet Engineer Cable One, Inc.
eric.billeter@cableone.net 602-364-6462
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
The SNMP_session and some others are included with MRTG. That's where I got them from Eric Billeter Internet Engineer Cable One, Inc. eric.billeter@cableone.net 602-364-6462 -----Original Message----- From: owner-usr-tc@lists.xmission.com [mailto:owner-usr-tc@lists.xmission.com]On Behalf Of Brett Murphy Sent: Wednesday, August 18, 1999 5:34 PM To: usr-tc@lists.xmission.com Subject: Re: (usr-tc) Bad Modem monitoring Excuse my ignorance, but my perl doesnt have SNMP_Session, where can I get it from? All the best, Brett Murphy Technical Manager, Alphalink (Australia) PTY LTD ph: +61 3 9486-8844 fax: +61 3 9486-6822 email: me@murf.net The contents of this email message may not be quoted, copied, reproduced or published in part or in whole, without the written authorization of Brett Murphy, Director, Alphalink (Australia) Pty Ltd. -----Original Message----- From: Eric Billeter <ebilleter@cableone.net> To: usr-tc@lists.xmission.com <usr-tc@lists.xmission.com> Date: Thursday, 19 August 1999 3:27 Subject: RE: (usr-tc) Bad Modem monitoring
Here is an updated version with mail notification.
I am using ntsendmail.pm which is available at You will need to place ntsendmail.pm in your \perl\lib directory.
http://www.alliancestudio.com/tk/ntsendmail/
Modify the values in the script for each site you want to monitor
$ENV{"NTsendmail"} = "My.mailserver.com"; #Enter your Mail Server Here
my $community="public"; # Your community String my $router = "127.0.0.1"; # IP Address of NMC my $outputfile = "modem-fail.htm"; # File to output to my $location = "Phoenix"; # Location Descriptor my $sender = "tech\@mycompany.com"; # Mail From (use \@ in mail address) my $recipient = "tech\@mycompany.com"; # Mail To (use \@ in mail address) my $subject = "$location modems"; # Mail Subject
For errored status I'm using 15% for my threshold. You can change it on this line.
if (@callfail[$i-1] > (@callok[$i-1])*.15) {
Again.. if there are any perl guru's out there who could clean this up it would be appreciated.
Thanks
Eric Billeter Internet Engineer Cable One, Inc.
eric.billeter@cableone.net 602-364-6462
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message. - To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Can someone tell how to set up a idle time for a profile that was set up on the USR itself instead of a UNIX server. Thanks Vito - To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Thus spake vito@aracnet.net
Can someone tell how to set up a idle time for a profile that was set up on the USR itself instead of a UNIX server.
set user bob idle_timeout x -- Jeff McAdams Email: jeffm@iglou.com Head Network Administrator Voice: (502) 966-3848 IgLou Internet Services (800) 436-4456 - To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Yea. But why can't I get the ARC to do it from radius? Jim Jeff Mcadams wrote:
Thus spake vito@aracnet.net
Can someone tell how to set up a idle time for a profile that was set up on the USR itself instead of a UNIX server.
set user bob idle_timeout x -- Jeff McAdams Email: jeffm@iglou.com Head Network Administrator Voice: (502) 966-3848 IgLou Internet Services (800) 436-4456
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Thus spake Jim Johnson
Yea. But why can't I get the ARC to do it from radius?
Well...Vito was specifically asking about setting it up in the USR directly, not via RADIUS. Idle-Timeout works marvelously in RADIUS for me. -- Jeff McAdams Email: jeffm@iglou.com Head Network Administrator Voice: (502) 966-3848 IgLou Internet Services (800) 436-4456 - To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
What is the dictionary entry for your Idle-Time Attribute? Jim Jeff Mcadams wrote:
Thus spake Jim Johnson
Yea. But why can't I get the ARC to do it from radius?
Well...Vito was specifically asking about setting it up in the USR directly, not via RADIUS.
Idle-Timeout works marvelously in RADIUS for me. -- Jeff McAdams Email: jeffm@iglou.com Head Network Administrator Voice: (502) 966-3848 IgLou Internet Services (800) 436-4456
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Thus spake Jim Johnson
What is the dictionary entry for your Idle-Time Attribute?
Merit 3.6 something or other. ATTRIBUTE Idle-Timeout 28 integer (1, 0) -- Jeff McAdams Email: jeffm@iglou.com Head Network Administrator Voice: (502) 966-3848 IgLou Internet Services (800) 436-4456 - To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Oh well, that's what we have in our file. I just started palying with the setting yesterday, and I was trying to use MON RAD to watch the packets come back for a user and I was not seeing these attributes sent back. Shouldn't they show up in the monitor interface? Maybe they are being set, but how can you tell short of just seeing if a conneciton is terminated. Jim Jeff Mcadams wrote:
Thus spake Jim Johnson
What is the dictionary entry for your Idle-Time Attribute?
Merit 3.6 something or other.
ATTRIBUTE Idle-Timeout 28 integer (1, 0) -- Jeff McAdams Email: jeffm@iglou.com Head Network Administrator Voice: (502) 966-3848 IgLou Internet Services (800) 436-4456
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
After idling a connected machine, the Idle-Timeout attribute did work so I assume the Session-Timeout also works. I still don't understand why these wouldn't show up in Mon Rad. Jim Jim Johnson wrote:
Oh well, that's what we have in our file.
I just started palying with the setting yesterday, and I was trying to use MON RAD to watch the packets come back for a user and I was not seeing these attributes sent back. Shouldn't they show up in the monitor interface? Maybe they are being set, but how can you tell short of just seeing if a conneciton is terminated.
Jim
Jeff Mcadams wrote:
Thus spake Jim Johnson
What is the dictionary entry for your Idle-Time Attribute?
Merit 3.6 something or other.
ATTRIBUTE Idle-Timeout 28 integer (1, 0) -- Jeff McAdams Email: jeffm@iglou.com Head Network Administrator Voice: (502) 966-3848 IgLou Internet Services (800) 436-4456
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Is 'SESSION-TIMEOUT' also in seconds, or is it in minutes?
-----Original Message----- From: owner-usr-tc@lists.xmission.com [mailto:owner-usr-tc@lists.xmission.com]On Behalf Of Jim Johnson Sent: Friday, August 20, 1999 10:05 AM To: usr-tc@lists.xmission.com Subject: Re: (usr-tc) Idle time
After idling a connected machine, the Idle-Timeout attribute did work so I assume the Session-Timeout also works.
I still don't understand why these wouldn't show up in Mon Rad.
Jim
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Sessesion-Timeout is specified in seconds. _jason Scot Desort wrote:
Is 'SESSION-TIMEOUT' also in seconds, or is it in minutes?
-----Original Message----- From: owner-usr-tc@lists.xmission.com [mailto:owner-usr-tc@lists.xmission.com]On Behalf Of Jim Johnson Sent: Friday, August 20, 1999 10:05 AM To: usr-tc@lists.xmission.com Subject: Re: (usr-tc) Idle time
After idling a connected machine, the Idle-Timeout attribute did work so I assume the Session-Timeout also works.
I still don't understand why these wouldn't show up in Mon Rad.
Jim
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Is there a command to show the current idle time of users? Not what it is set at, but the actual idle time accrued during the current session. David At 03:01 PM 8/20/99 -0500, you wrote:
Sessesion-Timeout is specified in seconds.
_jason
Scot Desort wrote:
Is 'SESSION-TIMEOUT' also in seconds, or is it in minutes?
-----Original Message----- From: owner-usr-tc@lists.xmission.com [mailto:owner-usr-tc@lists.xmission.com]On Behalf Of Jim Johnson Sent: Friday, August 20, 1999 10:05 AM To: usr-tc@lists.xmission.com Subject: Re: (usr-tc) Idle time
After idling a connected machine, the Idle-Timeout attribute did work so I assume the Session-Timeout also works.
I still don't understand why these wouldn't show up in Mon Rad.
Jim
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
__________________________________________________ David Swearingin (david@carolnet.com) CARROLLTON INTERNET SERVICE (www.carolnet.com) First Financial Group, Inc. 11 N. Folger, Carrollton, MO 64633 660-542-3002 Fax 660-542-3003 - To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Idle-timout will show up in the RADIUS monitor.. This is a STD attribute and should be part of any RADIUS implementation.. If you miss it in RAD MON you can also type the command "SHOW REMOTE USER <X>" to see all the attributes that have been received from RADIUS for that user. -M |-----Original Message----- |From: owner-usr-tc@lists.xmission.com |[mailto:owner-usr-tc@lists.xmission.com]On Behalf Of Jim Johnson |Sent: Friday, August 20, 1999 8:15 AM |To: usr-tc@lists.xmission.com |Subject: Re: (usr-tc) Idle time | | | |Oh well, that's what we have in our file. | |I just started palying with the setting yesterday, and I was trying to |use MON RAD to watch the packets come back for a user and I was not |seeing these attributes sent back. Shouldn't they show up in the |monitor interface? Maybe they are being set, but how can you tell short |of just seeing if a conneciton is terminated. | |Jim | |Jeff Mcadams wrote: |> |> Thus spake Jim Johnson |> >What is the dictionary entry for your Idle-Time Attribute? |> |> Merit 3.6 something or other. |> |> ATTRIBUTE Idle-Timeout 28 integer (1, 0) |> -- |> Jeff McAdams Email: jeffm@iglou.com |> Head Network Administrator Voice: (502) 966-3848 |> IgLou Internet Services (800) 436-4456 |> |> - |> To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" |> with "unsubscribe usr-tc" in the body of the message. |> For information on digests or retrieving files and old messages send |> "help" to the same address. Do not use quotes in your message. | |- | To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" | with "unsubscribe usr-tc" in the body of the message. | For information on digests or retrieving files and old messages send | "help" to the same address. Do not use quotes in your message. | - To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
Thanks. Jim Mike Wronski wrote:
Idle-timout will show up in the RADIUS monitor.. This is a STD attribute and should be part of any RADIUS implementation.. If you miss it in RAD MON you can also type the command "SHOW REMOTE USER <X>" to see all the attributes that have been received from RADIUS for that user.
-M
|-----Original Message----- |From: owner-usr-tc@lists.xmission.com |[mailto:owner-usr-tc@lists.xmission.com]On Behalf Of Jim Johnson |Sent: Friday, August 20, 1999 8:15 AM |To: usr-tc@lists.xmission.com |Subject: Re: (usr-tc) Idle time | | | |Oh well, that's what we have in our file. | |I just started palying with the setting yesterday, and I was trying to |use MON RAD to watch the packets come back for a user and I was not |seeing these attributes sent back. Shouldn't they show up in the |monitor interface? Maybe they are being set, but how can you tell short |of just seeing if a conneciton is terminated. | |Jim | |Jeff Mcadams wrote: |> |> Thus spake Jim Johnson |> >What is the dictionary entry for your Idle-Time Attribute? |> |> Merit 3.6 something or other. |> |> ATTRIBUTE Idle-Timeout 28 integer (1, 0) |> -- |> Jeff McAdams Email: jeffm@iglou.com |> Head Network Administrator Voice: (502) 966-3848 |> IgLou Internet Services (800) 436-4456 |> |> - |> To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" |> with "unsubscribe usr-tc" in the body of the message. |> For information on digests or retrieving files and old messages send |> "help" to the same address. Do not use quotes in your message. | |- | To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" | with "unsubscribe usr-tc" in the body of the message. | For information on digests or retrieving files and old messages send | "help" to the same address. Do not use quotes in your message. |
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
participants (9)
-
Brett Murphy -
david@carolnet.com -
Eric Billeter -
Jason Cropper -
Jeff Mcadams -
Jim Johnson -
Mike Wronski -
Scot Desort -
vito@aracnet.net