Search found 4 matches
- Wed Oct 23, 2019 3:39 am
- Forum: Open Source Nagios Projects
- Topic: list the comments of a service to remove them
- Replies: 8
- Views: 2975
Re: list the comments of a service to remove them
thanks anyway
- Tue Oct 22, 2019 10:25 am
- Forum: Open Source Nagios Projects
- Topic: list the comments of a service to remove them
- Replies: 8
- Views: 2975
Re: list the comments of a service to remove them
Sorry I made a mistake !You had posted on the NAgios XI group... I moved it to Nagios Core.
statusjson.cgi shows me a page not found
I found the page containing all comments. By cons I can not sorted them with variables in the URL. Maybe that is not possible.
TY !
- Tue Oct 22, 2019 2:52 am
- Forum: Open Source Nagios Projects
- Topic: list the comments of a service to remove them
- Replies: 8
- Views: 2975
Re: list the comments of a service to remove them
Hello, I can not exploit this command ; /nagiosxi/api/v1/objects/comment?apikey=APIKEY&pretty=1&comment_time=gt:2019-09-21 For info I use Thruk. I looked at your lmiltchev link but it does not work at home. I would like to list the comments from more than 30 days or the last comments based o...
- Mon Oct 21, 2019 11:02 am
- Forum: Open Source Nagios Projects
- Topic: list the comments of a service to remove them
- Replies: 8
- Views: 2975
list the comments of a service to remove them
Hello, I'm looking for a bash command to list the comments of a service to list old comments of more than 30 days. This would allow me to delete them with the following command --> /bin/printf "[%lu] DEL_SVC_COMMENT;1\n" $now > $commandfile thank you in advance. (excuse me for my English b...