Search found 26 matches

by Brick
Tue Aug 11, 2015 9:21 am
Forum: Nagios XI
Topic: Plugin Perfdata return not graphing correctly
Replies: 9
Views: 887

Re: Plugin Perfdata return not graphing correctly

Thanks for your help I did a bit of research following jdalrymple's suggestion- This is actually caused by a 80 character limit when powershell is used through nsclient I found a fix here- http://serverfault.com/questions/298769/powershell-default-console-size Basically this line increases the buffe...
by Brick
Tue Aug 11, 2015 8:43 am
Forum: Nagios XI
Topic: Plugin Perfdata return not graphing correctly
Replies: 9
Views: 887

Re: Plugin Perfdata return not graphing correctly

Na, can you leave it open? The hack you have highlighted doesnt work for me- I am already using an echo command to output... As for the one I've found It really is a horrible hack and I've already found issues with it when it reports on servers with only one network adapter... I really need to find ...
by Brick
Tue Aug 11, 2015 5:10 am
Forum: Nagios XI
Topic: Plugin Perfdata return not graphing correctly
Replies: 9
Views: 887

Re: Plugin Perfdata return not graphing correctly

OK, I jusst fixed it by adding loads of spaces before the pipe in the return so it shunts everything to a new line.... no idea why this works but it works!
by Brick
Tue Aug 11, 2015 4:45 am
Forum: Nagios XI
Topic: Plugin Perfdata return not graphing correctly
Replies: 9
Views: 887

Re: Plugin Perfdata return not graphing correctly

The graph looks fine with the stupidnrpe123 entry, but doesn't even display without it- http://i.imgur.com/e1BfwcR.jpg I can see that the perf data is simply not returning correctly clearer in the thruk interface, this is what it gets as its return- http://i.imgur.com/I8WSOXd.jpg As you can see its ...
by Brick
Fri Aug 07, 2015 8:09 am
Forum: Nagios XI
Topic: Plugin Perfdata return not graphing correctly
Replies: 9
Views: 887

Plugin Perfdata return not graphing correctly

I have a custom made plugin that returns perfdata on multiple lines. It is a powershell code that runs locally on the server using nrpe. This is the return as Powershell sees it- Production Adapter - Primary : 2<BR>Cluster Adapter : 0<BR>|'ProductionAdapterPrimary'=2;1;2 'ClusterAdapter'=0;1;2 But w...
by Brick
Thu Jul 23, 2015 10:20 am
Forum: Open Source Nagios Projects
Topic: NRPE plugin only returns first entry
Replies: 1
Views: 1613

NRPE plugin only returns first entry

I have a powershell script that checks the total bytes/sec for all of the connected network cards of a server, problem is, when its ran though NRPE it only returns the first entry and its perfdata Its not a buffer limit or an output limit as it perf data is all at the very end of the string, here is...
by Brick
Tue Jun 02, 2015 4:29 am
Forum: Nagios XI
Topic: Increase Plugin Output Length Restriction
Replies: 12
Views: 1730

Re: Increase Plugin Output Length Restriction

Ah good stuff, that seems to have fixed it!

Can I just check- will that fix it on its own? Or do I need to do the MAX_PLUGIN_OUTPUT_LENGTH change as well?

Just so my documentation is right :-)
by Brick
Mon Jun 01, 2015 11:04 am
Forum: Nagios XI
Topic: Increase Plugin Output Length Restriction
Replies: 12
Views: 1730

Re: Increase Plugin Output Length Restriction

I wrote a new check, here is the source- #!/bin/bash echo "TESTING this is a test 1. this is a test 2. this is a test 3. this is a test 4 this is a test 5. this is a test 6. this is a test 7. this is a test 8. this is a test 9. this is a test 10. this is a test 11. this is a test 12. this is a ...
by Brick
Mon Jun 01, 2015 10:42 am
Forum: Nagios XI
Topic: Increase Plugin Output Length Restriction
Replies: 12
Views: 1730

Re: Increase Plugin Output Length Restriction

Its using this plug-in- https://exchange.nagios.org/directory/Plugins/Operating-Systems/*-Virtual-Environments/VMWare/Vmware-ESX-%26-VM-host/details Although I'm not sure if its customised from the orginal... Running it with -l vmfs command. Its not the only plugin effected tho- it effects all of th...
by Brick
Wed May 20, 2015 4:58 am
Forum: Nagios XI
Topic: Increase Plugin Output Length Restriction
Replies: 12
Views: 1730

Re: Increase Plugin Output Length Restriction

The above post shows the results of the exact same check- the top one is what I can see on the nagiosxi box itself, the bottom one is what I can see on a Thruk server linked to the nagiosxi server via livestatus...