Blog

LibreNMS and check_http

You can add a service from the Services menu or you can go to devices and choose a device. We are going to add the HTTP service to monitor the status code, response time, and SSL certificate expiration. Choose your device and then click on Services which should be in between Inventory and Logs. Click Add Service and choose http for the type. Fill in the description you want. For IP address fill in the website address such as stupiderror.com. If your site redirects to www then fill in something like www.stupiderror.com. For the Parameters we are going to use -S -w 3 -c 5. The -S tells it to connect with ssl so it uses HTTPS instead of HTTP. The -w says to put the service in a Warning state if it takes 3 seconds or longer to respond. The -c option tells it to put the service in a Critical state if it takes 5 seconds or longer to respond.

To monitor the expiration of the certificate click on Add Service again. Choose HTTP for type. For IP address fill in your domain name, something like www.stupiderror.com. For Parameters we can do -C 30,14. This says the service is good when the certificate is valid for more than 30 days. If the certificate is valid for 15 to 30 then days then change the state to Warning and if it is valid for 14 or less days then change the state to Critical. If you click on Details you can see graphs for these metrics.

For more information on check_http check out the man page: https://www.monitoring-plugins.org/doc/man/check_http.html

 

Source https://www.stupiderror.com/add-nagios-plugins-to-librenms-and-setup-check_http/

 

Posted in: Blog

Leave a Comment (0) →

Send from domain IP addresses MailCleaner CBL

 

I have a customer that got listed on CBL using Mailcleaner.

I found this.

If you have mailservers relaying through your mailcleaner cluster, do not turn on “Mask IP address of relayed host on port 587” OR “Masquerade relayed HELO with sender domain” as you wil find yourself listed very quickly in the CBL.abuseat.org RBL, which is part of Spamhaus XBL, and hence can unleash a world of pain if you get listed.

Source http://forum.mailcleaner.org/viewtopic.php?t=2230

 

Posted in: Blog, Technical

Leave a Comment (0) →

Cisco IOS Port forward Range

Port forwarding on Cisco IOS devices can be a bit tricky but here is a easy way to do it.

192.168.59.10 is the server you want to port forward to. (You need to have this in twice for the NAT Pool)

ip nat pool POOL1 192.168.59.10 192.168.59.10 netmask 255.255.255.0 type rotary
ip nat inside destination list VOIP pool POOL1
!
ip access-list extended VOIP
permit tcp any any eq 5060
permit udp any any eq 5060
permit tcp any any range 10000 15000
permit udp any any range 10000 15000

Posted in: Blog

Leave a Comment (0) →

iPECS eMG80 Password Reset

iPECS eMG80 web admin password reset

To reset the user, admin or maintenance level password to the default values. This
procedure has been available since software A.0Fc. To complete this you must
connect directly to the Serial port on the eMG80. This is for security reasons that this
procedure needs to be performed on-site.
The serial settings on your HyperTerminal session should be 115300 Baud, 8 data
bits, no parity, 1 stop bit, no flow control.
1. Connect your PC’s serial port to the eMG80 serial port with an appropriate
serial cable or serial converter.
2. Start a Telnet session with the settings above.
3. Press enter – you should get a similar prompt:-
iPECS eMG80 System
Version MPB/AU86M-1.0Jc JAN/15
Checksum: 0
Dsp Version: 1.6(14/02/25),(A-law)
DATE: 01/27/15
TIME: 15:40:51
SITE NAME : Test PRI
You are on COM1
ENTER PASSWORD:
4. Type the password “jannie”, and press enter to access maint> mode,:-
ENTER PASSWORD: ******
5. To clear all admin and maintenance passwords, your only option, type:- ‘web
id reset’ and press enter:-
maint> web id reset
[0] Id[Maint] Level[10]=>[3] Reset!!!
Maint Level Reset end!!!
[0] Id[Maint] Pwd[*] Level[3:User] stn[0:0:0:0:0]
[1] Id[Admin] Pwd[*] Level[4:Admin] stn[0:0:0:0:0]
Display User Info end!!!
6. Finally exit the maintenance utility by typing:- x
maint> x
DATE: 1/27/15 TIME: 15:44:50
Exiting maintanence utility…

Earlier versions of <5.5 you could simply telnet into it via the MFIM IP, but this was a security issue, so its been restricted to serial only on 5.5+ system software.

The systems default IP address is 10.10.10.2 / 255.255.255.0 so your Ethernet card should be set to 10.10.10.254 to ensure correct connectivity.

The default username is “admin” with a password of “1234”

Posted in: Blog, Technical

Leave a Comment (0) →

ERROR Non Genuine Consumable

If you replace toner cartridges, image drums or other consumables with any non-genuine ones, “Unknown Consumable detected” appears and the device stops working.

To continue printing by using non-genuine consumables

When “Unknown Consumable detected” appears on the touch panel and the device stops working, you can follow the procedure below to switch to an operable state.

Note
Once you switch to an operable state, a log of having used non-genuine consumables will be recorded in the device.

1.Turn off the device.

2.Press and hold the [Clear] button to turn it on.

3.Once “RAM CHECK 100%” appears on the touch panel, release the [Clear] button.

Posted in: Blog, Technical

Leave a Comment (0) →

Yealink Click To Dial from Chrome

I have been playing around with this for a while and i have managed to get this going. This is really just notes for me but it may have you too.

Install Chrome C2D URL

Then under options fill out the IP address and username and password (admin and admin by default)

Dial http://$phoneUsername:$phonePassword@$phoneAddres/servlet?number=$number&outgoing_uri=%account%

Hangup:  http://$phoneUsername:$phonePassword@$phoneAddres/servlet?key=X

I’m working on this plugin to clean it up a bit and remove the status as its not needed for this phone.

Posted in: Blog, Technical

Leave a Comment (1) →

Xerox Service Mode

Press and hold the 0 key for 10 seconds then simultaneously press START.
You will then be asked to enter a code. Type “6789” and Enter.

That will put you into UI Diagnostics. This will work for both machines and all Xerox machines that use the Connect Key Software.

Most will take you directly into the diagnostics screen. Some models you will be required to do the following after entering the code:

Press the Machine Status button.
Select the Tools Tab.
Scroll down to Maintenance / Diagnostics.

Posted in: Blog, Scripts

Leave a Comment (0) →
Page 1 of 14 12345...»