Hello,
Wondering if anyone knew how to speed up the Windows SNMP agent? I have an application that queries systems with agents installed on them for computer metric information. One of the key pieces this monitoring system does is it checks for running processes. I'll check for something like "notepad.ex e" for example. The problem is that it takes about a minute or more for the agent to "know" that the process...
User Profile
Collapse
-
Windows SNMP Agent Help
-
Windows SNMP Agent help
Hello,
Wondering if anyone knew how to speed up the Windows SNMP agent? I have an application that queries systems with agents installed on them for computer metric information. One of the key pieces this monitoring system does is it checks for running processes. I'll check for something like "notepad.ex e" for example. The problem is that it takes about a minute or more for the agent to "know" that the process... -
Thanks everyone for giving me some suggestions! :) I went ahead and searched around and found CreateProcess() . It's a little involved, but I finally got it working for what I needed to do.
Thanks again!
-weeg -
Yep. I'd like to skip the i/o step, and process the string directly...that is if it's possible.Leave a comment:
-
How to reroute a system call output to local variable in C++?
Hello,
For example, I can do this call to get the output to a text file:
system("dir > temp.txt");
But does anyone know how to get the output to a local variable like CString or char*?
Thanks in advanced.
-weeg -
Well, sorry for the late reply, but I just recently heard of Nagios being something that might help me out with my task. Not to mention that Oberon suggested this as well. So I guess this tool is worth looking into.
During the time when I first posted this thread and now, I created a small app using C# and with the help of Net-SNMP I was able to create an app that did a series of queries for the information I was interested in. ...Leave a comment:
-
Yes I did, but I don't think it helped, and not to mention the security risks of the function. I'm investigating CreateProcess() , but it seems like a pretty involved solution, which I'm hoping to avoid by asking some experts....Leave a comment:
-
How to get a DOS cmd output to CString or equivalent using MFC?
Hello,
Just wondering if anyone knew how to run a DOS cmd such as "ping", and get the output to a CString variable to process using MFC? I'm currently using something like:
WinExec("cmd /c \"ping localhost > textfile\"", SW_HIDE);
Which copies the output of the ping to the file "textfile". I'd like to skip the step to read in a file, then process it.
... -
Probably something similar to having a consultant set up and maintain. The way I have my app right now is that it runs on the main operator system. The operator would be able to look at the app and see all of the systems are working properly via GUI LED indicators. Green means good, and red means bad health. Internally, the app would compare the system performance info with some sort of threshold, and if it exceeds that, then it'll return a "bad"...Leave a comment:
-
Heh. Thanks for looking into it. I've been doing my own investigating as well, but I'll definitely post the latest as I come across solutions.Leave a comment:
-
This will be done on a dedicated box to monitor the other systems, and I am looking for real-time alerting. Thanks!...Leave a comment:
-
The best way to monitor a set of systems?
Hi,
I was wondering if anyone knows of an efficient way of monitoring a set of computers on a network from one main computer? More specifically, I'm looking for suggestions on only a simple set of system performance information, ie. CPU usage, RAM usage, Hard Drive Availability. The network includes both Windows and Unix O/S's on them, which I think complicates the solution. Currently, I wrote a little application that does a series... -
How to process a command response in C#?
Hi,
Just wondering if anyone knows how to process a command response, such as a "ping", in C#? For example, I know if you make the call, using the System.Diagnost ics namespace, "Process process = Process.Start(" cmd", "/C ping localhost > ping.txt");" starts the command prompt and runs the ping command and then stores the output into the ping.txt file. I'm just wondering if there's a way...
No activity results to display
Show More
Leave a comment: