This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
hbouma
Posts: 483 Joined: Tue Feb 27, 2018 9:31 am
Post
by hbouma » Thu Apr 22, 2021 7:08 am
Here are 2 checks run within one after another.
Product Usage:
Code: Select all
/usr/local/nagios/libexec/check_microsoft_365.php --tenant 'SUPER_SECRET_TENANT_ID' --appid 'SECRET_APP_ID' --secret 'SECRET_VALUD' --mode 'o365productusage' --warning ':2180' --critical ':2189' --filter ''
OK: Office_365=1794 Exchange=19 OneDrive=1 SharePoint=80 Skype_For_Business=0 Yammer=0 Teams=1794 | Office_365=1794 Exchange=19 OneDrive=1 SharePoint=80 Skype_For_Business=0 Yammer=0 Teams=1794;:2180;:2189;;
Service Usage:
Code: Select all
/usr/local/nagios/libexec/check_microsoft_365.php --tenant 'SUPER_SECRET_TENANT_ID' --appid 'SECRET_APP_ID' --secret 'SECRET_VALUD' --mode 'o365serviceusage' --warning :2180'' --critical ':2189' --filter ''
OK: Exchange_Active=56 Exchange_Inactive=2107 OneDrive_Active=8 OneDrive_Inactive=1779 SharePoint_Active=240 SharePoint_Inactive=1547 Skype_For_Business_Active=0 Skype_For_Business_Inactive=1789 Yammer_Active=0 Yammer_Inactive=15 Teams_Active=1957 Teams_Inactive=191 Office_365_Active=1961 Office_365_Inactive=202 | Exchange_Active=56 Exchange_Inactive=2107 OneDrive_Active=8 OneDrive_Inactive=1779 SharePoint_Active=240 SharePoint_Inactive=1547 Skype_For_Business_Active=0 Skype_For_Business_Inactive=1789 Yammer_Active=0 Yammer_Inactive=15 Teams_Active=1957 Teams_Inactive=191 Office_365_Active=1961 Office_365_Inactive=202;:2180;:2189;;
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Thu Apr 22, 2021 5:53 pm
I don't think it will currently do this, I don't see it doing any checking against what the total is and when you pass the the thresholds it's only going against the teams one. I'll need to submit a feature request for this.
hbouma
Posts: 483 Joined: Tue Feb 27, 2018 9:31 am
Post
by hbouma » Fri Apr 23, 2021 6:41 am
Yes, if you would put in a feature request, we would appreciate it.
Thanks
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Fri Apr 23, 2021 4:55 pm
I have submitted the request:
Code: Select all
FR: XI - Microsoft/Office 365 Wizard - Add a license check that allows you to check the specific license count per product allowing you to show active/inactive and the active+inactive count out of total product license count with the ability to limit the check to a specific product
Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.
Let us know when we're okay to lock this up.