plugin_monitor icon indicating copy to clipboard operation
plugin_monitor copied to clipboard

When adding new device to Cacti Thold send a returned from Down email

Open bmfmancini opened this issue 4 years ago • 4 comments

Hello Everyone,

In one of the latest releases of Thold the execute a command feature was created During testing, I am seeing that when a new device is added to Cacti a returned from Down Device notification is sent.

I don't see any way in the default options to tell cacti to register a device as UP by default to prevent these messages

since its a script that is being called for now I can have the script check the poll count so if poll count is less than say 5 don't send a message to the curl function ( In my case)

bmfmancini avatar Jan 19 '21 16:01 bmfmancini

Interesting that I just noticed that the behavior change for me is that up/down email notification is off by default for manually created devices. Therefore, I create the device, wait for it to be up, then enable the notification. In the case of Automation created devices the mail notification is enabled and no notification is send when device is added.

jdcoats avatar Jan 22 '21 13:01 jdcoats

I should be able to fix this one today.

TheWitness avatar Jul 23 '23 10:07 TheWitness

@jdcoats @bmfmancini , I can not seem to reproduce on 1.2.25 and thold alpha 2.0. Can you confirm?

TheWitness avatar Jul 25 '23 00:07 TheWitness

Turns out this is a Monitor plugin issue. Just did a code review about merging into Thold, and recognized it right away.

TheWitness avatar Jul 25 '23 12:07 TheWitness