Hello,
is there any way or plugin that uses status.cgi and displays only the services that are critical on a host alongside those that are ok
i.e.
HOSTA -SERVICE A OK -SERVICE B -CRITICAL
HOSTB -SERVICE A CRITICAL -SERVICE B - OK
Saleem
Status.cgi
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
Status.cgi
Saleem THUPSEE
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
Re: Status.cgi
i used this link below it gets me close
https://192.168.9.102/nagios/cgi-bin/st ... style=grid
is there a parameter to use to maintain the grid and retrieve only the critical statuses ?
saleem
https://192.168.9.102/nagios/cgi-bin/st ... style=grid
is there a parameter to use to maintain the grid and retrieve only the critical statuses ?
saleem
Saleem THUPSEE
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Status.cgi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
Re: Status.cgi
it comes close but does not display services that are OK on the same host.
SAleem
SAleem
Saleem THUPSEE
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Status.cgi
@saleemthupsee, Can you try this link:
Code: Select all
http://192.168.9.102//nagios/cgi-bin/status.cgi?host=allAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Status.cgi
If you want to also see the services in OK state, you would need to use 18, instead of 16 (16 + 2).
http://192.168.9.102//nagios/cgi-bin/st ... ustypes=18
There is an old post about statuscgi here:
https://web.archive.org/web/20141227183 ... statuscgi/
Hope this helps.
Example:&servicestatustypes=
#define SERVICE_PENDING 1
#define SERVICE_OK 2
#define SERVICE_WARNING 4
#define SERVICE_UNKNOWN 8
#define SERVICE_CRITICAL 16
http://192.168.9.102//nagios/cgi-bin/st ... ustypes=18
There is an old post about statuscgi here:
https://web.archive.org/web/20141227183 ... statuscgi/
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
Re: Status.cgi
ok thanks,
it did work. IF we could have the option to filter by status in NagiosXI, it would be great !
The thread can be closed.
Saleem
Paris
it did work. IF we could have the option to filter by status in NagiosXI, it would be great !
The thread can be closed.
Saleem
Paris
Saleem THUPSEE
-
kyang
Re: Status.cgi
There is a way to do it in XI.
It would be something like this.
https://192.168.4.125/nagiosxi/includes ... ustypes=18
I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!
It would be something like this.
https://192.168.4.125/nagiosxi/includes ... ustypes=18
I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!