How remote monitoring works -- without any agents at remote machine

Using JAVA, Is there any way to execute a system level command on the remote machine and get back the data to the host machine.
It should work something like this, my application resides on Windows, and it should send a system command to the remote machine (Solaris) like vmstat and getback the resultant output to my application. This should be achieved without installing any agents at the remote machines.
Suggest me some good advice to design this application.

Most Unix boxes run a Telnet serverActually, if the sysadmins are smart, there's no
telnet server nor a telnet client in sight - they've
been removed and sshd is running. Most (if I
remember correctly) Linux distros now do not
install telnetd by default, but sshd is. I use
Linux/Solaris 100% of the time, at work and at home,
and I can't even remember the last time I fired up
"telnet."This is a good point and hints to the fact that any application must define and document
its dependencies. In this case the application must document that the appropriate server daemon
must be running for it to work, whether telnetd, rshd or sshd. No assumptions can be made about any
of these daemons as they can all be turned off and not running.
For this application to run the user must be able to turn on the required daemon at the required
server. This is not the same but somewhat equivalent to requiring the installation of a
specialized daemon at the server. In all cases the user must have administrative access to the server,
either directly or indirectly.

Similar Messages

  • Since 2012 I have Photoshop Elements always worked without any problem, however now the language is suddenly German how can this be changed, removed the program and re-installed, not working. Program is downloaded and updated via the apple app store?

    Since 2012 I have Photoshop Elements always worked without any problem, however now the language is suddenly German how can this be changed, removed the program and re-installed, not working. Program is downloaded and updated via the apple app store?

    I've done some research on the SQLite database. Whenever Aperture hangs up (like during auto-stack or opening the filter hud) there are thousands of SQLite queries happening. These SQLite queries cause massive file I/O because the database is stored on the disk as 1kb pages. However, the OS is caching the database file; mine's only 12MB. I'm trying to track down some performance numbers for SQLite on osx but having trouble.
    It's starting to look like most of the speed problems are in the libraries that Aperture uses instead of the actual Aperture code. Of course, that doesn't completely let the developers off the hook since they choose to use them in the first place.
    Oh, and if anyone is curious, the database is completely open to queries using the command line sqlite3 tool. Here's the language reference http://www.sqlite.org/lang.html
    Hmm, just found this. Looks like someone else has been playing around in the db http://www.majid.info/mylos/stories/2005/12/01/apertureInternals.html
    Dual 1.8 G5   Mac OS X (10.4.3)   1GB RAM, Sony Artisan Monitor, Sony HC-1 HD Camera

  • IChat Video works without any manual port configuration

    I'm posting this as a question and a true "discussion" with regards to iChat "video chat" operation with 2 users, both behind their own NAT router. I have seen several cases where iChat (ver3 and ver4) work just fine without any manual intervention. Of course, there are many other cases in these discussions where it seems a lot of complication and little positive result are part of the equation. Isn't iChat designed to work behind NAT routers ? Doesn't it use the SNATMAP server to get external (ie; public) IP and port number mappings ? If both users can login to the AIM server and initiate a Chat request, and contact the SNATMAP server, the next key requirement is to simply establish a point-to-point SIP session to the public IP/port of each endpoint.
    It seems the first thing to check is that this is happening correctly. In other words, the iChat debug log for userA should show something similar to;
    2008-01-29 18:59:21.739 iChat[2603] IPAndPortList: (
    {ip = "x.y.z.w"; port = 63217; },
    {ip = "a.b.c.d"; port = 16402; }
    ...where a.b.c.d represents the internal/private IP of a user (userB on Leopard iChat4 for example with 16402 representing all of the SIP, A/V, and A/V control ports) behind a NAT and x.y.z.w represents the external/public IP of userB. At least I think Leopard uses 16402 for the SIP. This shows that userA has the mapping for the SIP signaling port to send the SIP:invite to userB (ie; 63217).
    There is also something like;
    185912.819694 Sending SNATMAP heartbeat to 11FAF895:5678
    185912.912199 SNATMAP heartbeat resulted in IP change (from: 0 to: mm.nn.kk.pp)
    185912.912251 SNATMAP heartbeat resulted in port change (from: 0 to: 64999)
    ..where mm.nn.kk.pp represent the HEX values for the userA public IP address and the 64999 (in this example only) represents the SIP signaling port for userA
    185921.738995 =========== OpenPorts!
    185921.832238 Public mapping: m.n.k.p:64998
    185921.923213 Public mapping: m.n.k.p:64991
    185922.014215 Public mapping: m.n.k.p:65018
    185922.104986 Public mapping: m.n.k.p:65098
    ...where m.n.k.p represents the public IP of userA (Tiger iChat3 in this case), and the 64xxx and 65xxx umbers represent the ports opened for A/V and A/V control. In other words, these are the mappings for the "typical" 16384, 16385, 16386, 16387 ports.
    As long as both users have connectivity to the SNATMAP server, these "mappings" should proceed without problems, right ??
    If both endpoints/users get these mappings, which appear to happen auto-magically between iChat and the SNATMAP server at "snatmap.mac.com:5678", iChat should move to the next phase which is to simply establish the point-to-point SIP call. Up to this point, I don't see why any port-mapping or for that matter, anything else needs to be done ?
    Of course, AFTER this point, one does need to make sure no local computer "application" firewall is blocking 5190, 5060, 5678, 16384-16403 (Tiger) or 5190, 16384(or 16393?)-16402 (Leopard) .
    If all is well to this point, and iChat actually sends a valid SIP:invite to the remote public SIP IP/port, with a valid SDP section, it's up to whether the endpoints can agree on the session parameters (ie; video codec, bitrate, frame-rate, etc..etc...)
    Of course, there are many other things that could happen outside of iChat, like bad (or even good) installed software causing some weird problems, or running some application like virtualization or Internet Sharing that may have some "interop" issue...and maybe even a Service provider simply blocking the ports that the NAT has used (unlikely since they are probably different for every user and determined by each users NAT router)...but if you look at the iChat errorLogLevel7 debug output (preferably on both ends at the time of the call), you should be able to determine if iChat is sending a valid Invite...which is the prmary key in all of this.
    Lastly, I have read about "symmetric" NAT routers which might actually pose a real problem even when using the SNATMAP server. This is because a symmetric NAT router will only allow traffic from the destination port that a source port was opened to...which in iChat's case is usualy the SNATMAP server. So it may not be possible to "open ports" via te SNATMAP server, but then get incoming SIP/video traffic from userB. In this case, then UPnP or NAT-PMP, or port-forwarding/triggering may help.
    Just some thoughts for discussion.

    Your totally right,
    and from al the discussions here it seems that not every body knows that, and might be looking for the wrong answers. I wonder why Apple doesnot tell us how it is meant to work, and how to troubleshoot connections problems!
    Ichat uses the SIP protocol and should work without any firewall/NAT configurations, for an explanation see http://en.wikipedia.org/wiki/SessionInitiationProtocol
    I have seen it work out of the box for several installations (single iMac, OS X 10.5, behind one ADSL router). In one situation i had to switch of the SIP helper application in the router
    My own home network has 2 macs however, and sometimes it works and sometimes not.
    1) I found out that for local videochats i have to use the bonjour accounts, is that correct ? It should work with .MAC accounts too?
    2) for external communications i found out it is best to to stick to one Mac. When I switch from one to the other, using the same account (after logging out first), it often doesnot work, although it should. Any idea how to troubleshoot this problem? (now I rember I have to check this SIP helper application first
    3) when i setup a video chat to my mam who uses autoaccept, i am not able to take over the screen. Without autoaccept it works fine. So it looks like autoaccept won't allow you to share the screen.

  • Original Cisco GLC-GE-100FX gbics are not working in WS-C3560CG-8PC-S while Third-Party gbics work without any problems

    Hi all,
    i have a gbic problem with my WS-C3560CG-8PC-S.
    My original 100FX gbics are not working
    Mar 30 01:28:41.575: %PHY-4-SFP_NOT_SUPPORTED: The SFP in Gi0/10 is not supported
    Mar 30 01:28:41.575: %PM-4-ERR_DISABLE: gbic-invalid error detected on Gi0/10, putting Gi0/10 in err-disable state
    100FX Third-Party Gbics are working without any problems.
    NAME: "GigabitEthernet0/9", DESCR: "100BaseFX-FE SFP"
    PID: Unspecified       , VID:      , SN: AFFxxxxx
    What can i do?
    I tried different firmware versions (12.2 and 15.2(1)E3)
    I also tried the "service unsupported-transceiver" command.
    It still does not work with 8 Switches and 16 original gbics :(

    GLC-GE-100FX and GLC-T is not supported as documented in the 3560C Data Sheet.
    You could try contacting your Cisco SE/AM and request for a Product Enhancement Request (PER).

  • I have purchased my i phone 5 one month back, unfortunately I have got some hardware problem like some part has been broken from inside, but the phone works without any issue, Did anybody face this issue?

    I have purchased my i phone 5 one month back, unfortunately I have got some hardware problem like some part has been broken from inside, but the phone works without any issue, Did anybody face this issue?

    If you believe there is a hardware problem, call AppleCare or make an appointment at an Apple Store if there is one nearby.

  • How do I restore without any wifi connectivity?

    My apologies if this has already been asked. My iPad 2 will not connect to the wifi. It does not even pick up any SSIDs in the list of available connections. I have iTunes 11.1.1 on Mac on the computer connectivity side, and my iPad was just updated to the latest version of iOS (7.0.2?)
    Things I have tried:
    Turn wifi on/off
    Restart
    Reset network settings
    I suspect a hardware issue but I want to exhaust the software possibilities first.
    I have connected to iTunes and attempted to restore, however I cannot restore from iTunes because Find my iPad is on. In order to turn it off, I need to enter my Apple ID on the iPad itself, which obviously will not work without wifi connectivity (no 3G on this model). I have also attempted to first Erase all Settings from the iPad, but this also requires an Apple ID authentication. How can I restore this without any sort of internet connectivity? I can connect via USB to iTunes and I can't believe there's no way to make that happen

    Ha...well, thanks for finally being honest!!
    No problems...even though what you said made sense with regard to sync happening automatically (and, for me, happening quickly enough that I didn't see what as happening) I didn't mention in this thread that I created the following situation that I hinted at above.
    There was a game app that had data associated with it on my iPad that my son has been playing with an accidentally threw out.  I had a backup created because, with the new computer, I upgraded the iPad to OS 5.  I thought I could plug in, choose a backup to restore from, and get the app and some data back.  Well, I tried it...being unfamiliar with the process and whatever...and it did NOT work. PROBLEM was that before trying to restore, I REINSTALLED the app from iTunes and it came in a 'fresh install"....no data.  I then unplugged the iPad to try it out and that is when I realized no data was transferred.  When I plugged back in to finally do the restore, I think it BACKED UP THE NO-DATA app thereby erasing any chance I had and recoving the app's old data.
    I mean...I think that is what happened....hence all my questions that you have been helping with!!
    Now...since ya LIED to me ...I have another question!!:
    Where exactly are those backups??  I know some stuff here in my new Lion is now hidden when, back in 10.4.11 at least, I could look through the folders.  I found user/music/iTunes/iTunes Media/Mobile Applications and, in there, a bunch of "ipa" files associated with my iPad...but I haven't found the preferences folder location that you speak of...
    And if you find an explanation or more info, thanks...but don't have to kill yourself!

  • How can I work without a keyboard on a touch based station in windows multipoint server?

    I am using Windows Multipoint Server 2012 Premium evaluation version. How can I work on a station, with integrated touch feature, without a keyboard?
    In the beginning itself the station is stuck at "Creating a multipoint server station. Press 'C'". Now, since I a want all interactions on this station to be touch based, I have not provided any keyboard to press 'C' there. How can I login and
    operate this station?
    Thanks in advance.

    No, an ipod can only sync with one computer at a time. You could buy the songs on both laptops using the same apple id, but you can only sync with one of the laptops.

  • How to Bock customer without any transaction for the past one year

    dear Guru
    how can i bock customer without any transaction for the past one year .
    regards
    Praveen

    Hi Praveen,
    To Block Cuistomer Go to XD02 -
    > Give ur Customer Number -> Get in-> GO to EXTRAS------->Click on Blocking Data.
    You Can Block Customer At "Order Block" "Delivery Block" "Billing Block" 
    But for Past one year?
    Regards,
    Seegal
    Edited by: Raga on Apr 7, 2010 10:51 AM

  • Restore not work without any error?

    I have an iPhone 4 , doesn't work when I want to restore with itunes and stop everything without any error . please help????

    You are very light on Details and Specifics... Thus making it difficult to assist you...
    If you are using windows...
    Temporarily disable your firewall and antivirus software and try again...
    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • Where are the drivers and how come my monitor works without them?

    Hey folks!
    I thought the drivers were all in the kernel, but then again I always have to install the Intel/Nvidia/whatever drivers to get my graphic card/chip working, but that's only if I want to run X. So how come I can see the console text displayed before that, at various resolutions (which I can select in GRUB)? How can anything be displayed before I've installed a graphics driver...? What kind of driver is used before that? Curious.
    Thanks in advance.

    Thoht wrote:
    Misfit138 wrote:It's a framebuffer..
    Oh I see. Just like the graphics in the installation process then? What about the two Archlinux logotypes at boot? Could they for instance be displayed at the login prompt as well?
    Most certainly. In fact, I tried a distro a few years back which actually had a penguin permanently in the background of the console as sort of a wallpaper.
    BTW, you have 2 Arch logos because you either have 2 cpu's, 2 cores, or hyper-threading.

  • How to do submit without any button

    Hi ,
    i am using Jdev 10.1.3.1 .
    i am using JSF ADF BC Technology. i am having a problem. how to do submit the values in inputHidden field without submit or any button.
    even i bind the method in valueChangeListner like below.it is not submit.Am i did any mistake? plz go thru this code and help me.
    Hidden there is no auto submit attribute.
    Code:
    <af:form>
    <af:inputHidden id="startDate"
    value="#{bindings.Eventdate.inputValue}"
    valueChangeListener="#{bindings.Execute.execute}"
    required="false"/>
    <af:commandLink text="search" actionListener="#bindings.Execute.execute}"/>
    OR
    <af:commandButton actionListener="#{bindings.Execute.execute}"
    text="Search"
    disabled="#{!bindings.Execute.enabled}"/>
    </af:form>
    i dont want to use command link or command button for action. how to submit the value in hidden field which is set by javascript function to the corresponding action.
    could you please help me out regarding this?? .
    Thanks & Regards,
    Arun

    Let me see if I have your use case correctly:
    The user views the page, and some event triggers some Javascript code. The Javascript code needs to set the values of a hidden field, then submit the form, executing the action named Execute in the bindings.
    First of all, get rid of the valueChangeListener. If you were to use a valueChangeListener, it would have to reference a method in a backing bean that takes a valueChangeEvent as its argument and returns void. Now try this - I haven't tried it myself, so I don't know that it will work, but I think it will. On your page:
    <af:form id="theForm" defaultCommand="executeButton">
      <af:inputHidden id="startDate" value="#{bindings.Eventdate.inputValue}" />
      <af:commandButton id="executeButton"
                                    actionListener="#{bindings.Execute.execute}"
                                    text="Search"
                                    disabled="#{!bindings.Execute.enabled}"
                                    inlineStyle="display: none;" />
    </af:form>And in your Javascript function:
    document.theForm.submit();The basic idea is that the defaultCommand property of the form says that any submit of the form defaults to the button with the id=executeButton, unless some other button or link is explicitly clicked. The button has an inlineStyle with display none, which hides it from the user. Then the Javascript submits the form which ought to execute the default command.

  • How does gnome work without acpid?

    Hi,
    I have set up gnome3 with laptop-mode-tools, but without acpid on my laptop. The power-management stuff works, but seems incomplete. For example, gnome is able to detect when I remove the AC plug, or close the lid, or press the sleep button. But it does not seem to detect when power is critically low, and does not sleep/hibernate, like it's configured to do. There's also a problem I think to do this when laptop is already sleeping. I left it once over night in sleep mode, with little battery power remaining, to test it. The expectation was to resume from sleep when battery was critically low and go hibernate. Instead it just crashed.
    The wiki's suggest that acpid daemon is required to deliver acpi events, but then I wonder: how does gnome (and possibly also laptop-mode-tools) detect these events without acpid?
    Razvan

    Acpid just listens on acpi events but not creates them.
    You can always listen to acpi events using the command 'acpi_listen'
    Regards

  • How to share disks without any volume manager

    Hello:
    Do I have to use volume manager, either Solstice or VxVM, in order to establish disk sharing in between a two-nodes Sun Cluster?
    The Sun Cluster consists of 2 1405s and shares a D1000. The scdidadm �L shows:

    12 solarisd1k:/dev/rdsk/c5t8d0 /dev/did/rdsk/d12
    12 solarisa1k:/dev/rdsk/c5t8d0 /dev/did/rdsk/d12
    13 solarisd1k:/dev/rdsk/c5t9d0 /dev/did/rdsk/d13
    13 solarisa1k:/dev/rdsk/c5t9d0 /dev/did/rdsk/d13

    Without implementing any volume manager, how can I share a disk? Such as disk d13?
    I created a mount point /global13 on both nodes, use command
    # mount /dev/global/dsk/d13s0 /global13
    to mount this device. I can see the disk from both nodes. I created a file on /global13 from node solarisa1k, then, from node solarisd1k, it shows 0 block.
    Thanks in advance.
    Warren

    To mount a device globally, either use # mount �g or use global flag on the /etc/vfstab file.

  • How does monitor work when you close the laptop

    can the monitor still work if you close the laptop? if not, how can i turn off the picture on the laptop screen as i don't want to see both screens?

    That setting is always on if you are using an USB mouse; to do it with a Bluetooth device, follow the instructions in this article.
    (19623)

  • Premiere cs5 mercury engine will it work without any graphic card?

    HI there I have core 2quad 6600 processor of 2.4ghz, and intel classic series fb33 motherboard, with only onboard video ram shared with physical ram of 2gb.
    I want to install cs5 on 64bit OS and upgrade total ram to 8 gb without buying any graphic cards(right now). Qn is will I be able to edit avchd videos? will the
    mercury engine still be enabled? I know its kinda "no budget, want all qn" Right now I dont wanna buy a card as am plannin to buy new system later..
    Thanks
    Gigarigh

    Yes, of course, you are correct, Harm.  I was over-simplifying. 
    I Took the OP's "enabled" to really mean "accelerated", and in that sense, it will not work as without the necessary graphics card there will be no acceleration.
    I can certainly support your third paragraph, having just moved from a four-year-old system with a quad 3 GHz processor, 8 GB of RAM and a hacked 460 GTX graphics card, to a Sandy Bridge E system with a 3930 CPU, 32 GB of RAM but the same graphics card and HDD set up (for the moment). Your oft stated "molasses in winter" describes my old system pretty well from my present viewpoint!
    The old system coped with the fairly gentle HDV, provided I kept the number of assets down, but threw a hissy fit if I tried 1920 HD, even with the Matrox (I know, I know!) I-frame codec.
    Gigarigh,
    You would be better off upgrading along my path - motherboard and processor first, using as much as you can of your old system for now, as this allows much better scope for future upgrading.

Maybe you are looking for

  • Calling Transaction Import Concurrent Program in PL/SQl program

    Hi, I am trying to run Transaction Import process by calling the concurrent program in my pl/sql program.I think I am passing all the right paramters which are necessary.But the actual PAXTRTRX is never being called and I am not getting any request I

  • How to enter data in a custom-table

    Hi All, I created a custom-table in sapCRM system. There won't be a place to enter records on the screens. So how can the users enter new records into the table? Is there any other way they can do that. Regards, Ranjan

  • How to obtain Windows 7 or 8 for Macbook Retina (needs to be ISO format)

    Hi all! I am trying to buy a copy of Windows (either 7 or 8) for my Macbook Retina so that I can Boot Camp it. However because there is no optical drive for the retina model, the OS needs to be in ISO format. Can anyone provide any suggestions as to

  • Can't permanently delete song file from external hard drive

    Hi Guys, I want to be able to delete actual song files from my external hard drive as well as from my iTunes library in one easy, lazy step, via the iTunes window. I am not interested in finding and manually deleting the files through my external har

  • Length for objects

    length for objects: I need to know the length for naming purposes: stored procedures, functions, packages, constraints, sequences Thank you Paola @}--->----->----------