The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> C Programming
|
Creating a Agent Program to Send Data Back to MySQL DB
Discuss Creating a Agent Program to Send Data Back to MySQL DB in the C Programming forum on Dev Shed. Creating a Agent Program to Send Data Back to MySQL DB C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 18th, 2013, 09:39 AM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 2
Time spent in forums: 44 m 40 sec
Reputation Power: 0
|
|
|
Creating a Agent Program to Send Data Back to MySQL DB
Hi,
I'm trying to work on developing a software agent (Windows XP/7) which can run an executable locally on computers, generate a log file, and send this data to a MySQL server.
Can you point me to any tutorials or sample source code?
Appreciate the help, thanks!
|

March 18th, 2013, 06:54 PM
|
|
|
Quote: | Originally Posted by Gadgets21 Hi,
I'm trying to work on developing a software agent (Windows XP/7) which can run an executable locally on computers, generate a log file, and send this data to a MySQL server.
Can you point me to any tutorials or sample source code?
Appreciate the help, thanks! |
I'm not sure I understand what you want to accomplish. Let me rephrase your question.
Develop a software agent that will be installed on several computers. This software agent will be remotely started on all installed computers. The agent will then send data to a computer which has a mySQL server installed. Example, Computer A will control the installing/starting/stopping of agents installed on Computer B, C and D. The agents installed on B, C and D will send data to Computer E which has a mySQL server.
Is this the scope of your project?
|

March 19th, 2013, 07:46 AM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 2
Time spent in forums: 44 m 40 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by BobS0327 I'm not sure I understand what you want to accomplish. Let me rephrase your question.
Develop a software agent that will be installed on several computers. This software agent will be remotely started on all installed computers. The agent will then send data to a computer which has a mySQL server installed. Example, Computer A will control the installing/starting/stopping of agents installed on Computer B, C and D. The agents installed on B, C and D will send data to Computer E which has a mySQL server.
Is this the scope of your project? |
Yes that's right. You described it perfectly. Do you know where should I look for good tutorials?
|

March 19th, 2013, 02:40 PM
|
|
|
Well, source code for the installer which is the app that will copy/install/start the agent on a remote computer can be found at CodeForge. Alternatively, you can use PsExec from Technet. The source code for the PsExec utility is not available.
I've posted a User contribution to the Zoneminder forum. Zoneminder is an open source CCTV security system. It uses mySQL databases to control the functionality of all the CCTV cameras. The C contribution I made allows the end user to update the local mySQL databases to change the function of various cameras. In other words, the code demonstrates how to modify/update a mySQL database. This is the link to the C source code sample. You can use this sample as a starting point for writing your "agent".
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|