Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a setup where a process logs the current of the outlet of a power distribution unit (it's a Schleifenbauer PDU and a gateway). It polls continuously the values and writes them to a file with the corresponding time stamps.

Now I want to launch different algorithms in a second machine (connected to the mentioned outlet) so I can measure the power consumption.

Since I have to write down the moments when the processes start and end, what would be a way to communicate these events with the SNMP manager, running in the first machine?

Sorry if the question is too naïf, and thanks for any help.

note: I am working with Linux in both machines.

Javier Ruiz

share|improve this question

migrated from stackoverflow.com Jun 30 '11 at 12:26

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

After doing a little bit of homework, I simply measured time locally, executing remotely via ssh (I had to used public keys authorization). After the program ends in the remote machine I measure time again, and then extracts all the data that I need from the SNMP log.

Sorry for the stupid question...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.