Bandwidth on passive host
Re: Bandwidth on passive host
NRPE is there but isn't that an active service? Or will passive work for it?
Re: Bandwidth on passive host
Check_nrpe is active.
Which performance counters do you want to monitor?
Which performance counters do you want to monitor?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Bandwidth on passive host
Sending and receiving would be my go to choices.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Bandwidth on passive host
So using NSCA, you would need two passive services, one called "NIC Sent" and "NIC Received".
Then in your nsclient.ini file you would define something like:
Then in your nsclient.ini file you would define something like:
Code: Select all
[/settings/scheduler/schedules]
NIC Sent = CheckCounter 'Counter:Bytes Sent/sec=\Network Interface(Intel[R] PRO_1000 MT Network Connection)\Bytes Sent/Sec' ShowAll MaxWarn=786432000 MaxCrit=943718400
NIC Received = CheckCounter 'Counter:Bytes Received/sec=\Network Interface(Intel[R] PRO_1000 MT Network Connection)\Bytes Received/Sec' ShowAll MaxWarn=786432000 MaxCrit=943718400
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Bandwidth on passive host
Hey guys, sorry for the delay. Got hit by a truck while biking last week so not been able to do anything until today. I will jump on your suggestions right away.
Re: Bandwidth on passive host
Wow, sorry to hear that . Glad you're in good enough condition to come back to us though! Just let us know what happens.Jam1987 wrote:Hey guys, sorry for the delay. Got hit by a truck while biking last week so not been able to do anything until today. I will jump on your suggestions right away.
Former Nagios Employee.
me.
me.
Re: Bandwidth on passive host
Is there a module I have to enable on the NSClient++ for the data checking, I keep getting the following error:
Code: Select all
error:D:\source\nscp\modules\Scheduler\Scheduler.cpp:74: Exception in Failed to add target: NIC Received: unknown escape sequence
2015-08-24 11:15:37: error:D:\source\nscp\modules\Scheduler\Scheduler.cpp:74: Exception in Failed to add target: NIC Sent: unknown escape sequenc
Re: Bandwidth on passive host
You will have to edit the example that Box293 provided with the name of the Ethernet Interface that is installed on your Windows systems, you cannot use the example.
That could be why it is failing for you.
If you did change the interface name, can you post the settings?
That could be why it is failing for you.
If you did change the interface name, can you post the settings?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Bandwidth on passive host
I changed the interface in the settings, attached is my nsclient++ config file. I used the name given in the device manager on the Windows unit.tgriep wrote:You will have to edit the example that Box293 provided with the name of the Ethernet Interface that is installed on your Windows systems, you cannot use the example.
That could be why it is failing for you.
If you did change the interface name, can you post the settings?
- Attachments
-
- nsclient.ini
- (8.06 KiB) Downloaded 138 times
Re: Bandwidth on passive host
Try changing the 2 commands from
to
Save out the changes and restart the NSClient++ service.
I had some issues using the single quotes and spaces in the name so that is why I changed to double quotes and removed the spaces.
Also, I think it is using the Square Brackets [] around the R for the registered trademark in the name.
Code: Select all
NIC Sent = CheckCounter 'Counter:Bytes Sent/sec=\Network Interface(Intel(R) 82583V Gigabit Network Connection)\Bytes Sent/Sec' ShowAll MaxWarn=70000 MaxCrit=75000
NIC Received = CheckCounter 'Counter:Bytes Received/sec=\Network Interface(Intel(R) 82583V Gigabit Network Connection)\Bytes Received/Sec' ShowAll MaxWarn=70000 MaxCrit=75000
Code: Select all
NICSent = CheckCounter "Counter:Bytes Sent/Sec=\\Network Interface(Intel[R] 82583V Gigabit Network Connection)\\Bytes Sent/Sec" ShowAll MaxWarn=70000 MaxCrit=75000
NICReceived = CheckCounter "Counter:Bytes Received/Sec=\\Network Interface(Intel[R] 82583V Gigabit Network Connection)\\Bytes Received/Sec" ShowAll MaxWarn=70000 MaxCrit=75000
I had some issues using the single quotes and spaces in the name so that is why I changed to double quotes and removed the spaces.
Also, I think it is using the Square Brackets [] around the R for the registered trademark in the name.
Be sure to check out our Knowledgebase for helpful articles and solutions!