under one service, multiple "Status Information"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

under one service, multiple "Status Information"

Post by zaji_nms »

@cdienger

ref to our last post
https://support.nagios.com/forum/viewto ... 16&t=50038
looks there is no easy/quick solution , so there is little work around

HostName ,, Service ,, Nagios Status Information
par-7600 ,, Giga0/1 Status ,, OK: Interface 28 (index 28) is up
par-7600 ,, Giga0/1 Bandwidth ,, OK Current BW in: 6.64Mbps Out: 15.73Mbps
par-7600 ,, Giga0/1 Latency ,, rtt min/avg/max = 7/8/9 ms

in the above, the very first service : Giga0/1 Status , having output (i.e Status Information , right most column in Home ServiceDetail) "OK: Interface 28 (index 28) is up" , in addition to this, we want display other two output "OK Current BW in: 6.64Mbps Out: 15.73Mbps" and "rtt min/avg/max = 7/8/9 ms"

Please note our Status service is very important, additional service output we want to display but should be very quick, we will modify "check_ifoperstatus" as per your advice.

is there any way to fetch quickly from service.xml file : NAGIOS_SERVICEOUTPUT or may be other better & quick way

Regards
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: under one service, multiple "Status Information"

Post by cdienger »

I don't think Nagvis will pull directly from this file but you can get the same info using [obj_output] or [obj_summary_output].
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: under one service, multiple "Status Information"

Post by zaji_nms »

@cdienger

This time we not talking about Nagvis, can you please read my last thread once again.

Upon your advice we will modify shell script "/usr/local/nagios/libexec/check_ifoperstatus" so it will fetch another two more info.

Regards
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: under one service, multiple "Status Information"

Post by cdienger »

Custom development work is beyond the scope of what we can provide in support but we do have documents that can help with this:

https://exchange.nagios.org/directory/T ... pt/details
https://assets.nagios.com/downloads/nag ... inapi.html
http://nagios-plugins.org/doc/guidelines.html

We can do custom development as well but you'll need to reach out to [email protected] to get that ball rolling.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked