Ping response count

Greetings, I’m a new DUDE user and I would like some help with creating logs. I want to create a Log that shows the count of how many pings a certain device has responded and missed. Ping is the only service I’m monitoring. Right now all I can find is the event log where it shows when a device service goes down and when it comes back up, but I would like to have this ping count instead. I thought I had it with the ‘acked’ status but I don’t think I truly understand this ‘acked’ status.

Greatly appreciate any help I can get.

Search the probe thread for ping… there is a function/probe that will ping a device 10 times or how ever you configure it and give you the good bad count.

SD

Thanks for the reply, I looked at the thread and saw the function/probe, it really gave me some ideas of just what the DUDE can do.
However I can’t seem to find a way for a function/probe to count the number of pings it has done, the one function that’s posted has the number of pings set to 10 but I just want it to keep on pinging and keep a count of how many pings it has done, even if the ping failed.
Is there a way to set up a counter in the code section of a function?? and have the function return that value so it can be set up for different devices (each device with it’s own independent counter)?

I have not seen any way to create a variable in probe or function. I didn’t notice the label that you were interested in until you pointed it out that is a neat label.

Placing an oid on a label is easy enough a probe roughly be the same.
Place those the below on the apperance → label of an apc environment device will it show temp and humidity on the label.
Temp: [oid(“1.3.6.1.4.1.318.1.1.10.3.13.1.1.3.1”)]
Humidity: [oid(“1.3.6.1.4.1.318.1.1.2.1.2.0”)]
I have had to restart the dude service after trying to place odd things on labels.

Sorry I don’t know but if I had to guess I would think that he is using an external and possibly adding the result with the previous result.

Hopefully the guy who made those ping labels will chime in and teach us all a new trick. (maybe search his posts?)

SD