Please let me know how to get Extended Servicegroup Information. Is it implemented or not?
I have seen code extinfo.c . but i think its not implemented.
nagios/cgi-bin/extinfo.cgi?type=8&servicegroup=dbservices not showing any information.
nagios/cgi-bin/status.cgi?servicegroup=all&style=overview out put is attached in image
please help me.
Extended Servicegroup Information
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Extended Servicegroup Information
Keep in mind you are using nagios 3.2.3 which was released 3 years ago, there have since been a great many updates to both security and features.
Here is a bit more info on extended info:
http://nagios.sourceforge.net/docs/3_0/ ... iceextinfo
http://nagios.sourceforge.net/docs/3_0/ ... xtinfo_cgi
Here is a bit more info on extended info:
http://nagios.sourceforge.net/docs/3_0/ ... iceextinfo
http://nagios.sourceforge.net/docs/3_0/ ... xtinfo_cgi
Re: Extended Servicegroup Information
I have checked latest version 4.0.2 also. I didn't find any expected implementation in following function ...
extinfo.c line number 1678
show_servicegroup_info() {
/* top left panel */
printf("<TD ALIGN=CENTER VALIGN=TOP CLASS='stateInfoPanel'>\n");
/* right top panel */
For a specific service its showing details of service like status,performance data, flapping status, last check time etc.
But for service group its showing some links for service group.
I am expecting nagios to show details of each service when above said function is invoked.
Please let me know.
Thank you.
extinfo.c line number 1678
show_servicegroup_info() {
/* top left panel */
printf("<TD ALIGN=CENTER VALIGN=TOP CLASS='stateInfoPanel'>\n");
/* right top panel */
For a specific service its showing details of service like status,performance data, flapping status, last check time etc.
But for service group its showing some links for service group.
I am expecting nagios to show details of each service when above said function is invoked.
Please let me know.
Thank you.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Extended Servicegroup Information
extinfo.cgi gives details for a specific host or service, NOT for a hostgroup or servicegroup, for them ot just gives a list of commands that can be c=executed against the hostgroup/servicegroup.
Re: Extended Servicegroup Information
Hi scottwilkerson ,
Thanks for your reply.
Yes, it gives a list of commands only nothing else.
I have added this in my Nagios installation by modifying source code little bit as per my requirement. And now Nagios is able to provide information what I was expecting.
Now my Nagios extinfo.cgi also gives details of specific service group in a single page. So, at a glance I am able to view details of all service for specific group.
Why its not included in nagios core? any idea please share.
Thanks a lot again.
Thanks for your reply.
Yes, it gives a list of commands only nothing else.
I have added this in my Nagios installation by modifying source code little bit as per my requirement. And now Nagios is able to provide information what I was expecting.
Now my Nagios extinfo.cgi also gives details of specific service group in a single page. So, at a glance I am able to view details of all service for specific group.
Why its not included in nagios core? any idea please share.
Thanks a lot again.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Extended Servicegroup Information
Well, by nature it is included in Nagios Core, it is the extended info core CGI. Usually those who use it, use it for specific information and would otherwise not want to weight down their interface with certain statistics they do not normally need, and that their users do not normally need. "I believe" that was the design decision here.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Extended Servicegroup Information
You can feel free to post your patch to the Core Development forum and if it looks good it may get applied....
http://support.nagios.com/forum/viewforum.php?f=34
http://support.nagios.com/forum/viewforum.php?f=34