Vpdn: searching for snmp oid to log out vpdn session

Hello colleagues,
Cisco 7204 works as vpdn server.
There are two problems:
1) I'm searching for snmp oid to log out , terminate vpdn session
2) radius server does not receives snmp statistics of incoming traffic of vpdn users.
Please is anyone able to assist me?
aaa new-model
aaa authentication login default local
aaa authentication ppp default group radius local
aaa authentication ppp VPDN local group radius
aaa authorization network default local group radius
aaa accounting delay-start
aaa accounting update periodic 3
aaa accounting exec default start-stop group radius
aaa accounting network default start-stop group radius
aaa session-id common
vpdn enable
vpdn-group 1
! Default PPTP VPDN group
description HOMENET
accept-dialin
protocol pptp
virtual-template 3
interface Virtual-Template3
ip unnumbered Loopback1
peer default ip address pool vpdn-pool
no keepalive
ppp authentication chap VPDN
snmp-server community xxxxxxx RW
snmp-server chassis-id 0x0E
snmp-server enable traps tty
radius-server host x.x.x.x auth-port 1812 acct-port 1813
radius-server timeout 60
radius-server key 7
radius-server authorization permit missing Service-Type
Best regards, Petr Akimov

Hello –
I received a reply from the developer of the script, and listed below is the new code that was suggested:
#!/bin/bash
value=`snmpwalk $1 -v1 -c $2 .1.3.6.1.2.1.25.1.5.0 | cut -d " " -f4`
if [[ value -gt  $3 ]]
then
echo " $value Users Online, Critical!"
retval=2;
else
     if [[ $value -gt $4 ]]
           then
           echo " $value users online, Warning!"
           retval=1;
           else
           echo " $value Users online, fine."
           retval=0;
           fi
fi
exit $retval;
I checked the server in question, and there were two, 2, user logins active on the system. I ran the snmpwalk command, and the output was the following:
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 15
I then modified the script to include the above text, and ran it again. The output was the following:
15 users on line, Normal.
For some reason, the value of 12 appears to be that for no users logged into the system. I am not sure why that is the case.
If nothing else, progress has been made with the modification of the script.  The snmp service that I have installed on the server is that which came bundled as a
feature with the server. The only thing that was not installed was the SNMP WMI Provider option.

Similar Messages

  • I used to share one apple ID/account with my ex but made a new one for myself recently and logged out of the old one but when I try to update my iBooks it asks for the old account's password(which my ex changed by now)

    I used to share one apple ID/account with my ex but made a new one for myself recently and logged out of the old one but when I try to update my iBooks (only happens with this app)it asks for the other account's password(which my ex changed by now). I don't understand why this happens when I'm logged into my account and it only happens with that app. Please help, I need to update. :/

    Content (apps, music, ibooks, films etc) is tied to the account that originally downloaded it, so if the iBooks app was downloaded using the account that you used to share with your ex then only that account can download updates to it. As it's a free app you could delete it and re-download it under your own account - and then re-download your ibooks into it (or copy the books to your computer's iTunes first via File > Transfer Purchases and then sync them back to the app).

  • I can not store all my Music on my internal Macbook pro hard drive so I am storing it on a large external drive connected to my airport extrem.  How do I get Itunes to search for the music here with out trying to copy it to my laptops hard drive??

    I can not store all my Music on my internal Macbook pro hard drive so I am storing it on a large external drive connected to my airport extreme (2 TB drive plugged into the USB port).  I see the drive on my laptop and I can add and delete files no problem.  How do I get Itunes to search for the music here with out trying to copy it to my laptop's hard drive?  I don't have enough space to do that.

    How did you move the music to the external drive?  What exactly is on the drive?  The entire iTunes folder or only music?  If it is the entire iTunes folder you can do the option+start suggestion earlier.  If you copied only music and did so by dragging it there then you need to delete it again and consolidate/organize it there instead so iTunes tracks the move.  iTunes 12 for Mac: Change where your iTunes files are stored - http://support.apple.com/kb/PH19507

  • My iphone 4s gets stuck on "searching" for network after it runs out of battery

    My iphone 4s gets stuck on "searching" for network after it runs out of battery , i have to restart my handset repeatedly till it gets network why is this ? 

    Hello Andres.J,
    Thanks for using Apple Support Communities.
    Take a look at the following article, specifically steps 3-7 since you have already restarted the iPhone.
    iPhone: Troubleshooting No Service
    http://support.apple.com/kb/TS4429
    Take care,
    Alex H.

  • TS3276 Old email pops up for apple login? Logged out of store and back many times

    I cannot upgrade App Store downloads since the old email is not my apple id anymore.
    I was told by support to log out of store and baxk in and this would fix the problem, not so.

    If you created a new ID, you have to use the old ID in order to update apps since your purchases will always be tied to the ID that you used to make the purchases.
    If you changed the name that you use for your Apple ID go to Settings>Store>Apple ID and sign into the changed ID there. You can also sign into your ID in the bottom of the app store and the iTunes in in the lower left comer of the main screen in each app.

  • Facebook for Blackberry Issue with logging out

    I am having a problem logging out of facebook on my Blackberry Curve 8530.  Every time i click on log out it just says "Updating" and it just sits there.  I take the battery out to reset, and when the phone comes back on, i'm STILL logged in. I shouldn't have to take the battery out. If I click logout, it should just logout. It's been this way for about a month now.  So what can I do about this annoyance?????

    Hi , your problem is arising when user presses the back button of the browser , web browser shows the page from its cache. If you want that
    on pressing the back button users should not view the previous pages you must stop web browser from caching the page to its local memory.
    It can be done by adding the following code in the jsp:root tag of jsf (.jspx) page.
      <jsp:scriptlet>
      // Set to expire far in the past.
          response.setDateHeader("Expires", 0);
      // Set standard HTTP/1.1 no-cache headers.
         response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
      // Set IE extended HTTP/1.1 no-cache headers (use addHeader).
         response.addHeader("Cache-Control", "post-check=0, pre-check=0");
      // Set standard HTTP/1.0 no-cache header.
         response.setHeader("Pragma", "no-cache");
    </jsp:scriptlet>Now when ever page is loaded the web browser will never cache the local copy of web pages and hence users will not be allowed to view previous pages when clicking back button
    on browser .
    Hope this helps.

  • Any solution in sight for the constant automatic log-outs?

    Just wondering if there's any chance of solving the problem of being logged out dozens of times per day?
    I know the Jive software is the absolute pits, but even the elephantine Adobe bureaucracy managed to solve this constant log-out problem on their forums, which are also underpowered by Jive.
    In any event, at least I'll have this post to find this board again. 

    MGW wrote:
    The Community Hosts have fixed the problem, you should be able to stay logged in as long as the browser you use stays open, once you close it, you will be logged out.
    That's not the case here. I've been logged out three times this afternoon already, without my having closed Firefox 3.6.19 under Tiger 10.4.11.  I'm within roughly 100 miles of Apple Headquarters in Cupertino.
    Please don't interpret this as a complaint against Apple or the forums.  I'm familiar with the miserable performance of Jive software. 
    CORRECTED: Firefox 3.6.19
    Message was edited by: Ramón G Castañeda

  • How can I search for details in job log files

    Hi,
    I'm looking for a specific entry in the job log.  I don't know when it was written (other than the date), to find the log without trial and error, I need a specific time to open the correct one in IDC.
    The entry was written by the modifyADSuser pass and it would have an userID tag in the log file but there are many hundreds a day for me to hunt through.  If I could find where identity center pulls the log files from I could either use a SQL select (if it's held in the database) or text search (if it's held in a folder) to zero in on the correct log file.  Does anyone know where the information that's shown in the IDC job logs is stored?
    Thanks,
    Pete

    Thanks for the response, I checked MC_LOGS and that looks to be the same detail that is available in the management console, basically the rows displayed in the job log.  Do you know the table relationship after MC_LOGS, what's the tale name for the data (even if encrypted) that details each pass etc?
    Thanks,
    Pete

  • IMessage logs in for split second then logs out with error

    On late 2009 Mac Pro the iMessage says
    "Could not sign into iMessage"
    An error occurred during activation. Try again"
    All other messenger services are working.

    Force reboots can cause directory corruption.
    Try using Disk Utility to do a Disk Repair, as shown in this link, while booted up on your install disk.
    You could have some directory corruption. Let us know what errors Disk Utility reports and if DU was able to repair them.
     Cheers! DALE

  • Logging out of sessions

    Hi there, I'm using basic login to secure my web pages. I'm using :
    "HttpSession session = request.getSession();
              session.invalidate();
    to logout but this doesn't seem to have any impact - I can still acces my pages. I'm using TomCat 5.0.16. Any suggestions?
    Thanks in advance

    Basic put your credentials in the http header. They are submitted by the browser with each request, so session.invalidate() won't do enough good. You need to close your browser to effectively logout.
    Should not be a problem with form login.

  • Opening OEM for two Oracle 11gR2 Databases in the same web browser automatically log out.

    Hi to everyone,
    I have an issue regarding Oracle Enterprise Manager in 11gR2. I have two database (SWPROD, PDPROD) in a single server. When I open the OEM URL for  SWPROD it is successfully logged on but when I open the OEM URL for PDPROD and successfully logged on the other tab for SWPROD will automatically logged out. And when I switch to the other tab for PDPROD it is also automatically logged out. Both OEM URL is open in a single web browser like Mozilla Firefox. What would be the reason why both OEM URL will be logged out when I open them at the same time?
    Thank you for your incoming response.

    Well it seems the only way to clear these out of EM was to shut BOTH RAC nodes down and power them up one at a time.  Now the updates aren't shown as required and my compliance score is where it should be.
    Is this a bug ?  Seems pretty stupid to have to shut down both RAC nodes to fix this.  Powering a single RAC node off and back on did not clear this.
    Unless i'm missing something??

  • How to set SNMP oid on the CUCM ?

    hello
    Activation of traps sending from CUCM requires to modify some oid on the  CUCM.
    why it is not possible to do it from CUCM itself ?   
    UTILS SNMP SET command doesn't exist, when UTILS SNMP GET does  exist !
    Best regards

    Here is a tech note on how to collect CPU from devices via snmp.
    Also, for future reference and a great bookmark, here is the SNMP Object Navigator here on CCO you can use to search for snmp mib objects and tehir associated OIDs.
    Rob

  • Problems understanding SNMP OIDs/Traps

    Dear Community,
    i would be very glad if you could help me with this thopic...i seem to have some trouble understanding it...
    Here an example:
    2010-01-18 06:28:44    Unknown alert received from device ber-be-swt01.is24-rz.de of type SwCiscoIOS. Device Time 82+21:21:53. (Trap type 1.3.6.1.4.1.9.9.43.2.0.1.6.0)\nTrap var bind data: \nOID:  1.3.6.1.4.1.9.9.43.1.1.6.1.3.738  Value:  1\nOID:  1.3.6.1.4.1.9.9.43.1.1.6.1.4.738  Value:  4\nOID:  1.3.6.1.4.1.9.9.43.1.1.6.1.5.738  Value:  2\nOID:  1.3.6.1.6.3.18.1.3.0  Value:  10.3.32.2
    Ok. Let's take the trap type:
    1.3.6.1.4.1.9.9.43.2.0.1.6.0
    Searching with SNMP Object Navigator (http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en) i only get as far as:
    1.3.6.1.4.1.9.9.43.2.0.1   -> ...6.0 is unkown.
    If i search for the OID
    1.3.6.1.4.1.9.9.43.1.1.6.1.3.738 for example
    i get the following:
    1.3.6.1.4.1.9.9.43.1.1.6.1.3  -> ...738 is unknown.
    This happens with a lot of OIDs for me (not just these ones). If i understand the OID correctly, this could be a command from the command line which forced this trap.
    So what's the .738 for? Why couldn't it be recognised by the search-function?
    In advance i like to thank you for any feedback.
    Sven Schlingloff

    Try using my search and translate tool at http://jaguar.ir.miami.edu/~marcus/snmptrans.html .  If you do, you will see that 1.3.6.1.4.1.9.9.43.2.0.1.6.0 translates to ciscoConfigManEvent.  The OID 1.3.6.1.4.1.9.9.43.1.1.6.1.3.738 translates to ccmHistoryEventCommandSource.  However, ccmHistoryEventCommandSource'd OID is 1.3.6.1.4.1.9.9.43.1.1.6.1.3.  The .738 is the specific instance.  The definition of ccmHistoryEventCommandSource is:
    "The source of the command that instigated the event."
    This object comes from the ccmHistoryEventTable which is indexed by the ccmHistoryEventIndex object.  The definition of that object is:
    "A monotonically increasing integer for the sole
    purpose of indexing events.  When it reaches the
    maximum value, an extremely unlikely event, the agent
    wraps the value back to 1 and may flush existing
    entries."
    So, the 738 is simply a unique number which identifies this particular history event.

  • Logging out of a Contribute site from D/W

    I created a template based site for a client for them to edit
    using Contribute. I just uploaded some new pages for them adn
    theyre getting a message saying that I'm still in the site. Do I
    have to check in *all * of the files in order for me to be logged
    out ?
    cheers
    Simon

    OK, I will go back and reread...
    My understanding was that SSL aka https was taking care of the credential  checking using, in our case, Active Directory user entries - and that PHP was  just grabbing the UID from that source - for instance, what I do when I want teh logged on UID is:
    //grab the logged on user, depending on whether they logged on with the  domain prepended
      if(substr_count($_SERVER['REMOTE_USER'],"\\") !=  0)
        //the logon has a domain prepended before the 'actual'  UID
        list($logged_on_domain, $logged_on_user) = split('\\\\',  $_SERVER['REMOTE_USER']); //grab the logged on user off the IIS server  variable/s, and split off the (presumed) "[domain]\" portion and essentially  discard <--NOTE USE OF FOUR(4)backslashes as needs to be *double  escaped*
       else
        //no domain (assume) prepended before  the back slash, so just the 'actual' UID
        $logged_on_user =  $_SERVER['REMOTE_USER'];
    I can set $_SERVER['REMOTE_USER'] = 'baddomain\baduser' of course - but  when I return to the secure page the user's browser cache (?) has reset  $_SERVER['REMOTE_USER'] to be their previously logged on user name - so they are  still logged in...
    So maybe my "logging off" question is not really JS/PHP-specific?  Hmmm....
    I will go back and reread various pages (paper and online) with your  suggestion/s as the context - so thank you...
    Regards,
    GREG...

  • XML Log out API

    Hi
         how can i log out the session using XML API? anybody have sample code for log out session using XML API through either javascript or c#?
    Thanks
    Palani

    you need to use the logout api
    here is the format for the api call :
    https://<connect server url>.com/api/xml?action=logout
    for your code :
    1. call above api
    2. parse the xml status and check if it returns " ok"
    hope this helps!!

Maybe you are looking for

  • How do I disable the "New Tab opened" button that appears for 3secs when I open a new tab?

    Dear Helpful Open Source people. I would like to disable the "New Tab opened" that appears for 3secs when I open a new tab? I usually open tabs from a search engine's results page expecting the links to be of varying quality. This means that it is ef

  • Crystal Report Sub Report Problems

    Hello, I am unable to use subreports within Crystal. I call my data from a MySQL connection string, read it into a data set and then display the fields from the datasets within a report. I can do this fine for 1 report, but when I try to include a su

  • @ Microsoft WPC "Soon you will see premium new Lumias designed for Windows 10″

    This was something interesting that came out of Microsoft's Worldwide Partner Conference today, straight from the lips of Terry Myerson, the Executive VP of the Windows and Devices Group.  He also was quoted as saying "Last week we announced a focusi

  • Can't Open Excel Or Word

    I was printing a Microsoft Excel document when I got the message that the program has unexpectedly quit, Now I can't even open Word or Excel, Any suggestions or help would be greatly appreciated. Thanks in advance

  • Config of cost center

    i am in Tcode ks01 the business area check box has become a required field.my client/cutomer has nt defined Bus Area. So how do i make this field opetional or evn supress it? need help