Hi,
I created some views via "add to my views". Now I wanted to modify some of them to get a more precise view. I found a syntax like:
/nagiosxi/includes/components/xicore/status.php?show=services&hoststatustypes=2&servicestatustypes=28&serviceattr=10
Is there a document showing which parameters will have which filter function?
Thank you
Olaf
Is there a kind of syntax for customizing views?
Re: Is there a kind of syntax for customizing views?
Are you talking about editing the URL itself for that view?
Are you wanting to zoom in or crop one of your views to get a precise view?
I'm not really sure, so if you could give more details that would help.
Are you wanting to zoom in or crop one of your views to get a precise view?
I'm not really sure, so if you could give more details that would help.
Re: Is there a kind of syntax for customizing views?
Yes, I was talking about editing the URL (not necesseraly this one):
/nagiosxi/includes/components/xicore/status.php?show=services&hoststatustypes=2&servicestatustypes=28&serviceattr=10
Is there a list which shows what filtering a serviceattr or a hoststatustype or so do. I'd like to shrink the view that I already have, especially by a "servicename" attribute.
Thanks.
Olaf
/nagiosxi/includes/components/xicore/status.php?show=services&hoststatustypes=2&servicestatustypes=28&serviceattr=10
Is there a list which shows what filtering a serviceattr or a hoststatustype or so do. I'd like to shrink the view that I already have, especially by a "servicename" attribute.
Thanks.
Olaf
Re: Is there a kind of syntax for customizing views?
Yes, but it is a well kept secret
https://roshamboot.org/post/guide-nagios-statuscgi/
https://roshamboot.org/post/guide-nagios-statuscgi/
If you add the numbers of the service states you want to see together you will arrive at the number required for that particular argument. So in the case of our example if we add warning(4), Unknown(8) and Critical(16) together we get the number 28! That’s all there is to it! Below are the tables for the other parameters you may wish to use to customize your status.cgi.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Is there a kind of syntax for customizing views?
Thanks a lot. That's exactly what I was looking for.
Re: Is there a kind of syntax for customizing views?
Awesome!
Can I close this thread? Or do you have more questions?
Can I close this thread? Or do you have more questions?
Re: Is there a kind of syntax for customizing views?
Yes, you can close the thread. I didn't find a possibility to do it myself. Is there one?
Regards
Olaf
Regards
Olaf
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Is there a kind of syntax for customizing views?
@enas, I think you need to be an administrator to be able to do that.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.