Status Information Length

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Pikmin
Posts: 82
Joined: Tue Feb 17, 2015 5:32 pm

Re: Status Information Length

Post by Pikmin »

Will read through the links, thank you!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Status Information Length

Post by rkennedy »

Sounds good - I'll leave this open should you have any further questions.
Former Nagios Employee
Pikmin
Posts: 82
Joined: Tue Feb 17, 2015 5:32 pm

Re: Status Information Length

Post by Pikmin »

It turns out it's just the different views, it shows in one but not another - please see screenshots
Service Status Detail for HOST doesn't show everything however when I go into Service State Information everything is there.

I wouldn't mind know what the actual character limit is for the Service Status Detail and if it can be increased but I will probably just leave things as they are

Thanks for your help guys
Attachments
host2.png
host1.png
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Status Information Length

Post by ssax »

Take a look in your /usr/local/nagios/var/status.dat file and look for the service, your first screenshot is likely putting in plugin_output AND long_plugin_output, your second screenshot is only meant to show the plugin_output because it's a summary page.

Please post what you have in your status.dat for that service.

Thank you
Pikmin
Posts: 82
Joined: Tue Feb 17, 2015 5:32 pm

Re: Status Information Length

Post by Pikmin »

Okay that does make sense Thanks

Code: Select all

 plugin_output=WARNING - [Triggered by _ItemCount>-] - 7 event(s) of Severity Level: "Error,Warning,Information", were recorded in the last 72 hours from the DFS Replication Event Log. (List is on next line. Fields shown are - Logfile:TimeGenerated:EventId:EventCode:SeverityLevel:Type:SourceName:Message)

Code: Select all

long_plugin_output=DFS Replication:20160518050054.000000-000:1073746828:5004:Information:DFSR:The DFS Replication service successfully established an inbound connection with partner XXXX for replication group XXXXXXXXXXXX.      Additional Information:   Connection Address Used: XXXXXXXXXX   Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A   Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0\nDFS Replication:20160518045829.000000-000:2147488662:5014:Warning:DFSR:The DFS Replication service is stopping communication with partner XXXXX for replication group XXXXXXXXXX due to an error. The service will retry the connection periodically.      Additional Information:   Error: 1722 (The RPC server is unavailable.)   Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A   Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0\nDFS Replication:20160518041736.000000-000:1073746828:5004:Information:DFSR:The DFS Replication service successfully established an inbound connection with partner XXXXXX for replication group XXXXXXXXXXXXXXXXXXXXX.      Additional Information:   Connection Address Used: XXXXXXXXXXXXXXXXXX  Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A   Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0\nDFS Replication:20160518041716.000000-000:3221230480:5008:Error:DFSR:The DFS Replication service failed to communicate with partner XXXXXXX for replication group XXXXXXXXXXXXXXXXXXX. This error can occur if the host is unreachable, or if the DFS Replication service is not running on the server.      Partner DNS Address: XXXXXXXXXXXXXXXXXXXXXXXXXXXX    Optional data if available:   Partner WINS Address: XXXXXXXXXX  Partner IP Address: XXXXXXXXXXXXXXXXXXXX      The service will retry the connection periodically.      Additional Information:   Error: 1722 (The RPC server is unavailable.)   Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A   Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0\nDFS Replication:20160518041428.000000-000:2147488662:5014:Warning:DFSR:The DFS Replication service is stopping communication with partner XXXXXX for replication group XXXXXXXXXXXX due to an error. The service will retry the connection periodically.      Additional Information:   Error: 1722 (The RPC server is unavailable.)   Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A   Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0\nDFS Replication:20160515225820.000000-000:1073746828:5004:Information:DFSR:The DFS Replication service successfully established an inbound connection with partner XXXXXXX for replication group XXXXXXXXXXXXXXXX.      Additional Information:   Connection Address Used: XXXXXXXXXXXXX   Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A   Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0\nDFS Replication:20160515225820.000000-000:2147488662:5014:Warning:DFSR:The DFS Replication service is stopping communication with partner XXXXXXX for replication group XXXXXXXXXXXX due to an error. The service will retry the connection periodically.      Additional Information:   Error: 1727 (The remote procedure call failed and did not execute.)   Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A   Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Status Information Length

Post by ssax »

Yep, that's the case, are we okay to lock the topic or do you have any other related questions?
Pikmin
Posts: 82
Joined: Tue Feb 17, 2015 5:32 pm

Re: Status Information Length

Post by Pikmin »

That's all thank you!
Locked