Start a Conversation

Unsolved

1 Rookie

 • 

3 Posts

69

April 9th, 2025 13:32

Monitoring Networker Backups with Nagios

Is anyone using Nagios to monitor their networker backups?  I don't want to just send the default email and I don't want to use SNMP.  I know there is a Nagios agent that might be an option.  I wish I could just put a command in the notification field to executer rather than the mail or nsrtrap.

1 Rookie

 • 

12 Posts

April 14th, 2025 10:35

I use snmp. Networker sends traps for configured events, nagios receives them and sends notifications.
It works although it occasionally sends notifications with a slight delay. The nagios agent exists but to my knowledge there are no specific plugins for checking backups in networker.

1 Rookie

 • 

56 Posts

April 18th, 2025 19:18

Maybe look into using Dell EMC's "Data Protection Advisor"

It can provide daily email reports

1 Rookie

 • 

15 Posts

May 9th, 2025 18:38

Just write a script which uses Networker REST API to find out what you want and return the appropriate result according to Nagios plugin API.

2 Intern

 • 

191 Posts

May 12th, 2025 09:40

you can set a script to be run on the protection policy level. However from nw19.9 onwards it has additional security requirement that the script has to start with "mail", which makes it a weird requirement as it can therefor still be used to run a script instead of "only" a mail notification?

In out case we redirect the backup output for the workflow and the backup action to individual log files for each and every run. It is - alas - not as abundant as the regular logs in the NW jobsdb, but as it is advised against keeping those for longer than 72h, we wanted to have something for easy status of the backups.

2 Intern

 • 

191 Posts

May 12th, 2025 11:43

@bbeckers1​ 

                        type: NSR Protection Policy;
                        name: whatever_protectpolicy_name_1;
                     comment: ;
        restricted data zone: ;
         Notification action: \
"/usr/bin/mail-nw-notification-log.sh \"${policy}_${workflow}_${action}_${status}\"";
     Notification execute on: completion;
    policy protection period: ;

where the script /usr/bin/mail-nw-notification-log.sh does things like below (only redirecting to individual files underneath directory to be created for that use: /nsr/logs/group_log/), so you could still add additional steps in it or change it altogether, to do whatever. However it does not even show the actual error message for the cause of the backup failure. Also you'd have to keep the workflow and backup action set to their default, inheriting the notification setting from the policy level.

2 Intern

 • 

191 Posts

May 12th, 2025 11:56

@bbeckers1​ 

And Dell DPA (data protection advisor) is also helpful to create daily reports of the Networker backup status and do whatever you'd like with it, for example using a post command script in the report.

2 Intern

 • 

191 Posts

May 12th, 2025 14:15

@bbeckers1​ 


Not sure, but whenever I try to add the contents of the script, access to dell.com seems to be restricted? Hence a screenshot of the simple script (which was validated at the time with Dell Support as we ran into the issue that the notifications didn't work anymore due to the aforementioned security enhancements), with some context of the Networker Policy variables available, which are also mentioned in the man page from nsr_notification (man nsr_notification).

(edited)

No Events found!

Top