Macro's for Server type or XI_Wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Macro's for Server type or XI_Wizard

Post by manimurugesan »

Hi Team,

We are sending alerts to ServiceNow through SNMP Trap Sender. We would like server type information in the alert i.e Windows, Linux or Network Device do that ServiceNow can filter the server type and send the alert to respective teams.

To do this we require Macro to configure in Nagios. But as per Nagios Standard Macro's list there are no Macro for server type information.

Can we customize the macro's and give XI_Wizard information to that macro. "Xi_Wizard" information which we need in alert whenever the trap is sending to ServiceNow.

Please find the screenshot attached for inforamtion
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Macro's for Server type or XI_Wizard

Post by benjaminsmith »

Hello @Manimurugesan,

You can add a free variable to your configurations specifying Windows, Linux or Network Device. I would recommend using the Bulk Modifications Tool to add this free variable to your existing configuration objects.

Once this is complete, then follow the guide below ( page 7) to add a custom macro to your notifications.

Understanding Notification Variables

Let me know if you need any additional help setting this up.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: Macro's for Server type or XI_Wizard

Post by manimurugesan »

Thank you the quick response Bengamin,

The document says to configure free variable for individual host but in my scenario i want to use the already available information i.e. "_Xi wizard" and create the macro to pull the information. Document says to configure on each host and services as it would be manual task and not practical.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Macro's for Server type or XI_Wizard

Post by Box293 »

Use the Bulk Modifications Tool to add this free variable to your existing configuration objects. This is in Core Configuration Manager > Tools > Bulk Modification Tools. Here you can assign the macro to multiple objects at one time.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked